IgnorantGuru's Blog

Linux software, news, and tips

PCManFM-Mod

«Downloads

ANNOUNCEMENT 2012-01-15: The next generation of PCManFM-Mod is called SpaceFM. Except for possible bugfixes, v1.2.4 is the final release of PCManFM-Mod. All further development will be in the SpaceFM project. Read more about SpaceFM

 

 

PCManFM-Mod

Download Links:
Source: download tarballBuild Instructions
Packages: Debian/Ubuntu PackagesPPA
Arch Linux Packages
Check Signatures: SHA256SUMS
Included: PCManFM-Mod is already included in these distros or distro repositories:
Parted Magic (default file manager)
PocketWriterOS/nFluxOS (included)
Slackware Current Mini & Rescue (included)
Salix OS
Tiny Core Linux
Description: A modified version of the legacy PCMan File Manager v0.5.2
Recommended For: Linux
Tested On: Aptosid (Debian); Ubuntu; Debian; Slackware; Slackware Current Mini & Rescue (included); Arch Linux; Crunchbang; Fedora; openSUSE; PocketWriterOS/nFluxOS (included); Tiny Core Linux; Parted Magic (included)
Current Version: 1.2.4    (What’s New?)
Requires: dbus, desktop-file-utils, gamin | fam, libc6, libcairo2, libdbus-1-3, libfam0, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk2.0-0, libpango1.0-0, libstartup-notification0, libx11-6, shared-mime-info
Optional: hal, gnome-icon-theme, ktsuss, gksu
Related: repic permz xtract devmon mountiso
License: GNU GPL v2     * SEE DISCLAIMER *
Bugs/Requests: Sourceforge Tracker

Contents

 

Composite Screenshot of PCManFM-Mod


       * how to interpret the Stats line

 

Overview

PCManFM-Mod adds user-definable commands, other features, and important bugfixes to the legacy version of the PCManFM file manager v0.5.2. This version installs as “pcmanfm-mod” and will run independently of other versions of PCManFM you have installed on your system. This legacy version is still desired by some due to more stability than the newer 0.9 rewrite in progress, less Gnome dependencies, and the optional use of HAL rather than gnome-vfs for mounting.

PCManFM v0.5.2 has no user-definable functions. This mod adds five user-definable commands to the right-click and Tools menus (and keys F4, F6-F9). The menu names, icons, and commands are derived from .desktop files. When run, all selected files are passed to the command. In this way, you can easily modify the command names, functions, and icons, and have them run custom applications or scripts. For instructions, see the USAGE NOTES in the README. User command examples are also available below.

This mod also adds many other features and addresses several serious bugs detailed in the README below.

 

Installation

Tip: Since HAL is no longer used in newer distros, most users will want a -nohal package below or to build manually without HAL support per the README. For automounting drives, devmon works well with PCManFM-Mod.

 

Debian/Ubuntu Packages

The following packages are provided, which are also available via the PPA repository:

NOTE: If you install using a deb file and don’t use the PPA, please be sure to authenticate your download.

Ubuntu 11.04 Natty Narwhal users will generally want to use a ‘nohal’ package. PCManFM-Mod built without HAL support means that HAL is not required, but pcmanfm-mod’s built-in volume management support will be disabled (you won’t be able to mount and unmount volumes within pcmanfm-mod, and volumes will not appear in the location side pane). You can use an automounting solution instead, such as devmon. Some prefer PCManFM-Mod without HAL either because they don’t have HAL installed (newer Ubuntu versions, etc), or because they don’t want the mounting features enabled.
 

Arch Linux Packages

There are also three automated AUR packages for Arch Linux:

  • pcmanfm-mod installs without conflicts with other versions of pcmanfm
  • pcmanfm-mod-prov provides pcmanfm but conflicts with other versions of pcmanfm (as far as Pacman is concerned) (for LXDE users who want pcmanfm-mod to manage their desktop).
  • pcmanfm-mod-nohal is like the pcmanfm-mod package, but built without HAL support and dependencies. With this package, you don’t need hal installed or running, but pcmanfm-mod’s built-in volume management support will be disabled (you won’t be able to mount and unmount volumes within pcmanfm-mod, and volumes will not appear in the location side pane).

 

Manual Build Instructions

For other distros, PCManFM-Mod is generally very easy to build manually. Please see the BUILD INSTRUCTIONS in the README file below.

 

README

README for PCManFM-Mod v1.2.4
    (A modified version of the legacy PCMan File Manager v0.5.2)

For updates and instructions visit:
    
