Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my Ubuntu 11.10 install, I want to use gpicview instead of eog. Therefore, I'd like to remove eog. Whenever I do sudo apt-get remove eog though, I'm notified that doing this will also remove ubuntu-desktop. But I want to keep using Unity 2D.

How can I remove eog while keeping the Unity-2D session?

share|improve this question
Is there any harm in just keeping eog? – zpletan Apr 3 '12 at 16:00
Well, not really harm. But it bothers me that image files are getting opened in eog which is slow, compared to gpicview. Of course, I can set every extension to be opened with gpicview, but removing eog would be far easier. – Exeleration-G Apr 3 '12 at 18:25
up vote 3 down vote accepted

I believe ubuntu-desktop is a "metapackage" aka a package of packages. MetaPackages. Thus when you un-install a package in that metapackage it un-installs the metapackage, but not the other packages in the metapackage, so removing eog and letting it un-install ubuntu-desktop should not harm Unity 2D, they made the ubuntu-desktop metapackage for ease of installing many programs and upgrading them all in one go. what-are-the-downsides-of-removing-ubuntu-desktop-metapackage

Edit: Is it safe to remove ubuntu-desktop package? Seems distributions will still upgrade, because it forces install of desktop metapackage, and will still upgrade.

share|improve this answer

This answer doesn't remove eog, but it does make setting all pictures to open with gPicView easier.

  1. Type Alt+F2 to get the run dialog, and then type gksudo gedit /usr/share/applications/defaults.list. Type in your password at the prompt.
  2. Go to Search->Replace. Replace all instances of eog with gpicview. Close gedit.

That should set everything to use gPicView, and you can go on as if you had uninstalled eog, while still keeping the ubuntu-desktop package.

share|improve this answer
Thanks, I'll do that in the future. – Exeleration-G Apr 3 '12 at 19:00

Your Answer


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.