Gnome's "Open With" list

Link: http://ubuntuforums.org/showpost.php?p=2217749&postcount=8

Here is the list of MIMEs and associated applications (for all users):
/etc/gnome/defaults.list

User created (added) applications are stored here:
~/.local/share/applications/

The best way to remove application from "Open with" would be to edit corresponding application.desktop and remove the MIME from the MimeType section. And after that do
sudo update-desktop-database

Files .desktop are stored in two locations:
/usr/share/app-install/desktop
/usr/share/applications


Ok, the easy way. By 'easy' I mean - it's working but if you run update-desktop-database the list is reverted back to defaults.
gksudo gedit /usr/share/applications/mimeinfo.cache

 

Comments