PCManFM-Mod
FINAL RELEASE NOTICE: Except for possible bugfixes, v1.2.4 is the last planned release of pcmanfm-mod. All further development of this fork will take place in the SpaceFM project: http://spacefm.sourceforge.net/ CONTENTS: DESCRIPTION INSTALLATION BUILD INSTRUCTIONS MANUAL UN-INSTALL INSTRUCTIONS BUILD DEBIAN PACKAGING INSTRUCTIONS INCLUDED FILES USAGE NOTES KNOWN ISSUES MODIFICATIONS CHANGELOG FOR PCMANFM-MOD DESCRIPTION: PCManFM-Mod is a minor fork of the legacy version of PCManFM 0.5.2, which uses HAL for mounting (optional) and has minimal Gnome dependencies (compared with the newer PCManFM version 0.9 which uses gnome-vfs). This modified legacy version adds user-definable commands and other features and also includes a number of bugfixes as fully detailed in the MODIFICATIONS section below. PCManFM-Mod installs as /usr/bin/pcmanfm-mod and uses ~/.config/pcmanfm-mod/ as its config folder, thus making it run independently of other versions of pcmanfm. INSTALLATION: For Debian and Ubuntu, deb files and a PPA package repository are available at https://igurublog.wordpress.com/downloads/mod-pcmanfm/ For Arch Linux, AUR packages are available- pcmanfm-mod or pcmanfm-mod-prov For other distros or for custom build options, follow the BUILD INSTRUCTIONS below. BUILD INSTRUCTIONS: 1) Install required build dependencies. On Debian/Ubuntu: apt-get install build-essential debhelper autotools-dev dbus \ desktop-file-utils fam libc6 libcairo2 libdbus-1-3 libfam0 \ libglib2.0-0 libgtk2.0-0 libpango1.0-0 libstartup-notification0 \ libx11-6 shared-mime-info intltool pkg-config libfam-dev \ libgtk2.0-dev libglib2.0-dev fakeroot libstartup-notification0-dev \ libdbus-1-dev \ hal libhal-dev libhal-storage-dev libdbus-glib-1-dev libhal-storage1 \ libhal1, libdbus-glib-1-2 Also Recommended: ktsuss gksu gnome-icon-theme On Arch Linux: pacman -S base base-devel desktop-file-utils gamin gtk2 hal \ shared-mime-info startup-notification intltool gettext Also Recommended: gksu gnome-icon-theme NOTE: gamin can be used instead of fam. Other Linux distributions will have similar named libraries. configure will report anything missing when you run it as shown below. 2) Extract tarball and enter directory. The following commands will build and install as "/usr/bin/pcmanfm-mod": ./configure --prefix=/usr make sudo make install sudo install -c -m 755 pcmanfm-opener /usr/bin sudo update-mime-database /usr/share/mime > /dev/null sudo update-desktop-database -q NOTE: If configure reports missing dependencies, install them and run configure again before proceeding to make. NOTE: If hal support is not needed (pcmanfm-mod won't be able to mount and unmount volumes), add --disable-hal to the configure command above. NOTE: The su program used by pcmanfm-mod will be ktsuss, gksudo, gksu, or kdesu. Optional: To set your preference (in this example to gksudo) add --with-preferable-sudo=gksudo to the configure command above. 3) LXDE USERS ONLY If you want LXDE to use pcmanfm-mod for desktop management, you can remove pcmanfm and: sudo ln -s /usr/bin/pcmanfm-mod /usr/bin/pcmanfm Or see the /etc/xdg/lxsession/ and ~/.config/lxsession/ config files to control pcmanfm(-mod) startup and desktop management. For additional information consult the README-LEGACY and INSTALL files. MANUAL UN-INSTALL INSTRUCTIONS: 1) As root: rm /usr/bin/pcmanfm-mod rm /usr/bin/pcmanfm-opener rm -r /usr/share/pcmanfm-mod rm /usr/share/pixmaps/pcmanfm-mod.png rm /usr/share/pixmaps/pcmanfm-mod-root.png rm /usr/share/mime/packages/libmimetype.xml rm /usr/share/locale/*/LC_MESSAGES/pcmanfm-mod.mo rm /usr/share/applications/pcmanfm-mod*.desktop rm /usr/share/applications/pcmanfm-user*.desktop update-mime-database /usr/share/mime > /dev/null update-desktop-database -q 2) Optional: To remove pcmanfm-mod user configurations: rm -r /home/*/.config/pcmanfm-mod OR rm -r $XDG_CONFIG_HOME/pcmanfm-mod # run for each user DEBIAN PACKAGING INSTRUCTIONS: To build a deb file of pcmanfm-mod: 1) Install build dependencies (see BUILD INSTRUCTIONS above). 2) Extract tarball and enter directory. 3) IF hal support is NOT desired: cp debian/control-nohal debian/control cp debian/rules-nohal debian/rules 4) Build package: dpkg-buildpackage The package files will appear in the parent directory. INCLUDED FILES: README this file README-LEGACY Original README from PCManFM 0.5.2 0.5.2 source and make files modified source files of PCManFM 0.5.2 (search for "//MOD" to see changes) pcmanfm-opener a script to open all files passed to it data/pcmanfm-mod*.desktop desktop files for the PCManFM-Mod program data/pcmanfm-user-f*.desktop desktop files for user commands data/pcmanfm-mod.png program icon data/pcmanfm-mod-root.png program icon when run as root debian/ debian packaging control files USAGE NOTES: *** Custom Commands *** /usr/bin/pcmanfm-opener is an example script to open all files passed to it - by default this is assigned to F4. Functions F6-F9 also run the same command until you customize them. The default pcmanfm-opener script mostly uses xdg-open to open files - modify this script to use your favorite apps. USE BY THE ROOT USER IS DISABLED BY DEFAULT (edit the script to adjust this). To change the name and command for User Command F6, copy the file /usr/share/applications/pcmanfm-user-f6.desktop to ~/.local/share/applications/ Edit this file and add your desired command to "Exec=" (do not use %F or %U, just the command name). This can be a custom script or an application. Edit "Name=" to the command name as you want it to appear on the right-click menu. Use underscore for shortcut keys (for example, "User Co_mmand"). "Icon=" may be added if desired. Other commands are modified with the same method - there is one desktop file for each. Don't change the filenames of these .desktop files or they won't work. *** Config File *** PCManFM-Mod recognizes additional settings in the [General] section of the "main" config file: home_folder=FOLDER Changes your default home folder (for the Go|Home and toolbar commands) no_execute=1 Makes double-clicking on an executable NOT run it no_confirm=1 Causes no confirmation dialog when deleting files (use this with caution as there is no trash can) For example, with all PCManFM-Mod windows and daemons closed, edit the file ~/.config/pcmanfm-mod/main (or main.lxde if using LXDE): [General] ... home_folder=/media no_execute=1 no_confirm=1 *** Hide Files *** To hide a folder's files from view in PCManFM-Mod, create a text file in the folder named '.hidden' List files to be hidden in this file, one per line (file name only, not the path). For example, to hide a file: echo "hidethisexample.txt" >> .hidden This can be done automatically using the File|Hide File menu option. To unhide a file, edit .hidden and remove the entry. After changes are made, select View|Refresh. KNOWN ISSUES: * The Run In Terminal mod command may not work with all terminals (choose your terminal in Edit|Preferences|Advanced). The terminal must accept the -e argument unquoted. These terminals are known to work: roxterm, aterm, konsole, xterm, Eterm, lxterminal*, gnome-terminal*. * Note that when using lxterminal and gnome-terminal, you cannot use single quotation marks (') in the command. MODIFICATIONS: PCManFM-Mod is identical to legacy PCManFM v0.5.2 except for the following changes: * Adds five user-definable commands to the right-click and Tools menus (keys F4, F6-F9). The menu item names, icons, and commands are derived from .desktop files. When run, all selected files are passed to the command. (see NOTES below) * An example opener script is included as the default F4 user command, which opens all selected files. (see NOTES below) * A "Run Command..." (Ctrl-R) has been added to the Tools and right-click menus. This allows the user to run an arbitrary command line, include %F to insert all selected files into the command, and optionally run the command in a terminal to see the output. * Files can now be dragged and dropped into the Directory Tree side pane * A selection history has been added to remember selected files in prior folders * The Copy/Move dialog, widened and cleaned up, now shows file count, transfer size, current and average speeds, time remaining * A "Paste as Link" (Ctrl-Shift-V) command has been added to the Edit and right-click menus to paste links to files on the clipboard * A "Paste as Target" (Alt-Shift-V) command has been added to the Edit and right-click menus to paste the targets of links on the clipboard * A "Copy as Text" (Ctrl-Shift-C) command has been added to the Edit and right-click menus to copy quoted filenames to the clipboard for pasting into a terminal * A "Copy Name" (Alt-Shift-C) command has been added to the Edit and right-click menus to copy filenames to the clipboard (without path) * When a single file is selected, the filename is displayed in the status bar (for long filenames). If a symlink is selected, its target and target's size are displayed in the status bar * Compress and Extract now support tar.xz * Sticky bit is displayed in the Permissions field * IEC binary units now display as KB/MB/GB/TB instead of KiB/MiB/GiB/TiB, and IEC binary units are now the default (may be changed in Preferences) * Support added for Nautilus-style .hidden file to hide files, and added File|Hide File menu option * The Paste items on the content menu are now disabled if the clipboard does not contain a pastable file list * The Paste and Create items now appear on the context menu even if the cursor is over a file * Configuration is stored in $XDG_CONFIG_HOME/pcmanfm-mod/ * The default home folder can be set in the main config file (see USAGE NOTES above) * "no_execute" can be set in the main config file to prevent launching of executables by clicking (see USAGE NOTES above) * "no_confirm" can be set in the main config file to delete files without a confirmation dialog (see USAGE NOTES above) * ktsuss is now a supported su program, and is the default (can be changed) * A different program icon (taken from Tango) is used, and a red folder program icon is used when in super user mode * The Go|Home key is changed from Alt-Home to Escape * The Open Terminal key is changed from F4 to Ctrl-S * Tools|Open Terminal now opens only current folder instead of selected * The default button on the delete dialog is changed to Yes * When enter is pressed in the Rename/Overwrite dialog, rename is assumed * Ctrl-F is assigned to Create New Folder instead of search (pressing any normal key still initiates a search), and Ctrl-Shift-F has been added for Create New File * The F5 Refresh function has been improved * .desktop files display their actual filenames rather than name, except in the user's Desktop folder * File list is given focus when a dir is entered or a new tab added * When a new file/folder is created in Detailed view mode, it is given focus * Middle-clicking on a tab will close it * Copying and pasting a single folder into its own parent now asks for a new name rather than attempting to copy the folder into itself. Pasting a folder into a selected folder no longer works. * Link creation (Paste or drag methods) can now generate overwrite/rename query instead of "File Exists" error * Accepts --desktop-pref, --profile, and --desktop for compatibility with PCManFM 0.9 * Bugfix: A serious bug which caused the target of a link to be overwritten rather than the link itself has been corrected * Bugfix: A bug which caused the target names of copied links to be mangled been corrected * Bugfix: A bug which caused a link's target's file permissions to change when the link was copied has been corrected * Bugfix: Right-clicking on a dangling sym-link now displays menu * Bugfix: Find Files now displays all results * Bugfix: Find Files 'Search in Sub Directories' now obeyed * Bugfix: Invalid cross-device link error fixed * Bugfix: Context menu write permissions are now based on directory write permission instead of one selected file; symlinks not erroneously followed for write permission to symlinks * Bugfix: A bug which prevented opening multiple folders on the pcmanfm command line has been corrected * Bugfix: Fixed error message on create new folder cancel * Bugfix: Default save folder for the Compress function is corrected * Bugfix: Links to broken links may now be created * Bugfix: Fixed POTFILES.in to correct error on make check * Bugfix: Fixed syntax errors in ca.po to prevent make error * Bug Workaround: A bug in GTK 2.20 which prevents double-clicking should not affect pcmanfm-mod 0.9.6 and later See http://bugzilla.gnome.org/show_bug.cgi?id=612802 CHANGELOG FOR PCMANFM-MOD: 1.2.4 (final): fixed find files bug (size greater than 1 not honored) fixed Copy As Text not handling filenames containing apostrophes remove virtual My Documents icon from desktop rename libmimetype.xml to pcmanfm-mod-mime.xml to prevent collisions 1.2.3: fixed POTFILES.in to correct error on make check added debian packaging control files 1.2.2: corrected keyboard nav problem (cursor not set when restoring previous selection) in Icon and Compact List view modes 1.2.1: added selection history (pkt-file-browser) corrected dir tree side pane scroll problem from gtk change (ptk-dir-tree) added File|Hide File to update .hidden (vfs-dir) new tab opens in custom home folder if configured (main-window) added Ctrl-Shift-F key shortcut for create new file status bar now shows selected file name removed config file su_cmd= option introduced in 1.1.2 made ktsuss default su command Tools|Open Terminal now opens only current folder instead of selected 0.5.2 bugfix: copy link changed link target permissions (vfs-file-task) 1.2.0: copy/move progress dialog count, size, speed added .hidden support fixed find files bug not displaying all results fixed find files recursive bug fixed invalid cross-device link error improved View|Refresh function - update model twice adjustments to status bar 1.1.3: workaround for root user roxterm dbus error added --desktop, --profile, and --desktop-pref for compat with 0.9 1.1.2: no_execute will now execute if Execute is selected from the context menu no_confirm added DSO patch for Fedora applied su_cmd added ktsuss now supported progress dialog simplified IEC binary units now show KB/MB/GB/TB; SI show kB/MB/GB/TB IEC binary units now default 1.1.1: copy/move/delete progress dialog widened to 700 added Copy Name (Alt-Shift-C) to Edit and context menus Paste and Create now always shown in context menu Paste items in context menu now insensitive if invalid clipboard 1.1.0: makefiles changed to build and install as "pcmanfm-mod" AUR package updated - installs as pcmanfm-mod, provides pcmanfm uses $XDG_CONFIG_HOME/pcmanfm-mod/ as config folder - imports from pcmanfm if missing Compress and Extract functions now support tar.xz Default save folder of Compress function now working folder (bugfix) program icons (normal and root user) changed refresh function improved middle-click on tab now closes it Create new file/folder in detailed list view now focuses new file (same behavior as icon view) File list given focus after create new file/folder (all views) 1.0.4: corrected compress/extract appearance in context menu 1.0.3: fixed error on drag to link in directory tree 1.0.2: added drag and drop to directory tree added Copy as Text (Ctrl-Shift-C) to Edit and context menus added Paste as Link and Paste as Target to context menu icons for user commands now displayed in context menu changed Run Command %U to %F (%U still works) home_folder used on home activate source tarball now bzip2 1.0.1: added "Edit|Paste as Target" (Alt-Shift-V) to paste targets fixed overwrite of link target context menu write permissions derive from current directory permissions instead of one selected file; no longer derived from resolved symlink target links to broken links may now be created link creation can now generate overwrite/rename query instead of "File Exists" error terminated buffer on link copy to prevent mangled target names AUR PKGBUILD now prefers gamin over fam 1.0.0: permissions now show sticky bit added keyboard shortcut Ctrl-S for Open Terminal unassigned user commands not shown in menus Refresh function now reloads even if busy 0.9.6: removed use of exo_noop_false to workaround GTK 2.20 bug .desktop files in Desktop folder now display app name removed confusing error message from installmod script corrected "// MOD" to "//MOD" in ptk-file-browser.c added version number to About dialog 0.9.5: changed Tools menu "Open Terminal" to "Open _Terminal" added special Run In Terminal for lxterminal and gnome-terminal (these require -e argument quoted) 0.9.4: removed diagnostic error pop-up in bookmark function added "Edit|Paste as Link" (Ctrl-Shift-V) to paste links added link target and target size in status bar added home_folder in main config file for Go|Home added no_execute in main config file to stop execution changed program icon for root user mode to folder-saved-search 0.9.3: removed diagnostic premature return that prevented right-click 'open with' menu from displaying (ptk-file-menu.c) 0.9.2: modified About dialog to indicate it is a modified version .desktop files display their actual filenames instead of name focus in file list after change directory and new tab Go|Home now Escape key instead of Alt-Home right-click on dangling symlink now displays popup menu copy/paste folder prompts for new name; no paste to selected rewrote str_replace used by Run Command without static buffer Run and Run In Terminal now have alt shortcut keys R & T Run In Terminal now terminates with open bash shell restored Open In Terminal to Tools and right-click menus installmod script now won't overwrite existing .desktop files or /usr/bin/pcmanfm-opener 0.9.1: fixed syntax errors in ca.po to prevent make error changed default button on delete dialog to Yes fixed error message on create new folder cancel improved F5 Refresh function added user commands and Run Command to right-click menu reorganized Tools menu fixed multiple instance -t opening of tabs added enter callback signal on rename/overwrite dialog Changed crtl-f to Create New Folder added uninstall instructions to README changed opener script - old script will not work correctly added desktop files for user commands and pcmanfm-mod 0.9.0: added user commands to Tools menu, keys F4, F6-F9 fixed bug when opening multiple folders on command line See also: README-LEGACY

 
Forum Discussion: Arch Forums: PCManFM Mod – User-Definable Functions

 

