There was an error in this gadget


Sunday, May 11, 2008

Replacing Nautilus with quicker and faster PCMan File Manager in Ubuntu 8.04

Nautilus is the default file manager used in Gnome by most of the Linux distributions, now even though nautilus is extremely user friendly and has wide array of features(including ability to extend it's feature set with scripts and extensions) . All these features does make nautilus bit resource hungry especially if you are using older machine. In this article i discuss PCMan File Manger which is a lightweight alternative to nautilus and how to set various menus in Ubuntu to using PCMan File manager instead of using nautilus.

PCMan File Manager is extremely small and fast file manager that supports Tabbed Browsing. It is not as feature rich as Nautilus which probably helps it by making it much faster compared to nautilus which take a significant amount of time to load , however it does the job of file manager well . It uses multi threading to load large directories quickly and even shows thumbnails of images. It has been created using GTK2 Libraries and it's website claims it can start in one second .

Here is the list of features (Taken from it's website ) :-

* Extremly fast and lightweight
* Can be started in one second on normal machine
* Tabbed browsing (Similiar to Firefox)
* Drag & Drop support
* Files can be dragged among tabs
* Load large directories in reasonable time
* File association support (Default application)
* Basic thumbnail support
* Bookmarks support
* Handles non-UTF-8 encoded filenames correctly
* Provide icon view and detailed list view
* Standard compliant (Follows
* Clean and user-friendly interface (GTK+ 2)

To install PCMan File Manager issue the following command in the terminal window(assuming you are running Ubuntu 8.04 though it should work on any different version of Ubuntu )

sudo apt-get install pcmanfm

After issuing the above command launch PCMan File Manger from (Applications -> System Tools -> PCMan File Manager)

PCMan File Manager in Action

Now if you want to load all the entries in the Places menu of the bar at the top in PCMan File Manager by default instead of using nautilus you can do it easily by following these steps below :

Firstly open PCMan File Manger now go to this directory by typing in :


in the address bar of the PCMan File Manager

Now go to ( Tools-> Open Current Folder as Root ) in the PCMan File Manager to open /usr/share/applications folder in super user mode.

PCMan File Manager warning about running in Super User mode

Now open the following files :




Open the above files in the text editor and find an entry starting with Exec and change it to look like this( you might like to make backup of these files before modifying ) :

For nautilus-computer.desktop: Exec=pcmanfm /

For nautilus-folder-handler.desktop: Exec=pcmanfm %U

After completing above steps any entry you click in Places submenu should open quickly in PCMan File Manager .

Article Written by : Ambuj Varshney (
For Desktop on Linux Blog ,
(C) 2008 , Ambuj Varshney


Gustavo Salvini said...

Mi humilde aporte,
la carpeta es /usr/share/applications , no "/user/share/applications" (user != usr)

Un abrazo!
Desde Argentina. Gustavo.

AMBUJ said...

Hey thank you
Was a typing mistake and have corrected it [:)]

Carlos said...

Nice tip. I never liked nautilus and that's one of the reasons why I prefer XFCE to Gnome, as it has the excellent Thunar file manager. PCMan is quite similar to Thunar and it's a great addition to Gnome. I tested it some time ago and I think sooner or later it will become the default Gnome file manager, following the same path as Dolphin in KDE.

Anonymous said...

I hope so. PCMan File Manager is much better than Nautilus in many aspects.

It does need alot of work, but is on the right track.

Ruud said...

Good post.
I'm using Ubuntu 9.10 and and I do not see the .desktop files when using pcmanfm to look at /usr/share/applications. I see them as icons with names such as "File Manager", etc. I think this has to do with the fact that .desktop files are treated differently from normal files. I had to use a terminal and the "ls" command to see them.
How do I prevent Gnome from starting nautilus at boot time and 'handling' my desktop. The desktop can be handled by pcmanfm as well and I want pcmanfm to that for me. To enable that however I always first need to kill the running nautilus process first before I see pcmanfm take over the desktop.

karatedog said...

Ruud: use gconf-editor, there turn off /apps/nautilus/preferences/show_desktop. Useful for Compiz fans as well, so Compiz will draw their desktop and they can have multiple backgrounds for each workspace.

karatedog said...

Ruud: use gconf-editor, there turn off /apps/nautilus/preferences/show_desktop.

Post a Comment