PCmanFM misses the permission column in its detail view and the ability to set viewable columns. Because of this I switched to Thunar.
Now I want to set it as my default file manger in LXDE.
How to do this?
Ubuntu – Thunar as default file manager in Lubuntu 11.10 – how
11.10lubuntuthunar
Best Answer
The simple way...
The quickest way is to create a pcmanfm shell script in
/usr/local/bin
. This shell script will instead execute thunarThus:
copy and paste the following:
Save
The disadvantage though of this method is that you will lose any desktop shortcuts because on login, pcmanfm is no longer being run on login.
LXDE/XFCE Hybrid
A more interesting method would be to have the LXDE shell but with the XFCE desktop rather than the pcmanfm desktop
The reason for running with the xfdesktop is that it integrates with thunar whereas the pcmanfm desktop cannot be configured to launch folders stored on the desktop with thunar - only pcmanfm.
The recipe is as follows:
/usr/share/applications/pcmanfm.desktop
and change the lineExec=pcmanfm %U
toExec=thunar %U
leafpad
change all references ofpcmanfm
tothunar
in the file~/.config/openbox/lubuntu-rc.xml
/etc/xdg/lxsession/Lubuntu/autostart
and change the line@pcmanfm --desktop --profile lubuntu
to!@pcmanfm --desktop --profile lubuntu
~/.config/autostart
xfdesktop
on login: create a file calledxfdesktop.desktop
in this autostart folder with...the contents
sudo apt-get install xfdesktop4
a third way...
If you don't want to run the xfdesktop - then follow the recipe above, but dont disable pcmanfm in
/etc/xdg/lxsession/Lubuntu/autostart
and you also dont need to autostartxfdesktop
.Obviously you are still left with the folder on desktop launching pcmanfm issue - but if you can live with this, this is a worthy compromise.