Ubuntu – Why don’t hyperlinks open in evince document viewer
evince
I am using Evince document viewer as default in ubuntu 12.04.
How do I get a hyperlink to open when clicking on it?
Best Answer
You encountered a bug but there is a quick fix, I just did it and it worked, thanks to @maggotbrain by the way.
He pointed me to this comment, and the suggested solution worked. So I was able to fix this issue with google chrome by doing the following:
Open a terminal, type gksudo nautilus and hit enter,type your password and hit enter again, so now you are running nautilus with root privileges.
On nautilus go to /etc/apparmor.d/abstractions/
Open the ubuntu-helpers file and locate this lines inside:
# Allow exec of libexec applications in /usr/lib*
/usr/lib*/{,**/}* Pixr,
You will insert this block of text after those lines:
# From https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/964510/comments/12
# While the chromium and chrome sandboxes are setuid root, they only link
# in limited libraries so glibc's secure execution should be enough to not
# require the santized_helper (ie, LD_PRELOAD will only use standard system
# paths (man ld.so)).
/usr/lib/chromium-browser/chromium-browser-sandbox PUxr,
/opt/google/chrome/chrome-sandbox PUxr,
/opt/google/chrome/google-chrome Pixr,
/opt/google/chrome/chrome Pixr,
/opt/google/chrome/lib*.so{,.*} m,
but before this line:
# Full access
Save the file, close nautilus.
Finally, type sudo apparmor_parser -T -W -r
/etc/apparmor.d/usr.bin.evince on the terminal and hit enter, wait a few seconds until there is a line break and the cursor is awaiting for new input, this means the command went through with no problems :) hope it was helpful.
Under Evince 3.4 you can activate a "back" button by editing the toolbar (Edit → Toolbar; drag and drop functions to toolbar):
I don't think there's any hotkey by default but you might be able to add a custom one.
If you're looking for customization you might be better off with a PDF viewer like Okular or qpdfview anyway. Both should offer the function you're searching for.
Best Answer
You encountered a bug but there is a quick fix, I just did it and it worked, thanks to @maggotbrain by the way. He pointed me to this comment, and the suggested solution worked. So I was able to fix this issue with google chrome by doing the following:
gksudo nautilus
and hit enter,type your password and hit enter again, so now you are running nautilus with root privileges./etc/apparmor.d/abstractions/
Open the
ubuntu-helpers
file and locate this lines inside:# Allow exec of libexec applications in /usr/lib*
/usr/lib*/{,**/}* Pixr,
You will insert this block of text after those lines:
but before this line:
Save the file, close nautilus.
Finally, type
sudo apparmor_parser -T -W -r /etc/apparmor.d/usr.bin.evince
on the terminal and hit enter, wait a few seconds until there is a line break and the cursor is awaiting for new input, this means the command went through with no problems :) hope it was helpful.