38

On Ubuntu 10.10 I would like to change my default pdf viewer to acroread.

I do not have sudo privilidges, so I want to make this change for my own user only. Acroread is already installed.

62

To set the file associations :

  1. Right Click on the file
  2. Choose Properties
  3. Go to the Open With tab.
  4. Choose your file viewer. For eg. acroread.
  5. That's it. Click on close.

alt text

Also see this answer for an alternative method.

  • Why it doesn't let me add acreader? It's not even among the possibilities – rodi May 13 '15 at 9:12
  • I don't think Adobe is detected because of the way it is installed. See bernaulli's answer for a workaround. – Nemo May 14 '15 at 11:25
  • 1
    If it's not being detected, then "sudo gedit /usr/share/applications/acroread.desktop" and change the line "Exec=acroread" to "Exec=acroread %U". Then it should show up on the list as described above. – Gsxr1k Jun 25 '16 at 17:30
  • @Gsxr1k: Thanks, that works for me in Fedora 26, while bernaulli's method didn't work. – justhalf Sep 21 '17 at 14:16
15

To set the default program to pdf

  1. gedit ~/.local/share/applications/defaults.list
  2. Add application/pdf=acroread.desktop

This will set the pdf default program as adobe reader

  • 2
    I edited the post without being connected so I don’t know if it will go through peer review. Anyway, on ubuntu 16.04 the file to edit is ~/.local/share/applications/mimeapps.list. – Ulysse BN Feb 19 '17 at 19:57
6

An update for Ubuntu 13.04. I am, however, using Gnome fallback session with no effects.

I wanted to use Foxit Reader 1.1 for my default PDF viewer, but I couldn't add it through right-click in file manager and "Open With," right-click properties and "Open With," or through "System Setting" → "Details" → "Default Applications".

What did work for me was "Ubuntu Tweak":

  1. The PDF default is under the "Admins" tab, then click the "Applications Centre".
  2. Look for "All" in the "Category" column on the far left.
  3. Scroll down to find the "PDF" file type and the "Associated Application".
  4. Double-click to change (brings up a window) where you can "Add" an application through one provided or find your own.
  • This worked for Adobe Acrobat Reader, under Ubuntu 13.10. – david6 Nov 2 '13 at 6:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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