This will make Firefox “Open Containing Folder” obey the settings you have set in your Desktop Environment (KDE, GNOME, anything else that pays attention to freedesktop.org to open folders with your preferred application (Dolphin, Konqueror, Nautilus, etc):
mkdir -p /usr/local/share/applications/xdg
cat <<EOF >/usr/local/share/applications/xdg/open.desktop
[Desktop Entry]
Name=Open
Exec=xdg-open
EOF
Open /usr/local/share/applications/defaults.list with your favourite editor. Find the line that contains:
[Default Applications]
If it’s not in the there, add it. Then directly below that line, add this line:
x-directory/normal=xdg-open.desktop
So now the file has this in it::
[Default Applications]
x-directory/normal=xdg-open.desktop
(And maybe some other items below it if the file already existed).
Now you can right click on the downloads in Firefox and choose “Open Containing Folder” to have the folder open with the correct file browser. You may have to wait a few moments or restart your desktop environment so it notices the change.
September 23, 2009 at 5:02 pm |
Hello,
My “Open Containing Folder” from Firefox is working fine. But it was not working before i updated it. So it might help who didnt update their firefox and many other peoples
Thanks for sharing it…
Regards,
Mihir
ask4itsolutions.com
September 24, 2009 at 5:02 am |
Just copied/pasted that from notes made at the time, maybe it is out of date and they have fixed it now but I’ll leave the post up in case it’s still useful to someone.