Shihui Guo

Evince Doesn't open URL links (Ubuntu 12.04)

After upgrading my ubuntu from 10.04 to 12.04, the evince cannot open url links in either firefox or chrome. This seems to be a bug, see:

https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/964510
https://bugs.launchpad.net/apparmor/+bug/605586

To fix this, adding the following to /etc/apparmor.d/abstractions/ubuntu-helpers:


/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,

Then do

sudo apparmor_parser -r -W -T /etc/apparmor.d/usr.bin.evince

After doing this, when I click a href in evince, they can be successfully directed to chrome and open the correct page. lol

点击查看评论