Page 1 of 1

PCManFM 1.0 and libfm 1.0 installation

Posted: Thu Aug 23, 2012 5:32 pm
by etisdale
Hi, All. I decided to install PCManFM v1.0 from source instead of waiting for this major release to pop up in the repository. The reason for this is that I have been having some PCManFM problems ever since I installed LM12 LXDE. :(

For example: http://forums.linuxmint.com/viewtopic.p ... it=pcmanfm

Still a great desktop manager though, and even better now! Check out the PCManFM v1.0 announcement on the blog: http://blog.lxde.org


With this post, I thought I would provide some instructions in case somebody else is thinking of upgrading and is looking for a quick guide.

1) Download both PCManFM-1.0 and libfm-1.0 to a working directory. I just made a 'pcmanfm' directory in my home directory. Current download links:

PCManFM: http://sourceforge.net/projects/pcmanfm ... z/download

libfm: http://sourceforge.net/projects/pcmanfm ... z/download

2) Working in a terminal emulator (e.g., LXTerminal), unzip libfm-1.0 in the working directory:

$ tar -xvzf libfm-1.0.tar.gz

3) Change to the new 'libfm-1.0' directory and issue the following command:

$ ./configure --sysconfdir=/etc

I found that I did not have a number of requirements, so I had to iteratively figure out each of those requirements (there were three) and run the 'configure' command again. For example, I did not have 'intltool,' 'libgtk2.0-dev,' or 'libmenu-cache1-dev' installed. There were a number of dependencies to install in addition to those three packages, but I just let synaptic take care of all that. ;)

4) Upon successful completion of 3), issue the following command in the 'libfm-1.0' directory:

$ make

5) Optionally, you can run the following command to make sure everything compiled properly:

$ make check

6) Install 'libfm-1.0' by issuing the following command:

$ sudo make install

7) Working in a terminal emulator (e.g., LXTerminal) in the working directory, unzip pcmanfm-1.0.tar.gz:

$ tar -xvzf pcmanfm-1.0.tar.gz

8) Change to the new 'pcmanfm-1.0' directory

9) Issue the following commands in succesion, waiting for each to complete before the next:

$ ./configure --sysconfdir=/etc
$ make
$ make check
$ sudo make install

10) Kill the current running version of PCManFM by issuing the following command from LXTerminal:

$ killall pcmanfm

11) When I tried to start PCManFM from the command line (e.g., $ pcmanfm --desktop), it indicated that a library (libfm-gtk.so.3) was missing. I found that the library was actually on my system (in /usr/local/lib/), but not in the place PCManFM was looking (/usr/lib/), so I created a link. I actually had to create two links to two different libraries (both libfm-gtk.so.3 and libfm.so.3). These are the commands that I used:

$ cd /usr/lib
$ sudo ln -s /usr/local/lib/libfm-gtk.so.3.0.1 libfm-gtk.so.3
$ sudo ln -s /usr/local/lib/libfm.so.3 libfm.so.3

12) Issue the following command to start PCManFM (or restart computer):

$ pcmanfm --desktop

So far, so good with PCManFM 1.0!

Re: PCManFM 1.0 and libfm 1.0 installation

Posted: Thu Aug 23, 2012 5:44 pm
by etisdale
Ha! Wouldn't you know it, I just found some instructions here as well: http://wiki.lxde.org/en/LXDE:PCManFM_bu ... etup_guide

Also, just a note that the following command can be used to uninstall, if needed:

$ make uninstall