|PCMan File Manager|
|Developer||Hong Jen Yee (PCMan)|
|Latest version||1.1.2 (from 12 August 2013)|
|License||GNU General Public License|
PCMan File Manager (PCManFM) is a file manager application developed by Hong Jen Yee from Taiwan which is meant to be a replacement for Nautilus, Konqueror and Thunar. Released under the GNU General Public License, PCManFM is free software. PCManFM is the standard file manager in LXDE, which is also developed by the same author in conjunction with other developers.
PCManFM is intended to follow the specifications given by Freedesktop.org for interoperability in free software.
- 1 Features
- 2 Issues
- 3 Get and Compile the Source Code
- 4 Setup
- 5 How view settings change in one PCManFM window affects other PCManFM windows
- 5.1 Settings that are always the same for new created windows
- 5.2 Settings that affect current and initial setting for each new window created after change was made
- 5.3 Settings that affect initial setting for each new window created after some window was closed
- 5.4 Settings that affect current as well as any other opened window immediately
- 6 Tips and Tricks
- 7 Run as root
- 8 Known GTK issues
- 9 Bug reports, patch submissions or feature requests
- 10 See also
- 11 External Links
PCManFM's features include:
- Full gvfs support with seamless access to remote filesystems (Able to handle sftp://, webdav://, smb://, ...etc when related backends of gvfs are installed.)
- Thumbnails for pictures (default only for local pictures) with optional EXIF support
- Desktop management - shows wallpaper and desktop icons, with possibility to have different wallpapers on each desktop
- Bookmarks - saved places. You can see them in the left panel of PCManFM. Visible from other Gtk+ applications.
- Multilingual (translated in several languages)
- Can be started in one second on normal machine
- Tabbed windows (similar to Firefox tabs)
- Volume management (mount/unmount/eject, requires gvfs) with optional automounting
- Drag & Drop support
- Files can be dragged among tabs
- File association support (e.g. default application to open)
- Provides icon view, compact view, detailed list view and thumbnail view.
- Standard compliant (follows the FreeDesktop.org guidelines)
- Clean and user-friendly interface (GTK+ 2)
- Trash can support
- Applications menu virtual folder
- File system advanced search
Since 2010, PCManFM has undergone a complete rewrite from scratch. So the new PCManFM is totally different from the old 0.5.x series. Build instructions, the ways to setup, and configuration files are different, too.
Get and Compile the Source Code
Please, refer to the complete build and setup guide for PCManFM/libfm.
If your desktop displays the files of your /home/ and not the files on your real Desktop path, you probably do not have an established path "Desktop". To fix this please do the following:
- mkdir ~/Desktop
- nano ~/.config/user-dirs.dirs
- change XDG_DESKTOP_DIR="$HOME" to XDG_DESKTOP_DIR="$HOME/Desktop"
- and restart your LXDE session (log out and log in).
If you start PCManFM with the option "--desktop", it will allow PCManFM to set wallpapers and enable the use of desktop icons. However desktop links are not totally obvious. Here are some hints.
- Create desktop icons with the GUI
lxshortcut -i ~/Desktop/myapplication.desktop
- Manually create desktop icons
Open the files with editor to see how they work:
- Look at the examples here: /usr/share/applications
- A typical file name is like this one: leafpad.desktop The file name won't show up on pcmanfm but name stated inside the file instead.
- Other Hints
- Copy files from /usr/share/applications to your ~/Desktop folder.
- Make your own desktop links by following the examples above and put them in your ~/Desktop folder.
- The same .desktop files are used for the buttons in the lxpanel.
If you use PCManFM to manage your desktop, you may want to have an icon for the trashcan, too. This doesn't work out of the box, but fortunately PCManFM supports it. To add a working trashcan symbol to your desktop, simply follow these steps (credits to ronniew):
- Right click on a free place on your desktop and create a new file by using the context menu and use "Trash" at it's name
- Edit the new file with leafpad or any other text editor and enter the following text:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Name=Check Trash Comment=Browser Exec=pcmanfm trash:/// Terminal=false X-MultipleArgs=false Type=Application Icon=gnome-stock-trash.svg Categories=Application;Desktop;Filemanager MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png; StartupWMClass=Pcmanfm StartupNotify=true
- Save the newly edited file and close leafpad. That's it.
How view settings change in one PCManFM window affects other PCManFM windows
Settings that are always the same for new created windows
|The setting||Initial value|
|Dual Pane Mode||Disabled|
|View Mode||Set from Preferences|
|Files Filter||Show all|
Settings that affect current and initial setting for each new window created after change was made
- Side bar mode
- Path bar mode
- Sort settings
- Hidden files visibility
Settings that affect initial setting for each new window created after some window was closed
- Window size
- Window maximized state
Settings that affect current as well as any other opened window immediately
- Toolbar layout
- Status bar visibility
- Size of icons
- Preferences settings except Default View Mode
Tips and Tricks
- Next keyboard actions will work on folder in the current tab even if keyboard focus is on Sidebar or Toolbar buttons:
- Selected File Properties
- Context menu for selection
- Next keyboard actions will work depending on keyboard focus:
- Cut selected into clipboard
- Copy selected into clipboard
- Paste clipboard content
- Delete selected
- Select all
- All other keys mentioned in main menu work always on folder in the current tab.
- Context menu for folder selection can be called by pressing standard context menu keys ('Menu', or 'Shift' + 'F10'). In versions 1.1.x it can be done by pressing 'Shift' + 'Menu' instead.
- Pressing 'Ctrl' + 'Menu' when folder view is focused calls context menu for folder itself. In versions 1.1.x it can be done by pressing 'Menu' instead.
- You can select few files by pressing cursor keys while holding 'Shift'.
- You can toggle selection of focused file by pressing 'Ctrl' + space.
- A properties window for the selected file can be called by pressing 'Alt' + 'Enter'.
- When keyboard focus is in Path Entry, key 'Tab' does completion and never leave the entry.
- Pressing 'Enter' in Path Entry will change keyboard focus onto folder in current tab.
- Pressing 'Shift' + 'Tab' in Path Entry will change keyboard focus onto Sidebar.
- View mode (icons, list, etc.) for current tab can be changed in main menu. Unlike to other changes, this one does not affect other tabs and not remembered for further usage. To change view mode for all new tabs and windows use the setting in the Preferences window.
Run as root
You can use Desktop file specification extension (DES-EMA) to add support for opening some folder as root. Example of the desktop entry that implements such feature in file and folder context menus:
[Desktop Entry] Name = Open as Root Tooltip = Open the folder as root Icon = terminal Profiles = on_folder; [X-Action-Profile on_folder] Name = Open as Root MimeTypes = inode/directory; SelectionCount = 1 Exec = gksudo pcmanfm %s
You can replace gksudo above with another application that gives you root privileges in dependence which one do you have in your system, such as gksu (Debian Sqeeze) or beesu (Fedora Core).
You can replace pcmanfm above too, with pcmanfm-qt for example.
That file should be put into the directory ~/.local/share/file-manager/actions to take effect.
PCManFM versions 0.4 thru 1.1 had the option in main menu: "Tools" > "Open Current Folder as Root", but now it is removed due to security considerations.
Known GTK issues
- Non-mountable entries in /etc/fstab may cause 100% CPU load on mount attempt. The bug is reported to GNOME. Workaround: disable option 'Mount mountable volumes automatically on program startup' in Preferences or (better) remove those devices from /etc/fstab.
Bug reports, patch submissions or feature requests
- Tracker: http://sourceforge.net/tracker/?group_id=156956
- Bugtracker: http://sourceforge.net/tracker/?group_id=156956&atid=801864