HOWTO: Dirty Hack to Replace Nautilus With PCManFM
Posted: Tue Feb 01, 2011 4:40 pm
first of all, this is a dirty hack to replace nautilus with pcmanfm. do this at ur own risk, i will not be responsible for any damages caused by this. again, DO THIS AT UR OWN RISK.
i always hate nautilus, its kinda slow and sluggish. so i use this hack to replace it with pcmanfm, the default, light filemanager used in lxde. inspired by a thread in ubuntuforum http://ubuntuforums.org/showthread.php?t=692238. credits goes to them
1- first of all, we need to enable debian stable repo because we want to pull 1 package from it, which is pcmanfm-nohal 0.5-3, so edit ur sources.list:
2- add debian stable repo in it:
3- update ur package index
4- install pcmanfm-nohal
5- backup these 3 files; nautilus.desktop, nautilus-computer.desktop and nautilus-folder-handler.desktop:
6- open nautilus.desktop with gedit:
find line 102 and edit it until it looks like this:
and save it.
7- open nautilus-computer.desktop with gedit:
find line 178 and edit it until it looks like this:
and save it.
8- open nautilus-folder-handler.desktop with gedit:
find line 86 and edit it until it looks like this:
and save it.
9- restart x with Ctrl+Alt+Backspace, u should automatically relogin back. at this point nautilus has been replaced by pcmanfm, but desktop management still doesn't work (all icon on desktop dissapeared, right-click on desktop wont work) so we need to enable desktop management in pcmanfm. open pcmanfm (it should be in menu) and choose Edit>Preference, move to Desktop tab, tick "Manage the desktop and show file icons". all ur icons on desktop should appear and right-click on desktop should work by now. done!!!
in case u wanna revert back to use nautilus as ur filemanager, just replace back 3 files that we backup earlier:
and hit Ctrl+Alt+Backspace. cheers
i always hate nautilus, its kinda slow and sluggish. so i use this hack to replace it with pcmanfm, the default, light filemanager used in lxde. inspired by a thread in ubuntuforum http://ubuntuforums.org/showthread.php?t=692238. credits goes to them
1- first of all, we need to enable debian stable repo because we want to pull 1 package from it, which is pcmanfm-nohal 0.5-3, so edit ur sources.list:
Code: Select all
gedit /etc/apt/sources.list
Code: Select all
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get install pcmanfm-nohal
Code: Select all
sudo cp /usr/share/applications/nautilus.desktop /usr/share/applications/nautilus.desktop.backup && sudo cp /usr/share/applications/nautilus-computer.desktop /usr/share/applications/nautilus-computer.desktop.backup && sudo cp /usr/share/applications/nautilus-folder-handler.desktop /usr/share/applications/nautilus-folder-handler.desktop.backup
Code: Select all
sudo gedit /usr/share/applications/nautilus.desktop
Code: Select all
Exec=pcmanfm
7- open nautilus-computer.desktop with gedit:
Code: Select all
sudo gedit /usr/share/applications/nautilus-computer.desktop
Code: Select all
Exec=pcmanfm
8- open nautilus-folder-handler.desktop with gedit:
Code: Select all
sudo gedit /usr/share/applications/nautilus-folder-handler.desktop
Code: Select all
Exec=pcmanfm -d
9- restart x with Ctrl+Alt+Backspace, u should automatically relogin back. at this point nautilus has been replaced by pcmanfm, but desktop management still doesn't work (all icon on desktop dissapeared, right-click on desktop wont work) so we need to enable desktop management in pcmanfm. open pcmanfm (it should be in menu) and choose Edit>Preference, move to Desktop tab, tick "Manage the desktop and show file icons". all ur icons on desktop should appear and right-click on desktop should work by now. done!!!
in case u wanna revert back to use nautilus as ur filemanager, just replace back 3 files that we backup earlier:
Code: Select all
sudo cp /usr/share/applications/nautilus.desktop.backup /usr/share/applications/nautilus.desktop && sudo cp /usr/share/applications/nautilus-computer.desktop.backup /usr/share/applications/nautilus-computer.desktop && sudo cp /usr/share/applications/nautilus-folder-handler.desktop.backup /usr/share/applications/nautilus-folder-handler.desktop