In Thunderbird settings I can tell it to use a specific program to open all pdf documents. I want to use the document viewer utility (evince) but I don't know how to indicate that to Thunderbird. If I try to browse (from within Thunderbird) to /usr/bin, which is where the most of the programs seem to be, "permission denied". If I scan through /user/bin using Nautilus, I can't find any program named 'evince' or 'document viewer' anyway. So where is evince and how do I tell Thunderbird to use it?
- The simplest solution is to install thunderbird from official ubuntu repositories:
sudo apt install thunderbird. Because of Thunderbird installed through
snapcould not see a list of installed apps.
- The second option is to install evince using snap:
sudo snap install evince. It will be available for opening pdf documents in thunderbird, installed through snap.
Make evince your default document viewer by right mouse button clicking on some.pdf file and set Document Viewer in Open With tab as your Default Application for this type of files:
In case of opening pdf files in Thunderbird it will be displayed as a default app for this type of files:
Make sure Evince is installed:
$ whereis evince evince: /usr/bin/evince /usr/lib/x86_64-linux-gnu/evince /usr/lib/evince /usr/share/evince
Also, make sure, its
.desktop files are present in
$ ls -ailh /usr/share/applications/*Evin* 1707752 -rw-r--r-- 1 root root 1,3K жов 8 02:28 /usr/share/applications/org.gnome.Evince.desktop 1707751 -rw-r--r-- 1 root root 401 жов 8 02:28 /usr/share/applications/org.gnome.Evince-previewer.desktop
So it could be visible in the main menu and from Open With properties tab.
If you want to access a binary without going to
/usr/bin where you do not have access from your user workspace, then create a symlink to it in your
mkdir ~/bin && ln -s /usr/bin/evince-previewer /home/user/bin/
Also, check permissions by:
ls -ailh /usr/ | grep bin 1441794 drwxr-xr-x 2 root root 72K бер 6 16:34 bin
You should have execution access marked as
x in that output for others.