Removing an app from Preferred Applications menu

I never really paid attention but there are apps within those lists that I will never use as a preferred app for the given task at hand.I would love to clean up those lists and get rid of the clutter,I'm sure it's simple but I've just never done it.

1 Like

Disclaimer: I'm not an expert on this topic, and I haven't tried these file modifications, but I've done some research. You might find that this post provides some background:

I believe apps are listed in the Preferred Applications dialog when their desktop launcher file contains a Categories key that contains some specifically named categories. For example, an app whose desktop file contains the line "Categories=Network;WebBrowser" will appear on the drop-down list labeled "Web Browser" in the Preferred Applications dialog. The "MimeType=..." key may also play a role in determining which apps are suitable for a particular use.

As far as I can see, to remove an app from these lists, you'd have to edit every desktop file for that app (many apps have more than one desktop file, in multiple locations), delete the keyword that causes it to be listed, and then re-run the command:

sudo update-desktop-database

so that it searches for all of the desktop files and rebuilds the lists of applications that are eligible to be selected as a preferred application.

1 Like

Right click a file of desired type and select Properties in popup context menu. Select Open with tab and manage the list of applications associated with the file type.

4 Likes

Similar to what Eugene has offered, but done differently, you could, for any file type, set the new Preferred Application choices by doing right-click on the file to get the "Open With" pop-up, which offers the options it knows about,


but you can override those and choose another App that is not listed, by clicking on "Other Application ...", which would then present you with the possibility to choose from all the installed applications on the global list presented as follows,


You then

  • scroll until you find the preferred app,

  • single-click on that selection,

  • be sure to make the correct selection of Permanent or Temporary choice (I always try at least once without the check in the box to verify that the selection does work to my expectations),

  • then click OK for that to be set as your Preference for all future selections of that filetype!

2 Likes

@ugnvs that did the trick!

It kills me that I didn't figure that out on my own!

2 Likes