Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Nemo/Nautilus – Where does the list of 'other applications' reside?

I’m using Ubuntu 21.10 with Nemo as my default file manager (because I like the split screen)

I was trying to change a default application to set Edrawmax to open .eddx files.
If I go to Nemo or Nautilus | Properties of the file | Open with and browse through the list of applications I see this:

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Note the two entries for edrawmax. They were not there the first time I tried this, I had to type ‘edrawmax’ in the commandline box. It worked fine then but for some reason reverted back to archive manager being the default application (probably after a recent regular application upgrade). I went to rest Edrawmax as the default app for eddx files and selected one of these. When I double clicked on the file Edrawmax spat an error saying it could not open the file.
I tried the same thing using Thunar. It shows this:
enter image description here
Note the extra entry for Edrawmax with the applications actual icon beside it. But even selecting this I got the same error, that Edrawmax could not open the file.
I then (in Thunar) typed edrawmax in the commandline input and that worked, I can now double click on a .eddx file and it opens correctly in Edrawmax.

My questions are:
Where are these entries stored so I can remove those two entries for edrawmax in nemo?
and
Why did the program (with icon) not show in Nemo or Nautilus but did in Thunar?
and
When I set it to work I had to type the command in the box to get it to work rather than select the item in the list (even the one with the icon in Thunar)?

>Solution :

The list of applications shown in the "Open with" dialog is compiled from the .desktop files installed on your system, and which also populate the menu. These are located in ~/.local/share/applications and in any application directory under one of the paths listed in XDG_DATA_DIRS. Only these launchers that are configured to handle a file or an URI are included in the "Open with" dialog, i.e., applications that have %f, %F, %u or %U as one of their arguments on the Exec= line.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading