Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have one problem. Just look at image: My Problem

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.

share|improve this question

3 Answers 3

up vote 7 down vote accepted

Enter the contextual menu of the file and go to the Properties of it. Then, go to Open with tab, right click on the application you want to remove and click on Forget association.

share|improve this answer
    
thanks a lot,it works!!! –  geoh Mar 25 '12 at 8:35
1  
This does not work for wine applications. –  To Do Nov 17 '12 at 16:09
    
@To Do, this may help you: askubuntu.com/questions/74266/… –  Alfredo Hernández Nov 25 '12 at 22:09
    
There is no Forget association button in Ubuntu 14.04 (or I can't find it) –  becko Mar 13 at 20:33
    
@becko I don't know what kind of patched version does Ubuntu use of nautilus. But the Forget association is definitely there in Nautilus 3.12/3.14. Are you sure you are right clicking into the application you want to forget? –  Alfredo Hernández Mar 13 at 20:47

Goto ~/.local/share/applications, edit the file mimeapps.list:

In [Added Associations] section, you will find your file extension, something like this:

application/epub=FBReader.desktop;<another apps.desktop>

Which means there are two apps will be shown in "Open with..." menu when right click an epub file, identify the one for Dev-C++ IDE in your case and remove it.

share|improve this answer

My Ubuntu 14.04LTS does not have a mimeapps.list.

I solved this issue creating a new file in /usr/share/applications called mimeapps.list with the following content:

[Added Associations]
inode/directory=audacious.desktop;pcmanfm.desktop;
[Removed Associations]
inode/directory=baobab.desktop;nautilus.desktop;nautilus-folder-handler.desktop;

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.

share|improve this answer

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.