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 installed Cinnamon 1.8 on Ubuntu 13.04, and now I would like to completely remove Unity and everything related to it, but I'd like to keep the programs, LightDM and Software Center.

What packages should I remove?

share|improve this question
1  
Hopefully there will ever be Cubuntu. –  Jop Vernooij Jun 2 '13 at 10:32

2 Answers 2

up vote 45 down vote accepted

I decided to get my hands dirty and hunt down all files related to Unity in Ubuntu 13.04. I will share my experience in switching to Cinnamon and completely remove Unity.

I am not responsible for any damage to your system nor any loss of data. A Backup is recommended.

First you will need to add the Cinnamon PPA and install it.

sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install cinnamon nemo

After Cinnamon is installed, logoff or reboot the system and login in Cinnamon. You can customize it now, or later, it's up to you.

Now you will need to make Nemo the default file manager.

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

Then run the command below, if Nemo opens this means that everything is configured correctly.

xdg-open $HOME

Now, let's get rid of Unity.

I searched carefully at all the files related to Unity, with the help of Synaptic, and gather them all into a single command line. The next command will completely remove Unity and everything related with it, but will keep LightDM, Software Center and all the programs that comes with Ubuntu.

sudo apt-get autoremove --purge unity unity-common unity-services unity-lens-\* unity-scope-\* unity-webapps-\* gnome-control-center-unity hud libunity-core-6\* libunity-misc4 libunity-webapps\* appmenu-gtk appmenu-gtk3 appmenu-qt\* overlay-scrollbar\* activity-log-manager-control-center firefox-globalmenu thunderbird-globalmenu libufe-xidgetter0 xul-ext-unity xul-ext-webaccounts webaccounts-extension-common xul-ext-websites-integration gnome-control-center gnome-session

Please note that there are a few libraries that will remain in the system, they are necessary, removing them will break your programs and possibly the system. These libraries should remain:

gir1.2-unity-5.0 libunity-common libunity-protocol-private0 libunity9 unity-asset-pool unity-greeter

There is a Thunderbird extension called “Messaging Menu and Unity Launcher integration” that needs to be removed from its folder.

sudo rm /usr/lib/thunderbird-addons/extensions/messagingmenu@mozilla.com.xpi

Cinnamon uses Muffin as window manager, so you can safely remove Compiz.

sudo apt-get autoremove --purge compiz compiz-gnome compiz-plugins-default libcompizconfig0

If you installed Nemo you can remove Nautilus as well.

sudo apt-get autoremove --purge nautilus nautilus-sendto nautilus-sendto-empathy nautilus-share

Optionally, you can remove Zeitgeist, which is considered intrusive by many users, this will also free some memory and reduce hard disk access.

zeitgeist-daemon --quit
sudo apt-get autoremove --purge activity-log-manager-common python-zeitgeist rhythmbox-plugin-zeitgeist zeitgeist zeitgeist-core zeitgeist-datahub

You can also remove configurations files related to Unity, Compiz, Nautilus and Zeitgeist, on your home directory. They are in the following paths:

~/.local/share/unity-webapps
~/.compiz
~/.config/compiz-1
~/.config/nautilus
~/.local/share/nautilus
~/.local/share/zeitgeist

Another good tip is install Bleachbit, to remove temporary files from your system.

sudo apt-get install bleachbit

That's it, now reboot the system to clear the memory and make sure everything is fine. If all went well, you now have a clean and elegant system running!

With Cinnamon my system became much more fluid, especially on gaming, and the memory consumption has been reduced by 118MB.

Unity: 579MB vs Cinnamon: 461MB

Hope this helps.

share|improve this answer
1  
Updated: Added instructions on how to remove Compiz and Zeitgeist. –  Dennis May 11 '13 at 2:26
    
Very proactive and thorough, Dennis. Kudos! –  gravity May 14 '13 at 19:01
    
@gravity I appreciate it, thanks! –  Dennis May 15 '13 at 4:00
    
@Dennis this is really a great answer... –  Amit May 30 '13 at 6:10
    
This one break my system.. I have a desktp with some icons. No unity or Cinnamon. –  Roshan George Jun 18 '13 at 0:29

Hi there thanks for this very well done.

I also found these should be able to be removed:

sudo apt-get remove unity-lens-applications unity-lens-files unity-lens-friends unity-lens-music unity-lens-photos unity-lens-shopping unity-lens-video
share|improve this answer
1  
unity-lens-* which is included on my first command, will get rid of the files you mentioned. –  Dennis Jun 22 '13 at 4:56
    
This answer adds nothing new of value. –  Matt Joiner Oct 6 at 3:55

protected by Community May 28 '13 at 21:41

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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