Can applications in the right click menu be edited?

See picture to better understand.

Can these be edited.

It's what shows up when you right click a file and Open With.

I hoping the answer is yes. :slight_smile:

I know some were created, so there should be some config file ???

are you wanting to add more or erase some

I do not understand your reply?

I canā€™t really understand what youā€™re trying to sayā€¦

These come from preferred applicationsā€¦ for example in your case the first option is VLC because that must be set as the default application that can open that kind of fileā€¦

About the other options, right-click>properties>openwith will show you some applications and those are what show up when you right-click on a file for ā€œavailable/recommendedā€ applications for that fileā€¦

1 Like

I guess I am being picky.

Thanks for your insight.

are you wanting to add more applications to that list or remove some that were added

Remove some that were added.

Iā€™m afraid I would not know how to do that

I wonder why you would ask that, and then say you don't know how to remove some. :slight_smile:

adding is not hard removing idk

try looking in

/usr/share/applications/mimeinfo.cache

or

~/.local/share/applications/mimeinfo.cache

the .desktop files listed are in same applications folder

Package updates are likely to write new entry and return menu items

I found this. But did not find "open with vlc"

video/mp4=vlc.desktop;

I will look into my desktop files.

The properties of a file has an ā€œOpen Withā€ tab with a listing which is editable. It affects all files of that file/mime type. Or am I missing something?

I think same
the mimeinfo.cache file indexes filetypes to program launcher
There are probably much better ways to edit MIME types than just hacking in file

I used to have a problem with Firefox, where clicking the ā€˜show download folderā€™ would open a music player rather than a file manager.
The music player was being written to the mimeinfo.cache list ahead of firefox.
Deleting the music player .desktop or moving it after firefox.desktop was enough to get firefox working right

I found out that when I use Open With and Open With other application,
I can right click and then choose Remove launcher.

1 Like