Fix: Dolphin hijacks the GNOME Places menu

Posted by Keith Gable (ZiggyTheHamster) Thu, 08 Jan 2009 06:16:00 GMT

I had a problem where items in the GNOME Places menu were opening in Dolphin (and weren’t working). Somehow Dolphin hijacked the file:// protocol. The fix is simple though is something I just found by looking around in GConf Editor.

Why would I have Dolphin installed in GNOME you ask? Amarok 2.0 needs it. By the way it’s nice.

Do this as your normal user (not root):

gconftool-2 --set --type=string /desktop/gnome/url-handlers/file/command 'nautilus "%s"'
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/file/enabled true
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/file/need-terminal false

Hopefully other users find this through Google, because having the GNOME Panel’s Places menu launch Dolphin instead of Nautilus sucks, and this fixes it! :) (that’s a paragraph of keywords, folks)

(If you use a different file manager, replace the command as needed)