28

or any other program while i'm at it, ubuntu built-in utilities are nice but there are better.

5 Answers 5

28

There are two ways to do this.

The Easy Way

The first is to right click on a picture in your file manager, select Properties and then navigate to the Open With tab, then select the application you want and click Close:

alt text

The Second Way

You can also right click on files you want to change by right clicking on them selecting Open With -> Other Application ...

alt text

From there you will have the option on what program you want to use to open that file, select your preferred viewer from the list:

alt text

You need to make sure you check the bottom checkbox.

2
  • how do you do this from the cli? Mar 21, 2018 at 18:39
  • 1
    Exactly what I needed to have InkScape as my default image viewer. Dec 28, 2021 at 16:47
12

You can use Ubuntu Tweak to do this.

Once you have installed it, Applications -> System Tools -> Ubuntu Tweak -> System -> File Type Manager -> Image.

alt text

3
  • 2
    I was going to suggest this, but I've been voted down for suggesting it before so I didn't :(
    – RolandiXor
    Nov 30, 2010 at 0:37
  • 3
    @RolandTaylor Yeah, someone down voted me too. Real lame to not tell someone why you are down voting them.
    – Isaiah
    Nov 30, 2010 at 2:04
  • This is certainly the best answer for images since there are so many types and other methods are slow. Thanks DoR!
    – idbrii
    Apr 4, 2011 at 21:13
10

Go to the:

System Settings > Details > Default Applications

And set Photos

enter image description here

3

You can go to system->preferences->preferred applications in your menu to change many of your applications, but you can also right click your files (like image files), click properties, and then open with. You can choose a default application from here for your file type :).

There may be a gconf entry for the image viewer, but I'm not sure where it is, so maybe I will add that to my answer later.

2
  • 1
    There's no photo option in Preferred Applications. Nov 30, 2010 at 2:07
  • " to change many " and " but you can also right click your files (like image files), click properties, and then open with. You can choose a default application from here for your file type :). "
    – RolandiXor
    Nov 30, 2010 at 2:18
0

Next question: how to change the default app for a batch of filetypes?

This annoying default filetype associations problem annoyed me so much that I wrote an article about it! It is a somewhat clumsy solution but it works.

How to change default programs on Ubuntu

Hope it helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .