Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Evince document viewer as default in ubuntu 12.04.

How do I get a hyperlink to open when clicking on it?

share|improve this question
add comment

2 Answers 2

  • Open the /usr/share/applications/mimeinfo.cache file.
  • Search for the lines containing x-scheme-handler/http= and x-scheme-handler/https=.
  • You should have either firefox.desktop or any other browser name followed by .desktop after the text in those lines.
  • For example the line may read:
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
share|improve this answer
add comment

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:

  1. 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.
  2. On nautilus go to /etc/apparmor.d/abstractions/
  3. Open the ubuntu-helpers file and locate this lines inside:

    # Allow exec of libexec applications in /usr/lib*

    /usr/lib*/{,**/}* Pixr,

  4. 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
    
  5. Save the file, close nautilus.

  6. 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.

share|improve this answer
1  
If by any chance it didn't work just open the file again, erase the same lines, save it and run sudo apparmor_parser -T -W -r /etc/apparmor.d/usr.bin.evince again. –  JorgeArtware Jul 9 '13 at 8:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.