Ubuntu – Nautilus’s ‘open with’ list

nautilusplasma

In nautilus when I try to open a pdf with Adobe Reader, I cannot find Adobe Reader in open with.... In dolphin there's not such problem.

How can I add Adobe Reader Link to "Open With…" list in nautilus?

I use nautilus in KDE environment.

Best Answer

the installed program have a .desktop that have to be edited to be listed in nautilus's "open with list"
to do that,you first have to locate that file

ls /usr/share/applications/`

you should be able to guess the .desktop associated with your program.
let's say i want to add vlc to the list, i edit the desktop file with

sudo gedit /usr/share/applications/vlc.desktop

and change Exec=vlc to Exec=vlc %u

in your case you edit:

sudo gedit /usr/share/applications/AdobeReader.desktop

and change Exec=AdobeReader to Exec=AdobeReader %u