Fix file open and “Open containing folder” on KDE/Kubuntu 12.04
Kubuntu 12.04 is no longer a Canonical-maintained distribution. As such, support for the firefox-kde-support package has been discontinued.
Here’s a workaround to get firefox’s downloaded file handling to work correctly:
Here is a workaround for the Firefox problem from Canonical support:
1) stop firefox
2) rm ~/.mozilla/firefox//mimeTypes.rdf
3) start firefox
4) download a file
5) open it from the downloads menu and choose the application. Browse to /usr/bin/xdg-open. then check to remember your choice
Source: http://askubuntu.com/a/113090
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3
test
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19
Thank you so much!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
I found a really simple solution for the “Open containing folder” issue now that firefox-kde-support has been dropped:
$ sudo vim /usr/share/applications/defaults.list
Search for the line:
inode/directory=nautilus.desktop
and replace with
inode/directory=dolphin.desktop
Now Firefox uses Dolphin 🙂
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0
The best answer!
Thank’s!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
Thanks! I also had to
$ sudo cp /usr/share/applications/kde4/dolphin.desktop /usr/share/applications/
And never use “sudo vim” but rather “sudo -e /usr/share/applications/defaults.list”! (or emacs tramp)
Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
As of Firefox 30.0 on Archlinux, this method does not work at all. Firefox just stubbornly “open containing folder” in Nautilus no matter what.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Thanks!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Thanks, did the job!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Hey, man, that firefox-“open containing folder” solution what I was looking for! Many thanks! Best regards from Colombia, South America.
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0
Nice one! Works … Best from Berlin 😉
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22 FirePHP/4Chrome
I found I had to make that:
inode/directory=kde4/dolphin.desktop
There was no line to replace. I just added it in.