Example: Resize Selected Pics

This example uses repic to resize all selected files (repic must be installed before doing the following).

Copy the file /usr/share/applications/pcmanfm-user-f6.desktop to ~/.local/share/applications/. Then load the copy into your editor and change it so that it runs repic as follows:

[Desktop Entry]
Name=Resize Pics
Exec=repic --interopt --intersize
StartupNotify=false
Terminal=false
NoDisplay=true

Now when you right-click on a file or files in PCManFM-Mod, the Resize Pics command will appear. Selecting this command will start repic, which will ask you for the desired size to resize to, and other options. In this way you can resize a group of pics to any size, add them to an email, and control the specifics of how repic will handle the images.

 

Example: permz To Quickly Change File Permissions

permz provides a fast way to manage file permissions in PCManFM-Mod. Just install it and associate it with one of the user commands in the same way repic was done in the example above.

For example, copy the file /usr/share/applications/pcmanfm-user-f7.desktop to ~/.local/share/applications/. Then load the copy into your editor and change it so that it runs permz as follows:

[Desktop Entry]
Name=Permissions
Exec=permz
StartupNotify=false
Terminal=false
NoDisplay=true

permz can be run as root (if you run PCManFM-Mod as root), as well as a normal user.

 

Example: xtract To Quickly Extract Archives

