I have one problem. Just look at image:
So I want to remove one of Dev-C++ IDE and Microsoft Visual Studio Version Selector (I've tried to install Microsoft Visual Studio and it doesn't works,and one of the Dev-C++ IDE too). But I don't know how to change that list. I am using Ubuntu 11.10.
Enter the contextual menu of the file and go to the
Properties
of it. Then, go toOpen with
tab, right click on the application you want to remove and click onForget association
.Goto
~/.local/share/applications
, edit the filemimeapps.list
:In [Added Associations] section, you will find your file extension, something like this:
Which means there are two apps will be shown in "Open with..." menu when right click an
epub
file, identify the one forDev-C++ IDE
in your case and remove it.My Ubuntu 14.04LTS does not have a mimeapps.list.
I solved this issue creating a new file in
/usr/share/applications
calledmimeapps.list
with the following content:In this case, the configuration will remove applications from the context menu of any folder. I got most of the information from here: https://wiki.archlinux.org/index.php/default_applications
UPDATE
I have also found
mimeapps.list
in~/.local/share/applications
. I guess if you add the same lines to that file, it will work too.Nautilus, Thunar et al. take their information from
mimeapps.list
files¹.So the solution is to edit
.config/mimeapps.list
and/or.local/share/applications/mimeapps.list
. Add entries in the[Removed Associations]
section like so:Look here for some details.
You might have to do some digging to find the correct
.desktop
files; note, for instance, that multiplewine-*.desktop
files declared the same application forimage/jpeg
.mimeinfo.cache
files are populated byupdate-desktop-database
from the.desktop
files you have around. I don't know how those relate tomimeapps.list
; see here.