pcmanfm

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
stillborn
Posts: 56
Joined: 30. Jul 2009, 10:06

pcmanfm

Post by stillborn »

Hi
Why pcmanfm-opener is left out from pcmanfm package?
FIN
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pcmanfm

Post by thenktor »

What is pcmanfm-opener?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
stillborn
Posts: 56
Joined: 30. Jul 2009, 10:06

Re: pcmanfm

Post by stillborn »

http://igurublog.wordpress.com/download ... fm/#readme

Code: Select all

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.
FIN
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: pcmanfm

Post by gapan »

Nothing was disabled while building the pcmanfm package from the pcmanfm-mod sources. If the pcmanfm-mod devs wanted whatever this pcmanfm-opener is to be installed by default, they would have included it in their makefiles.
Image
Image
User avatar
stillborn
Posts: 56
Joined: 30. Jul 2009, 10:06

Re: pcmanfm

Post by stillborn »

ok,,just wondering if it was left out on purpose because F4 doesn't work by default. And atleast arch and debian, ubuntu, frugalware has it on package. Maybe it is good idea to include it still,,if someone wants to use this and tweak the rest of the F? keys. Then they don't need to download the sources and find it from there.
FIN
User avatar
stillborn
Posts: 56
Joined: 30. Jul 2009, 10:06

Re: pcmanfm

Post by stillborn »

it is also mentioned in package details and manual build instructions

Code: Select all

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
FIN
Post Reply