xtract provides a fast way to extract archives in PCManFM-Mod. Just install it and associate it with one of the user commands in the same way repic was done in the example above.

For example, copy the file /usr/share/applications/pcmanfm-user-f7.desktop to ~/.local/share/applications/. Then load the copy into your editor and change it so that it runs xtract as follows:

[Desktop Entry]
Name=Xtract
Exec=xtract
StartupNotify=false
Terminal=false
NoDisplay=true
MimeType=application/x-bzip;application/x-bzip-compressed-tar;application/x-gzip;application/zip;application/x-7z-compressed;application/x-bzip2;application/x-bzip2-compressed-tar;application/x-xz-compressed-tar;application/x-compressed-tar;application/x-rar;application/x-cd-image;

Alternatively, instead of using a user command, you can just make xtract the default application for archives.

 

Example: Multi-Function Chooser And Archiver

By using a chooser script, you can extend the five user-definable commands which PCManFM-Mod includes to perform an almost unlimited number of functions. This example uses a chooser script to ask the user what is to be done with the selected files. The example chooser script can create tar.gz, tar.xz, and tar.bz2 archives containing all the selected files and folders, can use Xtract to extract archives, calculate the md5sum of selected files, or can simply open all the files with xdg-open. The example chooser script is intended to be customized with any additional functions you want to add.

First, install the example chooser script following the standard Script Installation Instructions.

Next, edit one of your local user command desktop files such as ~/.local/share/applications/pcmanfm-user-f7.desktop (copied from /usr/share/applications/pcmanfm-user-f7.desktop) so that it runs chooser as follows:

[Desktop Entry]
Name=Chooser
Exec=chooser
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
NoDisplay=true

Finally, if Zenity is not already installed on your system, install this package. For example:

# Arch Linux
sudo pacman -S zenity

# OR
# Ubuntu
sudo apt-get install zenity

Now when you right-click on a selected group of files and/or folders in PCManFM and select the Chooser command, chooser will run and ask you what function to perform. If you select to create an archive, you will first be asked for the archive name.

