OS: Ubuntu 11.10
Ubuntu has a solution posted here: https://help.ubuntu.com/community/DefaultFileManager
But it seemes a little awkward for my needs.
So after little google'ing and grep'ing here are the steps:
1) Install alternative file manager (pcmanfm in my case):
sudo apt-get-install pcmanfm
2) Make sure that installed application has *.desktop files for folder handling (again for pcmanfm):
cd /usr/share/applications/
ls *-home.desktop *-folder-handler.desktop
# Here we should see 2 files for nautilus and same ones for our file manager
# If those're missing, one should manually create *.desktop description files for "folder-handler" and "home". Use nautilus' files as examples.
3) For system wide config, edit /etc/gnome/defaults.list, replace variables:
inode/directory
x-directory/normal
with appropriate *.desktop files (pcmanfm example):
inode/directory=pcmanfm-folder-handler.desktop
x-directory/normal=pcmanfm-folder-handler.desktop
3) Per user config: go to user's home dir and edit:
.local/share/applications/mimeapps.list
replacing inode/directory entry in [Default Applications] with required *.desktop file, example:
inode/directory=pcmanfm-folder-handler.desktop
Done.
Підписатися на:
Дописати коментарі (Atom)
Немає коментарів:
Дописати коментар