I've read this Q&A and I'm ready to try it with Xubuntu. That is, I'll go from Ubuntu to Xubuntu.

At this moment, my laptop is slow, even after the various optimizations. My question is whether this is the correct way to proceed.

sudo apt-get upgrade           # upgrade all existing packages to newest version
sudo do-release-upgrade        # upgrade system (takes some hours)   

sudo apt-get xubuntu-desktop   # switch to Gnome on login

Remove the ubuntu-desktop package (Which command should I use?)


2 Answers 2


Sort of, there's a typo (you need install in your installation line). You also don't need to remove ubuntu-desktop and I certainly wouldn't do this until you're happy with what you've got. Here's what I would do:

  1. Install Xubuntu task

    sudo apt-get install xubuntu-desktop^
  2. Log out, log back in, selecting Xubuntu/Xfce as my interface

  3. Chill out for a few days. See that things still work. There will be too many applications (eg there will be both GNOME's and Xfce's default applications available but you want to make sure you'll have everything you need when you remove GNOME/Unity/Whatever.

  4. Clean up.

    sudo apt-get remove ubuntu-desktop
    sudo apt-get autoremove # removes dependencies of ubuntu-desktop

Note: we need to install Xubuntu task (xubuntu-desktop^) to avoid bug 1754872 with meta-package.

  • 1
    I did give it a try, but will revert to ubuntu. It's not so much faster than ubuntu.
    – GUI Junkie
    Oct 29, 2011 at 17:17
  • 7
    speed? you're not doing it right. Install xubuntu from scratch and disable extra services. It'll be faster. even better - get minimal ubuntu cd and install xfce. ther is really not much more in xubuntu. ohh - you'll get it faster.
    – Stann
    Oct 30, 2011 at 1:26
  • 2
    In my case the old dependencies are not deleted. I have Trusty Tahr stable.
    – keiki
    Apr 17, 2014 at 19:00
  • 3
    Wish i could kiss you, hate how resource hungry unity and ubuntu-desktop have become
    – nkvnkv
    Jan 24, 2016 at 1:51
  • 1
    nevermind, you have to remove unity as well (& unity-greeter)
    – phil294
    Nov 23, 2016 at 1:32

You might want to switch to lightdm too. So after finishing the upper answer (perfect, thanks for that!) you have to run as root (or with sudo)

dpkg-reconfigure lightdm

Check out the following question with screenshots: How to change from GDM to LightDM?

You must log in to answer this question.

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