79 Comments

  1. What is de difference between these two AUR packages:

    pcmanfm-mod 1.1.0-2
    pcmanfm-mod-prov 1.1.0-2

    ?

    Comment by Bénoît Segond von Banchet | August 13, 2010

    • PCManFM-Mod

      Specifically, they are identical except that pcmanfm-mod-prov also tells Pacman that it provides and conflicts with pcmanfm, and it creates a link:
      ln -s /usr/bin/pcmanfm-mod /usr/bin/pcmanfm

      The AUR pcmanfm-mod does not provide or conflict with pcmanfm.

      pcmanfm-mod-prov is particularly useful for LXDE users, where LXDE needs /usr/bin/pcmanfm for desktop management.

      Comment by igurublog | August 13, 2010

      • thank you for the explanation

        Comment by Anonymous | August 13, 2010

  2. Hi IgnorartGuru,

    thanks a lot for this mod, the custom commands its a must for me. I used KDE and had a lot of scripts via “service menu’s”, so now that I’m using lxde, I was missing a lot custom scripts.

    I have a feedback and a feature request:

    IMHO it would be cleaner, and the context menu would be less cluttered if you put the run and the custom commands on a “Action” or “Run” sub menu or something like that, just as you did with “Open with”. The draw back would be that you’ll have to move more the mouse to get to them.

    And the feature request would be add a Trash Can support like on pcmanfm used in lubuntu.
    I previouslly used lxde with other distro but quited because it didn’t have a Trash bin (I had a couple of problems with this deleting files by mistake. (I read the author was against this and didn’t see the point in a Trash bin, but I prefer to have a “delete buffer” just in case of mistakes by me or by other users of my pc).

    I’ve managed to add a Move to trash user command using a modified version of the volume aware script posted here: http://ubuntuforums.org/showthread.php?t=124137 (I modified trash dir locations: $HOME/.local/share/Trash/files instead of $HOME/.Trash and “$mp”/.Trash-$UID/files instead of “$mp”/.Trash-$USER). But it would be nice to be able to have the Trash Can on the “Locations” so you can Empty it from there and even better to directly move to trash without having to use a custom command to do it (and maybe used the Shift if you want to delete it directly).

    Cheers,
    Mguel

    Comment by Mguel | September 7, 2010

    • Thanks for your feedback. The context menu is a little busy, but as you say it’s handy not to have to go into a submenu. If I put anything in a submenu I think it would be some of the special paste and copy commands.

      I don’t have any plans to add trash support, but as you say that can be done with custom commands – thanks for sharing the volume aware script.

      Comment by igurublog | September 16, 2010

  3. great work and a great file manager
    but, why does it say pkgs are available for ubuntu, debian, and fedora?
    where are those?
    thanks

    Comment by linus72 | November 2, 2010

    • Thanks – pkgs are available (from here) for Arch Linux only; PCManFM-Mod has been successfully tested on the distributions listed (for those and other dists you need to build it manually per the instructions in the README, which is fairly straightforward). UPDATE There are now Debian/Ubuntu deb packages available and a PPA.

      Comment by igurublog | November 2, 2010

  4. Hi!

    First of all THANK YOU for this great mod!

    as a Lubuntu (lxde based ubuntu version), here’s how i did the install :

    after having installed all the required dependencies listed (it would be great to have a link that would automatically install these), and having extracted the .tar.xz file, the normal command ./configure –prefix=/usr would not work for me and i had to do a ./configure –prefix=/usr –disable-hal, in order for it to work (if you do this, don’t be afraid of all the text line that come – that’s normal, and it lasts a couple of looong seconds ;))

    i hope this will help other users:)

    Comment by denis | December 1, 2010

    • Thanks for your feedback. If it’s not compiling without ––disable-hal, then you’re probably missing a required build dependency. If you or anyone determines what’s missing I’ll update the Ubuntu build info in the README. Other Ubuntu users didn’t report this problem building, but they may have already had the missing dependency installed.

      Comment by igurublog | December 2, 2010

  5. Just tried to update to 1.1.3 on Tiny Core Linux platform but configure says libstartup-notification 1.0 is required while latest stable i 0.9 pcmanfm.mod 1.1.2 compiles fine with libstartup-notification 0.1

    Seems to be a configure bug.

    Comment by bmarkus | December 3, 2010

    • There wasn’t anything changed in configure between 1.1.2 and 1.1.3. Please try this sequence:

      rm aclocal.m4
      autoreconf
      NOCONFIGURE=x ./autogen.sh
      ./configure --prefix=/usr
      make
      sudo make install

      Thanks for your feedback.

      Comment by igurublog | December 3, 2010

  6. I’m using a tiling window manager (scrotwm) and I’ve found that using F3 to find files (doesn’t always work it seems) leads to me having to kill the file manager to get out of the find window due to no ‘quit’ or ‘close’ or ability to use ‘q’ or ‘esc’ to exit the window

    Comment by freds_shadow | December 14, 2010

    • Instead of F3, you could bind any key-combo you want (using your WM’s facilities) to:

      pcmanfm-mod -f

      which should be equivalent to pressing F3.

      As for why the window won’t close with the usual Alt-F4 equivalent I can’t say. I’ll consider adding a Close button and/or key. Thanks for your feedback.

      Comment by igurublog | December 14, 2010

      • Figured out a way to close it, just not the way I normally do. I was just surprised there wasn’t a built-in keyboard way (like escape).

        Comment by freds_shadow | December 14, 2010

  7. Is pattern select missing? Or filter by pattern? I tried F3 for this, but I can’t do anything to the find results beyond opening them or their folder. I’m looking to move the find results to a new folder. Thunar’s equivelant lets you use wild cards (ie, *arch*ind*) when selecting.

    Comment by freds_shadow | December 14, 2010

    • Sorry, I have not used the Find Files function much, and the mod hasn’t changed any of that code [update: it has changed as of v1.2.0]. As far as I can see it does support pattern matching, but it does not appear to support copying the results.

      Comment by igurublog | December 16, 2010

      • Oh well. I was initially hoping for pattern-select then used the find feature as a substitute. If find’s results were piped into a tab that acted like it were a directory that would be an awesome feature on any file-manager. Probably a pain to code, I suppose, especially given that some files would inevitably have the same file name.

        Comment by freds_shadow | December 16, 2010

  8. Hi – I keep getting the following error when trying to make this on openSUSE 11.3:

    ——
    make[1]: Entering directory `/home/corey/repo/pcmanfm-mod-1.2.0/data’
    make[1]: *** No rule to make target `ui/prefdlg.ui’, needed by `all-am’. Stop.
    make[1]: Leaving directory `/home/corey/repo/pcmanfm-mod-1.2.0/data’
    make: *** [all-recursive] Error 1
    ——

    Any suggestions?

    Comment by Corey Mwamba | January 30, 2011

    • Sorry – re-installed. Perfect – and I may modify the multi-chooser script to do audio conversions. Great work!

      Comment by Corey Mwamba | January 30, 2011

      • Thanks. Glad you got it to work because I was clueless. :)
        As I was saying on the ArchLinux forum, I have a pretty massive chooser script at this point. In fact I just make all file types open with that, and it does what I want. I find that easier than dealing with mimetypes.

        Comment by igurublog | January 31, 2011

        • It’s a good idea. PCManFM gets really messy when handling mimetypes. Lots of multiple entries and clearing them is a real faff.

          Comment by Corey | January 31, 2011

  9. Hi, as you moved to Aptosid recently, could you please provide debian packages for Pcmanfm-mod. I am lazy to compile it myself :-/

    Comment by Istvan | April 16, 2011

    • Yeah I’m going to take a look at building a debian package soon. In the meantime, it does build easily if you follow the steps in the README.

      Comment by IgnorantGuru | April 17, 2011

      • Thank you

        Comment by Istvan | April 17, 2011

  10. You know, I tried to install this on SliTaz 3, but I didn’t get far. I had to specially install gnupg and fix it’s various issues so I could generate a public key I could upload to the keyserver. Which I admit was an unfun way to spend 30 minutes.

    Now I followed your instructions (including downloading your key from the keyserver) and got the following error:
    brenton@trixarian:~/Downloads$ gpg –verify pcmanfm-mod-1.2.2.tar.xz.sig pcmanfm-mod-1.2.2.tar.xz
    gpg: Signature made Mon 11 Apr 2011 06:44:07 PM SAST using DSA key ID 107165A1
    gpg: Good signature from “IgnorantGuru (igurublog.wordpress.com) ”
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg: There is no indication that the signature belongs to the owner.
    Primary key fingerprint: 8835 279A 1936 2706 94BE 8B7C 0EAE C485 1071 65A1

    So now I’m still stuck.

    You do know that the unrealircd people provide an md5 hash rather than encrypt their archives like you have? Do you know that the person that altered their code was one of the mirror server admins? I doubt this would be the case with code hosted by sourceforge or googlecode. What I’m saying is that most distros comes with a md5sum command, while most do not include gnupg. Another issue with your way has to do with when the key does not verifiying for whatever reason which makes it impossible to use the key. Maybe you should follow unrealircd example rather than be overly paranoid. I don’t believe I’m the only person with this issue.

    Comment by Brenton Edgar Scott | April 19, 2011

    • > You know, I tried to install this on SliTaz 3, but I didn’t get far. I had to specially install gnupg and fix it’s various issues so I could generate a public key I could upload to the keyserver. Which I admit was an unfun way to spend 30 minutes.

      Very unusual for a distro to not include gpg – I’ve never encountered that. At any rate, you don’t need a public key of your own to verify my signature- just gpg installed and my key. IMO gpg is worth learning, at least the basics.

      >gpg: Good signature from “IgnorantGuru (igurublog.wordpress.com) ”
      >gpg: WARNING: This key is not certified with a trusted signature!
      >gpg: There is no indication that the signature belongs to the owner.
      >Primary key fingerprint: 8835 279A 1936 2706 94BE 8B7C 0EAE C485 1071 65A1

      No problem there – the signature is good. The warning is merely telling you that gpg can’t verify who that key belongs to. That is why my instructions include visually verifying the key fingerprint with the one shown here. If the warning bothers you, there are various ways to silence the warning or to establish trust for that key, but it’s not required. As long you verify the key fingerprint when you first install my public key, and you get “Good signature”, then the source is authentic.

      An MD5 hash is not a signature – a hash can simply be changed with no way to detect it, whereas a signature will not verify if it has been altered. And an MD5 hash is a particularly poor choice, as MD5 is older and partially compromised. MD5 is generally used to verify download integrity (ie that the download isn’t corrupt), but is not suitable for verifying authenticity. Also note that my instructions include a sha256 hash, if you prefer to use sha256sum to verify. eg

          $ sha256sum pcmanfm-mod-1.2.2.tar.xz
          355881f5955baca47d9463c492242b9b043287b2ff0ab5a05f853e7c0eab8b8e

      But hashes are vulnerable to alteration.

      As for signatures, I don’t consider them paranoid, just good security practice. For those who want to verify the source (which I recommend), they are provided. Thanks for your feedback. If you have any other questions or problems verifying, just let me know.

      Comment by IgnorantGuru | April 19, 2011

      • No, I was wrong and I apologise for going off on you. I was mistaking the compression type xz for some encryption via gnupg and I only discovered my mistake now. Fun way to start off hey?

        SliTaz is a minimalistic Linux built on BusyBox. In fact, it only has xz in it’s developmental version, so I had to pretty much install it myself. But that’s done and I’m trying to install it now – will let you know if I do.

        Comment by Brenton Edgar Scott | April 19, 2011

        • And installed. I did hit a slight snag with the xcb and cairomm dependancies, but otherwise it was smooth sailing compiling wise.

          Thanks for the effort to fix up the old PCManFM Legacy for us ;)

          Comment by Brenton Edgar Scott | April 19, 2011

  11. how to add a button – cdrom – in the pcmanfm-mod, as in pcmanfm 0.9.7? To be able to mount and eject. Thank you.

    Comment by r3Kat | June 1, 2011

    • I’m not familiar with the cdrom button, but next time I take a look at pcmanfm 0.9.7 I’ll check that out.

      devmon works well with pcmanfm-mod for automounting CDs. For unmounting you can assign keyboard shortcuts or a user command to run devmon ––eject, or you can use pcmanfm-mod’s volume management (View|Side Pane|Location Pane), which requires hal.

      Comment by IgnorantGuru | June 2, 2011

  12. Hello, I have installed in my netbook Archlinux
    with lxde, I have installed pcmanfm-legacy, but it not put wallpaper automatically, then install pcmanfm-mod-prov,automatically it put wallpaper in my desktop, all work very good, only a details, pcmanfm-mod-prov not put icon in the panel, neither open since the panel.
    It open since icon desktop only.

    Hope your support.

    Thank you

    cordially

    Kabbalah

    Comment by kabbalah | June 2, 2011

    • Hi, If you’re using lxpanel, you should be able to right-click on the panel icons and select “Application Launch Bar Settings”. That window should allow you to add PCManFM-Mod (usually its in the System Tools section).

      Comment by IgnorantGuru | June 2, 2011

  13. Hi, thank you, all very good.

    Comment by kabbalah | June 2, 2011

  14. Hi,

    “pcmanfm not refreshing folder view after deletion or create, copy”

    Refreshing on click on “refresh” otherwise wait several seconds.
    On the Desktop I am waiting much longer because there is no’refresh’ ???

    Comment by pit | June 5, 2011

    • What distro and distro version are you using? And are you using fam or gamin, and what version? pcmanfm-mod uses the fam or gamin server (either one – they are interchangeable) for that detection. One Slackware user let me know that he was having a problem with delayed detection on the new version of Slackware. You might try the alternative (if you’re using fam, try gamin, or vice versa), or check that the fam or gamin server is running properly. On aptosid, I’ve noted that fam occasionally locks up and pegs the one CPU at 100%, which also causes detection to stop.

      I haven’t modified any of the code that the legacy pcmanfm used in this area, but I’ll see if I can narrow the cause down before the next update. If you have any more feedback on the issue please let me know, and also include your distro. Thanks for your feedback.

      Comment by IgnorantGuru | June 5, 2011

      • Thank you for your answer.

        Distro is Slackware of course.
        I have using LXDE since the begining of 2010.
        Slack version 13.1 .
        Everything was OK till I upgraded distro to current.Up to 13.37.
        It’s a pity I don’t remember which moment.

        Slack have gamin package . In 13.1 too .
        I downgrade package gamin to earlier version too but problem don’t disapear.
        Delay differ and is from 3 to 5 seconds.

        Till yesterday there was another strange thing.
        Sometimes on the Desktop I had some bash scripts. some had suffix .sh and other not.
        After about hour uptime or sometimes more icons of that files without suffix change and mime to txt too.
        After that sometimes if I removed files from desktop they didn’t disapear and restart x solved the problem.

        Yesterday I checked config files,wiped out
        /tmp, changed kernel to 2.6.39.1 , and icons on desktop stay unchanged till today but delay wasn’t fixed.
        However it seams shorter then before.

        Thats all.
        No debug messages of course.

        Comment by pit | June 6, 2011

        • > Everything was OK till I upgraded distro to current.Up to 13.37.

          That is exactly the problem another Slackware user reported (same Slackware versions, but he’s seeing a 25 second delay). He could not find a solution and downgraded to 13.1 for now. It sounds like Slackware 13.37 has a problem with its gamin setup, as this isn’t being reported on any other distros.

          Thanks for the report and if I learn anything more I’ll post a comment here.

          Comment by IgnorantGuru | June 6, 2011

          • Gamin compiled is with options:

            –enable-inotify \
            –disable-dnotify \

            and in config file set pooling the file system every 15 sec.

            Comment by pit | June 6, 2011

            • Hi

              Hashing the poll line for filesystem that I use in gamin config file seems to solve problem .
              In 13.1 there was no such file and server running on default settings.

              Thank you

              Comment by pit | June 7, 2011

            • Hi Pit ,

              How do you do this ‘Hashing the poll line for filesystem in gamin config’?

              So you recomplied gamin?

              THANKS

              Comment by Das | June 10, 2011

              • Das

                Forget about what I said about compilation.
                It was not necessary.
                There is a config file in /etc/gamin and there I ‘Hashed settings for my filesystem’.

                Comment by pit | June 14, 2011

                • Can you please tell me what you changed in /etc/gamin/gaminrc ?

                  THANKS

                  Comment by Das | June 15, 2011

                  • Hi,

                    Hope to get a reply soon?

                    This is what I have in /etc/gamin/gaminrc (I’m running ext4 and it’s already 15 secs. so now what?)

                    THANKS

                    # A safe default is to poll filesystems once every 15 seconds:
                    fsset btrfs poll 15
                    fsset cifs poll 15
                    fsset ext2 poll 15
                    fsset ext3 poll 15
                    fsset ext4 poll 15
                    fsset hfs poll 15
                    fsset hfsplus poll 15
                    fsset iso9660 poll 15
                    fsset jfs poll 15
                    fsset nfs poll 15
                    fsset nfs4 poll 15
                    fsset ntfs poll 15
                    fsset ntfs-3g poll 15
                    fsset ocfs2 poll 15
                    fsset reiserfs poll 15
                    fsset udf poll 15
                    fsset vfat poll 15
                    fsset xfs poll 15

                    Comment by Das | June 17, 2011

                    • Can someone please bring some closure to this? Nothing is working for me…

                      THANKS

                      Comment by DasFox | July 9, 2011

  15. Hi, pcmanfm-mod-prov, not have trash, how can install the trash.

    When erase a file any, I see that free 10GB and after it following the same free 10GB.

    I need trash.

    Thank you

    kabbalah

    Comment by kabbalah | June 6, 2011

    • pcmanfm-mod does not have trash support built-in. You can set one of the user commands to copy files to the trash – see this comment for one user’s solution.

      Comment by IgnorantGuru | June 6, 2011

  16. Hi,

    It’s me the other Slackware user with the delay too.

    I never saw this problem in 13.1 until I did a fresh install of 13.37 then I saw a delay, moving, copying, pasting, drag or drop.

    Some times just a few seconds and many times on average around 15-30 secs.

    But every time without fail if you click the reload/refresh button on PCManFm-Mod you’d see things happen right away as they should.

    Here is the slackbuild I used;

    http://pastebin.ca/2075853

    Anyone can see from that slackbuild that there is nothing there to cause any of this.

    PLEASE report this bug to info@slackware.com

    THANKS

    Comment by DasFo | June 6, 2011

  17. IF ANYONE ELSE HAS THE PROBLEM IN SLACKWARE WITH THE LAG THEN MOVE THE GAMIN CONFIG;

    /etc/gamin/gaminrc.bak

    Comment by Das | July 11, 2011

  18. Hi Ig, Could you drop the dependency of hal for pcmanfm-mod in AUR?
    It is optional you write on your blog. Or doe we lose some important functionality with that?
    Pcmanfm-mod is candidate for being included in a new release of archbang and no hal requirement is important.

    Comment by Pablo | October 4, 2011

    • Hi Pablo, I can’t just drop the dependency, because it is a build dependency – the configure command must also be changed to disable hal. Instead I just created a pcmanfm-mod-nohal package which builds without hal support and dependencies. With this package, you don’t need hal installed or running, but pcmanfm-mod’s built-in volume management support will be disabled (you won’t be able to mount and unmount volumes within pcmanfm-mod, and volumes will not appear in the location side pane). (I recommend devmon as one solution for mounting without hal.)

      I couldn’t test this new AUR package because I don’t use Arch anymore, but it should work fine – let me know otherwise. I don’t directly support Arch Linux anymore – not practical since I don’t use it – but I have a script that creates the AUR packages so I still update those for convenience.

      Comment by IgnorantGuru | October 4, 2011

      • Thanks, IgnorantGuru. for your work. Especially knowing how you feel about Arch!! Very much appreciated.

        Comment by Pablo | October 4, 2011

        • The no hal package is great and builds ok. Sorry to have to tell that devmon is not doing what it should do: showing partitions and external hard drives. We are looking for the cause; probably as you mention in the devmon page consolekit is giving trouble.
          For more info this post: http://bbs.archbang.org/viewtopic.php?pid=5383#p5383

          Comment by Pablo | October 5, 2011

  19. Hi IgnorantGuru!
    First a very big THANK YOU!!
    This my favorite file/directory manager after searching for a long time for it!

    I’ve some suggestions about the layout using pcmanfm-mod-pov:
    1. Could you please make it possible that the columns could be toggled on/off in the file list (Type, User:Group,..)
    2. Please make a custom date/time format display possible (date(1) syntax?)
    3. Is it possible that the sizes (width) of the columns can be changed? (.. and restored on next start)

    However, This is THE filemanager for me! So Thanks again!!
    Mononut

    Comment by Mononut | October 8, 2011

    • Thanks for your feedback – you have good timing. I’m coding some updates to pcmanfm-mod now, and doing some work on the detail columns is on the list. Not sure about the date format but I’ll look into it. May have to be a little patient but some good changes are on the way, including optional udisks support for non-hal builds which is already 75% working, and some updates to the volume manager features.

      Comment by IgnorantGuru | October 8, 2011

      • Good work needs time, so take as much as you need!
        My suggestions are wishes only and as I’m *not* a programmer, I highly respect your grateful work and your effort!!

        Greez Mononut

        Comment by Mononut | October 11, 2011

  20. Any willing to merge your code with the main application?

    Comment by Fitoschido | November 7, 2011

    • The original author abandoned the legacy pcmanfm 0.5.2 and started working on a complete rewrite, which is now known as ‘pcmanfm’ (udisks, gvfs), and the legacy version (hal, no gvfs) has continued to be developed as ‘pcmanfm-mod’. A few of the mod ideas have been incorporated into the new pcmanfm, but he was unwilling to include others. With the next update, pcmanfm-mod should optionally support udisks (and a legacy hal build option for those who want to stick with hal), and will continue to not require gvfs. Hopefully some other dependencies will also be dropped, and some significant new features are being added.

      So for better or worse you can expect the ‘pcmanfm’ and ‘pcmanfm-mod’ projects to be separate forks from now on, with different dependencies and an increasingly different feature set.

      Comment by IgnorantGuru | November 9, 2011

  21. Hi Guru!

    First of all, I want to thank you for your work on pcman, devmon and mplayer resume script.
    I’m happy pcmanfm mod user with just one question.

    pcmanfm-mod –desktop shows “My Documents” icon which is impossible to remove without modifying the source. Several threads on Arch and LXDE forums pointed that I should modify src/desktop/desktop.c (https://bbs.archlinux.org/viewtopic.php?id=49906), but I have no idea what to do with relevant part of code. Whathever modifications I make (eg. comment out those lines), pcman won’t build.

    I’d be very grateful if you could help me.
    Thanks in advance, Nasrudin.

    Comment by Nasrudin | November 10, 2011

    • Sure – I’m glad you mentioned this as it should be made an option, which I’ll do for the next update. In the meantime, I took a quick look and the file is src/desktop/desktop-window.c NOT desktop.c

      In src/desktop/desktop-window.c, just chop out this section (around line 1840):

              /* Make an item for Home dir */
          fi = vfs_file_info_new();
          fi->disp_name = g_strdup( _("My Documents") );
          fi->mime_type = vfs_mime_type_get_from_type( XDG_MIME_TYPE_DIRECTORY );
          fi->name = g_strdup( g_get_home_dir() );
          fi->mode |= S_IFDIR;
          fi->flags |= VFS_FILE_INFO_VIRTUAL; /* this is a virtual file which doesn't exist on the file system */
          fi->big_thumbnail = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), "gnome-fs-home", self->icon_size, 0, NULL );
          if( ! fi->big_thumbnail )
              fi->big_thumbnail = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), "folder-home", self->icon_size, 0, NULL );
      
          item = g_slice_new0( DesktopItem );
          item->fi = fi;
      	/* item->icon = vfs_file_info_get_big_thumbnail( fi ); */
      
          self->items = g_list_prepend( self->items, item );

      It built okay without that but I didn’t test the result – should work.

      Comment by IgnorantGuru | November 10, 2011

  22. Thank you for quick response.
    I’ve edited source and it builds whithout any errors, but segfaults on launch.

    Comment by Nasrudin | November 11, 2011

    • Sorry – didn’t remove enough. I have revised my comment above showing the portion to remove. I think that will work but if it doesn’t let me know and I’ll give it a try.

      UPDATE: Working on the new version, I discovered that the above change to remove My Documents will cause a hang if you right-click on a blank area of the desktop (for the menu). This icon will be removed in newer versions. Until then, I don’t recommend this hack.

      Comment by IgnorantGuru | November 11, 2011

  23. It works now!
    Thank you very much!

    Comment by Nasrudin | November 11, 2011

  24. Thank you for your work. This is – the best file-manadzher

    Comment by Anonymous | November 28, 2011

  25. pcmanfm-mod (i386) – Built with HAL mounting support included – option does not work — desktop in (uname -a) Linux debian 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux – in Fluxbox or Openbox. :(
    Example. I’m add in config ~/.fluxbox/startup – pcmanfm-mod –desktop &
    And when fluxbox starting, pcmanfm-mod does not run in the background, as in a normal window.Option does not work — desktop?

    Comment by Eugene | November 28, 2011

  26. Sorry, command in startup: pcmanfm-mod –desktop &

    Comment by Eugene | November 28, 2011

    • The ––desktop option has no function in pcmanfm-mod – it is provided but ignored for compatibility with pcmanfm 0.9 and later. It is provided so that newer lxde scripts that pass ––desktop will work with pcmanfm-mod.

      To set pcmanfm-mod to manage the desktop, open Preferences|Desktop and check ‘Manage the desktop and show file icons’.

      You can also add -d to start it in daemon mode. To see the usage:

          pcmanfm-mod --help

      Comment by IgnorantGuru | November 28, 2011

  27. Thank you for your response.
    1. I can watch all help Alt+F1=lxterminal && pcmanfm-mod –help :)
    Add pcmanfm-mod -d & in ~/.fluxbox/startup. Pcmanfm-mod do not open a window with the actions of inserting external usb flash devices flash driver. :(
    2. My Documents folder is not moved or deleted from the desktop. Maybe she’s not needed. I can make a symlink to my profile on the desktop and move it to anywhere on your desktop.
    3. How to add opredellennye scripts?
    For example, in thunar you can add scripts from peazip.
    An example of a string of uca.xml to thunar and peazip
    a)peazipAdd to Archive'/usr/local/share/PeaZip/FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/Add to Archive' %fAdd to Archive*
    b)peazipExtract Archive'/usr/local/share/PeaZip/FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/Extract Archive' %fExtract Archive*.gzip;*.lha;*.tar;*.tgz;*.tbz;*.tbz2;*.zip;*.rar;*.r*;*.tarz;*.archive;*.bzip2;*.bzip;*.jar;*.ace;*.7z;*.arc;*.arj;*.compress;*.cpio;*.deb
    Maybe this will be implemented in future versions?

    Comment by Eugene | November 29, 2011

    • 1. Currently, pcmanfm-mod does not automount volumes nor open a window when a device is inserted. This is planned for a future release. Until then, I recommend devmon for handling this.

      2. This is a known problem and should be corrected with the next release.

      3. I’m not familiar with those scripts specifically, but in general any custom command can be added to pcmanfm-mod following the instructions in the README file above. Also, pcmanfm-mod already has a facility for extracting archives.

      Thanks for your feedback.

      Comment by IgnorantGuru | December 1, 2011

  28. Hi IgnorantGuru and thank you for your work on this file manager.

    I have two feature requests based on a windows app that slightly enhances Windows Explorer:
    http://pitaschio.ara3.net/

    Features:
    Parent folder by double click
    By double clicking on blank space of explorer window, you can move to the parent folder.

    Extended file rename
    When you start renaming of a file, only the file name is selected instead of selecting the file name
    and extension. You can select extension or entire file name by pressing F2 key.
    Moreover, you can edit the filename of next file or previous file by using down or up key.

    Please consider them and add them to your todo list if possible.

    Thank you.
    John

    Comment by John | December 3, 2011

    • Thanks – some good ideas there. I’ll consider them for the next release.

      Comment by IgnorantGuru | December 4, 2011

      • If you add support for a trash can, then please make sure there’s an option to disable support and remove the trash can icon. It’s so stupid with pcmanfm that if you don’t compile support for it, you still get the trash can icon… :(

        THANKS

        Comment by Anonymous | January 8, 2012

  29. If you add support for a trash can, please enable an option to disable support, which will also remove the icon from the file manager. I think it’s so stupid that you can compile pcmanfm without gvfs and not get the support but then you get the stupid icon appearing…

    gvfs really sucks too, so PLEASE we don’t really need a trash can, it’s stupid, just be careful when you delete people, hehe… ;)

    Comment by Das | January 8, 2012

    • I have never seen pcmanfm-mod produce a trash can icon – it may be gvfsd or something else creating that. Actually I’ve never even tried building it with the trash support, although I did see it in the code – thought it was just a stub. I’m no fan of trash so if I ever work on that it will certainly be optional. I also don’t have any intention of making gvfs a dependency – pcmanfm-mod has it’s own built-in vfs which I’ve been debugging for the last few years, and the new version will be using the same. Its stability and speed was one of the reasons I decided to continue development on this.

      The new version will be available for early testing shortly – I just have a handful of things left to do in the code (at least for a test version). Some good news: it looks like inotify support is now stable, so the new version will not require fam or gamin (as you know these were a source of problems). Also no hal (optional udisks instead). fam, gamin, and hal support should still be retained for those who want them, but they will no longer be default build options.

      Comment by IgnorantGuru | January 9, 2012

  30. Hi IgnorantGuru,

    Glad to hear and I can’t wait, I went back and did an even smaller stripped down version for my box, so it’s really running to the bone, no consolekit, polkit, or hal this time, so you can imagine, my now stripped down pcmanfm-mod, no usb support isn’t fun and I’m dying, LOL…

    Slack uses gamin so PLEASE make it then an option to disable support for it; –disable-gamin :)

    I would just dump Hal it’s deprecated and there’s hardly a soul using it or wanting to touch it, I doubt you’ll get any complaints on that one, hehe… ;)

    THANKS

    Comment by Das | January 13, 2012

  31. Really, really cool mod.
    I’m turning back to pcmanfm after this.
    Great work.

    Comment by CirKu17 (@CirKu17) | January 26, 2012

  32. Hi IgnorantGuru,

    replacing ROX-Desktop with PCManFm-mod 1.2.4 as Desktop handler in Openbox, I realized that it doesn’t show the arrow sign on links in ~/Desktop. Navigating to ~/Desktop in PCManFM itself shows the same link with
    the arrow applied.

    Is there any chance to get this fixed, because I find it misleading not to be able to distinguish links from real files/folders on the Desktop.

    Reagrs and good luck with spacefm,

    Manfred

    Comment by Manfred Mueller | March 20, 2012

    • Hi, thanks for pointing this out. pcmanfm-mod is no longer in active development so this may not be addressed quickly, but I have noted it for any future release. spacefm also inherited this behavior so I’ve made a note to look at it – it will likely be changed there first. Yours is the first comment I’ve ever received on this and I never noticed it, but I agree it would be better as you suggest.

      Comment by IgnorantGuru | March 23, 2012

    • fyi this is now included in SpaceFM – I think introduced in 0.8.7. If not then 0.9.0 will have it, along with some significant dm improvements.

      Comment by IgnorantGuru | October 18, 2013

  33. Hi, At home, I have Linux Mint XFCE with stock pcmanfm which supports Ctrl-1 and Ctrl-2. Ctrl-1 changes the folder view to a icon view and Ctrl-2 changes the folder view to a detailed list view. Is there a way to get this feature in PCManFM-Mod. I am using Salix OS on my work laptop and installed PCManFM-Mod on it.

    Thanks,
    Balaji.

    Comment by pnbalaji | May 22, 2013