PFM

a file manager for Linux OS - version 0.3.2c


Why?

In the Linux system there exists a lot of good filemanagers, but I still missed an application similar to the Total (Windows) Commander.

So I have tried to create my own version and here is the first sample.
Thanks to the fact that the "Linux Commander" title was occupied and my fantasy had a holiday, I have created a very un-poetic name : PFM = Peter's File Manager...

History

2001/2002
Begining of the PFM life, looking for suitable properties and for development environment too.

2003
First presentation of the application, first announces.
I must named a great affect of Radek Cervinka who had given an interest about cooperation on the application. He looked sources and gave a lot of comments. Thanks him for it and for a great lections about pascal object programming too.
He also recommended rewrite the application and this recommendation made fast the step I still put off and I started with the work.
Because the development didn't continued very fast, after cca 1 month we agree on create the paralel branch : the Sexi Commander.

2004
New version 0.3.X is out.

Short Description

PFM is a simple linux file manager similar to the Total Commander by its appearance and behaviour. I was inspired with others linux commanders too - namely with the Worker and the MC and I have tried to add properties that I need as an user.
At present time you can do e.g.:

Application is programmed in the Kylix 3 Open Edition environment.

The Englis is used as the default language (I'm apologize for mistakes, but I need to learn it finally), but the localisation is very simple - you must only translate the text file with application messages.

Now there are accessible localisations to the:
The application is still in beta state, so please take attention to the this fact - its behaviour may be a little unpredictable sometimes.

If you want, you can try it, but it is your own resposibility.

Licence

GNU GPL, v 2.0 and later.
The licence text is included as the COPYING file.

Screenshots

Main Window (icewm)

main window

HotDirs Menu

HotDir menu



File Attributes

attributes
Multi Rename

multirename
Language Selection

language
Layout

vzhled
Pop Up menu

pop up menu

System Requirements

I use the application on my old PC :

Download

The last version is 0.3.2c (2004/02/03).
You can see the changelog for the last version.
You can download binary files as standart installation pack (of course, without Kylix 3 libraries), as adition there are archives with language files, configuration files example and of course source files.

Important note:
the new PFM version 0.3.X is different from 0.2.X for some settings to make installation and configuration easier:
Kylix 3
application is now developed under Kyli3 environment (difference from version PFM 0.2.X and Kylix 2) so you will probably need to download new runtime libraries.


different directory structure
the configuration and language files are placed in subdirectories in main application directory - it is different from previous version which has all files in every user home directory.


language files
are located in main app. directory in subdirectory "languages" and are common for all users.


configuration files
are located in main app. directory in subdirectory "cfg"

directory structure may be now similar to this:

/opt/pfm : main application directory
/opt/pfm/cfg : common configuration files
/opt/pfm/doc : PFM documentation
/opt/pfm/languages : language files


unified configuration for files opening, editing and runing
files "pfm.edit" and "pfm.view" was merged into new file "pfm.ext" with new structure. It is now similar to the configuration used by Midnight's Commander.


user configuration
in the user's configuration directory (namely "~/.pfm") are commonly located files "pfm.ini" and "pfm.hist" only. The other files (pfm.ext, pfm.paths, pfm.btn, pfm.popup) can be located into "cfg" subdirectory in main application directory (to be common for all users) or can be placed into user configuration directory for individual setting.

Installation

  1. download and install runtime libraries for Kylix 3 (cca 2,6 MB).

    The package unpack to some directory from the /etc/ld.so.conf file (e.g. /lib) and then type in the terminal window the command ldconfig and press the Enter key.

    This point you can skip ONLY if you have the Kylix 3 environment or libraries yet installed. Otherwise you probably will not be able to run PFM.


    Note (not checked):
    Teoretically is possible to run Kylix application without his libraries if you have the standart Qt installed (e.g. Qt 2.3.2) an use this setting:

    $export CLX_USE_LIBQT=1

    Try to look for documentation at:
    Deploying Kylix 3 Applications
    Kylix Deployment Notes for "Hello World"

  2. download compiled binary (look to the "Download" section) archive and unpacki it. In archive is basic application structure prepared to using.

    Now you can use the "pfm" or the "pfm.sh" command for program start. The best is place PFM directory to the your PATH variable.

    The "pfm" file is the application, the "pfm.sh" file is the script for starting without the initialization Kylix window.

After application firt time finishing, the subdirectory ".pfm" is created in the user home directory. It is the place for PFM configuration file and command line history.


For your inspiration you can separately download package with configuration files sample (pfm.view, pfm.edit, pfm.popup and pfm.btn). These files can be placed into "cfg" subdirectory in main application directory (for global configuration) or into user PFM directory (~/.pfm) for personal setting.

If you want to use a localised version, you can use language files (included in binary package or as extra package "languages.tgz").
Files must be located in application "languages" subdirectory and are common for all users. The language you want you can select in the configuration dialog. Of course, range is very limited now (except english the czech and slovak only) but you can help me with translation.

If you are interested to application anatomy, simple download source archive, unpack it and then send me your comments and suggestions.

Configuration

Variable configuration files are placed in the .pfm subdirectory in your home directory and in main application directory in various subdirectories. In some cases there is possible to use a symbols in files. At time of need these will be replaced with required value, e.g.:
{F} will be replaced with actual file full path name
{D} or {T} means source or target directory name
{refresh} - refresh source panel after operation done
...
Details you can found in configuration example files.

A simple description of theses files :

pfm.ini
Main user configuration file, automatically created.
Internal format is classical INI file.

pfm.btn
Global or local Button Panel configuration file (e.g. for fast access to the often used applications etc.).

File format : icon = application ; e.g.:

/usr/share/icons/mini/xcalc_16x16.xpm = xcalc

pfm.ext
Global or personal configuration file for items opening (click with mouse or ENTER key press), for editation (F4 key) and view (F3). Its structure is similar to the MC configuration file.

File format:

.extensions|.files|.list

    Open=command_for_opening
    Edit=command_for_editation
    View=command_for_view

pfm.hist
Command line history file; automatically created.

pfm.paths
Global or local list of paths to be showed in the Paths Button Panel; you can use a system variables (HOME etc.) .

File format : button text = path to be set, e.g.:

/etc = /etc
CD = /mnt/cdrom
HOME = HOME


pfm.popup
The PopUp Menu configuration file - e.g. for the special operation with the selected items (menu will be showed after Right Mouse Button click on selected item). File can be global or local.

File format : description = command , e.g.:

Run in terminal window = xterm -e {F}
UNZIP to the target dir. = xterm -e unzip {F} -d {T} {trefresh}
Mount CDROM = eject -t &&mount /mnt/cdrom {goto /mnt/cdrom}


pfm_XX.lng
Appliction language files; are located in subdirectory "languages" in main application directory.

ToDo

I would like to continue in the application development. Some ideas for future work are:

Links

I have tried a lot of filemanagers before; some of them are:

Contact

Suggestions and ideas you can send to: Peter Cernoch,   pcernoch (at) volny.cz

If you want to be informed about PFM new versions and updates, send E-mail with subject "PFM-eng-info" to:   pfm (at) pcernoch.wz.cz


Your can send the response right now:

Your E-mail:
Comment:    


Updated: 2004/02/04,   © 2004 Peter Cernoch