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 wanted to try gnome-shell in 11.10 (also 12.04 now)

I removed it, however, classic Gnome is still there and the battery icon is changed (too big and can't use a icon pack on it like faenza)

Also, numerous applications were added and the entries remain on the login screen.

How can I remove it completely, rolling back all changes made when installing gnome-shell?

share|improve this question
    
What is the effect of removing gnome-shell? I'm not sure I understand the reasoning of why you want to do this. Anyone know the answer? –  djangofan May 23 '12 at 23:57
    
@djangofan I installed it while testing something else, and no longer need it. I want the space back, that's all. –  Tom Brossman May 24 '12 at 23:34
add comment

6 Answers

Sounds like you're logging in to the Gnome fallback session, which is installed along with gnome-shell. Remove that, too, and things should be back to normal.

The following terminal commands will take care of that:

sudo apt-get remove gnome-session-fallback
sudo apt-get markauto

The second command will remove any other auto-installed packages whose dependents are no longer installed (like gnome-panel and gnome-applets).

You might want to change your theme back to Ambiance, if you changed it to Adwaita for Gnome Shell, and you can do that in System Preferences under Appearance.

share|improve this answer
add comment

software center

Gnome-Shell and Gnome-Classic (also known as gnome-fallback/gnome-session-fallback) can be simply removed from the Software Center:

search for gnome shell

enter image description here

search for gnome-session-fallback

enter image description here

remove all packages

However, removing from the software center does not remove every package originally installed.

To do this, copy and paste the following into gnome-terminal:

to remove gnome-shell

sudo apt-get purge alacarte cups-pk-helper gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-folks-0.6 gir1.2-gconf-2.0 gir1.2-gdesktopenums-3.0 gir1.2-gee-1.0 gir1.2-gjsdbus-1.0 gir1.2-gkbd-3.0 gir1.2-json-1.0 gir1.2-mutter-3.0 gir1.2-networkmanager-1.0 gir1.2-panelapplet-4.0 gir1.2-polkit-1.0 gir1.2-telepathyglib-0.12 gir1.2-telepathylogger-0.2 gir1.2-upowerglib-1.0 gir1.2-xkl-1.0 gjs gnome-applets gnome-applets-data gnome-contacts gnome-icon-theme-full gnome-panel gnome-panel-data gnome-session-fallback gnome-shell gnome-shell-common gnome-themes-standard indicator-applet-complete libcaribou-common libcaribou0 libclutter-1.0-0 libclutter-1.0-common libcogl-common libcogl-pango0 libcogl9 libgjs0c libmozjs185-1.0 libmutter0 libpanel-applet-4-0 mutter-common python-gmenu

to remove gnome-classic

sudo apt-get purge alacarte cups-pk-helper gir1.2-gconf-2.0 gir1.2-panelapplet-4.0 gnome-applets gnome-applets-data gnome-panel gnome-panel-data gnome-session-fallback indicator-applet-complete libpanel-applet-4-0 python-gmenu
share|improve this answer
    
+1 Now that is a very thorough answer, well done. –  Tom Brossman May 25 '12 at 21:02
add comment

Hey I had the same problem. All you have to do is go to terminal, type

sudo apt-get purge gnome

If all goes well, further type

sudo apt-get autoremove

This should completely remove all gnome related packages. Then go to appearance and restore your original theme. You may have to restart your computer. After that everything should work fine.

share|improve this answer
1  
oops. the terminal commands don't have full stops at the end of course. Sorry, first timer... –  Sidharth Oct 14 '11 at 10:10
    
@James Henstridge Does this also remove the applications that get installed, like Gnome Contacts and Linux Feed Reader? Also, what about the options presented at login? –  Tom Brossman May 20 '12 at 19:01
    
@TomBrossman: the autoremove command will remove any package that isn't required by one you explicitly installed. So if those packages were only installed as a dependency of gnome, then they would probably be removed. –  James Henstridge May 21 '12 at 0:58
add comment

If you installed using Gnome3 ppa you would better use ppa purge. it is now integral part of Ubuntu tweak. So download Ubuntu tweak and check purge ppa and there you are Also see: How do I install and use the latest version of GNOME 3?

share|improve this answer
    
The 11.10 tag and should give you an Indication he did not install it through a PPA... –  Uri Herrera Oct 11 '11 at 16:16
2  
So you think it was good thing to add that -ve to my answer and ignore the IF completely? It was completely unnecessary to down vote it simply because I didn’t see the tag –  Stefano Oct 12 '11 at 14:45
1  
Yep, Not only in the tag it says 11.10, the question itself says 11.10 and never does he mention the installation of a PPA nor he needs to install Ubuntu tweak to solve this. –  Uri Herrera Oct 13 '11 at 2:08
    
Alright then, I have up voted your comment! –  Stefano Oct 13 '11 at 11:05
add comment

Gnome-shell started crashing after I installed some extensions from https://extensions.gnome.org/] I have done the following:

First as i saw in How to completely uninstall gnome-shell and all extensions?:

sudo apt-get remove gnome-shell-extensions-*

But this doesn't work at all. When logging on gnome tried to load those problematic extensions and the crashed again. So I tried:

sudo apt-get purge gnome-shell-*

As i saw in an answer to that thead. I decided to reinstall gnome-shell and i arrived to this actual thread. I went with

sudo apt-get remove gnome-session-fallback
sudo apt-get markauto

as Dylan McCall said. To be sure, I added what fossfreedom pointed:

sudo apt-get purge alacarte cups-pk-helper gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-folks-0.6 gir1.2-gconf-2.0 gir1.2-gdesktopenums-3.0 gir1.2-gee-1.0 gir1.2-gjsdbus-1.0 gir1.2-gkbd-3.0 gir1.2-json-1.0 gir1.2-mutter-3.0 gir1.2-networkmanager-1.0 gir1.2-panelapplet-4.0 gir1.2-polkit-1.0 gir1.2-telepathyglib-0.12 gir1.2-telepathylogger-0.2 gir1.2-upowerglib-1.0 gir1.2-xkl-1.0 gjs gnome-applets gnome-applets-data gnome-contacts gnome-icon-theme-full gnome-panel gnome-panel-data gnome-session-fallback gnome-shell gnome-shell-common gnome-themes-standard indicator-applet-complete libcaribou-common libcaribou0 libclutter-1.0-0 libclutter-1.0-common libcogl-common libcogl-pango0 libcogl9 libgjs0c libmozjs185-1.0 libmutter0 libpanel-applet-4-0 mutter-common python-gmenu
sudo apt-get purge alacarte cups-pk-helper gir1.2-gconf-2.0 gir1.2-panelapplet-4.0 gnome-applets gnome-applets-data gnome-panel gnome-panel-data gnome-session-fallback indicator-applet-complete libpanel-applet-4-0 python-gmenu

And I ended with Sidharth's indication:

sudo apt-get purge gnome
sudo apt-get autoremove

When I was heading to reboot, I wasn't able to do that from the gui anymore (i was doing all thi from an xfce-session). So i rebooted from the Terminal. Now the system does not start. It says something like:

the system is running in low-graphics mode your screen, graphics card, and input device settings could not be detected correctly.
you will need to configure these yourself.
what would you like to do?
-run in low-graphics mode for just one session
-reconfigure graphics
-troubleshoot de error exit to console login

Which of the steps messed up things? I think it would be useful to discover which, so no one else has my problem. An if you have any ideas of how to recover my system without reinstalling, it would be highly appreciated. Thank you in advance.

share|improve this answer
add comment

I have never ever installed Gnome-Shell on my Ubuntu 12.04 install, and I'm sorry to tell you that the battery icon is just big and ugly when using the Faenza Icon set. It has nothing to do with installing any other shell or desktop environment. I have nothing but Unity installed on my box. If you change from the default Ubuntu icon theme, the battery icon changes in this way. Possibly to some generic pixmap icon or something. I'm pretty sure it has nothing to do with installing or removing any other DE or Shell.

share|improve this answer
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.