Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Firefox 15 on Ubuntu 12.04.

If I go to a website with a .deb link, Firefox downloads the file, then tries to open it with gedit. If I use Nautilus to open the .deb file, it runs it in either gdebi or Ubuntu Software Center (I've experimented with both).

Oddly, no matter what I've done I can't seem to get Firefox to believe that debs should not be opened by gedit. See below from my mimeapps.list. Also, there are no references to my .deb files in /usr/share/applications/defaults.list

FF Opening In Dialog

~/.local/share/applications/mimeapps.list

~/.local/share/applications/mimeapps.list

share|improve this question
Change the mime type settings in firefox application settings.Im not sure what the desktop stuff has to do with your case.For instance if you picked save file instead of open with then clicked the saved .deb it should open as its supposed to however the action taken is through firfox. – damien Sep 7 '12 at 14:42

1 Answer

up vote 3 down vote accepted

Firefox also has its own application list. Check Preferences->Applications, then find the Debian files. It probably says "Always ask" next to it if you haven't changed anything. If you click on "Always ask" you can select "Use other" and pick the Ubuntu software center or Synaptic or whatever you'd like it to be (though unfortunately you will have to use the file finder to actually get to the application file, which can be a slight annoyance). The Ubuntu Software Center is in /usr/bin/software-center and gdebi can be found in /usr/bin/gdebi-gtk.

share|improve this answer
2  
This is where I use gdebi-gtk. It's much smaller and faster than USC or synaptic. Plus, gdebi still provides a description of the app and will handle dependancies. It can be found at /usr/bin/gdebi-gtk. – matt davis Sep 7 '12 at 16:53
Thanks both of you. @Matt Davis, I configured your variant as I agree regarding smaller/faster. – Kendor Sep 7 '12 at 20:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.