When you manually install programs and you want to add them to the "Open With" list in the context menu, you usually have to create edit multiple .desktop
files I think is rather cumbersome as there are a lot of ways to make mistakes. Is there a a program with a GUI to do that for you? (Or maybe even a native way?)
I have found alacarte
but that only makes your programs available for adding to the launcher.
You can do the "hard" part (viz. creating a
.desktop
launcher in~/.local/share/applications/
) using the GUI toolalacarte
and then make a slight modification to the.desktop
file manually.Note that a
.desktop
launcher created withalcarte
is found in~/.local/share/applications/
and usually with a name of the formalacarte-made*.desktop
. You need to open such a file with a text editor and check/modify a couple of things:NoDisplay=true
line. This hides the application from your applications menu. So add (or modify) aNoDisplay=true
line.Make sure there is a proper field code (
%f
/%F
/%u
/%U
) at the end of yourExec=
line. This means the line should look likeor something similar, not simply