PDA

View Full Version : HOWTO add single-click support to PCMan File Manager


mrjnoobles
April 11th, 2008, 09:36 PM
PCMan File Manager is a fast, lightweight file manager by Hong Jen Yee.

http://pcmanfm.sourceforge.net/

Have you ever wished you could use single-click to open items in PCMan?

I did, so I made this patch and now you can!

http://nuqlear.com/crap/prefdlg.png

This tutorial will show you how to patch PCMan 0.3.9.10 to support single-click opening of items.

Step 1

You will need the source for PCMan version 0.3.9.10, get it here:

http://sourceforge.net/project/showfiles.php?group_id=156956&package_id=265937&release_id=585699

Step 2

Extract the archive somewhere, it should extract into a folder named "pcmanfm-0.3.9.10".

Step 3

Download my patch here:

http://nuqlear.com/crap/pcmanpatch.zip

Step 4

Extract the patch into your "pcmanfm-0.3.9.10" folder.

If it asks if you want to overwrite existing files say yes.

Step 5

Prerequisites for compiling PCMan: (taken from the PCMan site)

automake
libgtk2.0-dev
libglib2.0-dev
libgamin-dev
libstartup-notification0-dev

If you are unsure if you have these packages try to install them using 'sudo apt-get install'.

For example, if you wanted to install libgtk2.0-dev you would enter the following into the terminal:

sudo apt-get install libgtk2.0-dev

Step 6

Open up a terminal and navigate to the "pcmanfm-0.3.9.10" folder, then enter the following:

./configure
make
sudo make install

To uninstall PCMan:

Open up a terminal and navigate to the "pcmanfm-0.3.9.10" folder, then enter the following:

sudo make uninstall

To un-patch PCMan:

First, uninstall PCMan using the previous instructions.

Delete the "pcmanfm-0.3.9.10" folder.

Extract the PCMan source.

Compile using the instructions from step 6.


Thanks for looking!

If you find any bugs etc please reply and let me know what's up.

K.Mandla
April 12th, 2008, 08:23 AM
Interesting. I'm not a single-click fan, but it's always good to see someone add features to a great little file manager.

Did you submit your patch to PCMan?

KongKNoob
May 19th, 2008, 07:43 PM
Great!

But, like mrjnoobles said, you should get this in to source code. The PCMan FM project invites everyone to participate, and it would be great if "one-click" was supported by default.

TrD
June 28th, 2008, 01:15 PM
Thank you.

I think PCMan should make this an option on next versions.

PCMan
July 16th, 2008, 01:28 AM
Thank you.

I think PCMan should make this an option on next versions.

Please don't mix this patch with the latest version of PCManFM.
Since PCManFM 0.4.6, single-click is already well-supported.