Fix file open and “Open containing folder” on KDE/Kubuntu 12.04

By , 2012-04-12 16:02

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

11 Responses to “Fix file open and “Open containing folder” on KDE/Kubuntu 12.04”

  1. Test comment says:
    Safari 5.1.5 Safari 5.1.5 Mac OS X  10.6.8 Mac OS X 10.6.8
    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

  2. K says:
    Chromium 18.0.1025.151 Chromium 18.0.1025.151 Ubuntu 12.04 x64 Ubuntu 12.04 x64
    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!

  3. Firefox 12.0 Firefox 12.0 Ubuntu x64 Ubuntu x64
    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 🙂

    • Tormen says:
      Firefox 17.0 Firefox 17.0 Ubuntu x64 Ubuntu x64
      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

      The best answer!

      Thank’s!

    • jo says:
      Firefox 20.0 Firefox 20.0 Ubuntu x64 Ubuntu x64
      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)

    • BASTA! says:
      Firefox 30.0 Firefox 30.0 GNU/Linux x64 GNU/Linux x64
      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.

  4. Ñandekuera says:
    Firefox 15.0 Firefox 15.0 Ubuntu x64 Ubuntu x64
    Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0

    Thanks!

  5. Farvesh says:
    Firefox 14.0.1 Firefox 14.0.1 Ubuntu x64 Ubuntu x64
    Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

    Thanks, did the job!

  6. David L says:
    Firefox 16.0 Firefox 16.0 Ubuntu x64 Ubuntu x64
    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.

  7. Thilo says:
    Firefox 17.0 Firefox 17.0 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

    Nice one! Works … Best from Berlin 😉

  8. Google Chrome 25.0.1364.97 Google Chrome 25.0.1364.97 GNU/Linux x64 GNU/Linux x64
    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.

Leave a Reply to Test comment

 

Custom theme by me. Based on Panorama by Themocracy