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.
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.
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
Use mimeopen to select the default option. The application will be available in Nautilus also.
From man mimeopen
-d, --ask-default
Let the user choose a new default program for given files.
Just run in terminal
mimeopen -d file.pdf
and choose your option. It will be default from Nautilus also.
Example:
souravc@vworkstation:~/Downloads$ mimeopen -d asgmnt.pdf
Please choose a default application for files of type application/pdf
1) Document Viewer (evince)
2) Adobe Reader 9 (AdobeReader)
3) Other...
use application #2
Opening "asgmnt.pdf" with Adobe Reader 9 (application/pdf)