This how-to is for correctly installing and/or removing the x/k/ed/ubuntu-desktop meta packages.
NOTE: No matter what distribution you have installed (ubuntu/kubuntu/xubuntu/edubuntu), you can have all four meta packages at the same time, and switch between them all the time.
NOTE: Meta packages are just packages that point to many other packages. So, if you remove the ubuntu-desktop package (with apt-get or synaptic) even though you have ubuntu installed, nothing will happen. All the packages will remain there, just the pointer ubuntu-desktop package will be gone, but essentially nothing will be removed. If installed with aptitude, like this guide, the meta package does get completely removed, along with all the packages it points to.
This is the best way to do it, because it is a lot easier to remove one of the desktop environments later using this method, if you don't want one of them anymore.
First of all, open a terminal:
gnome (ubuntu/edubuntu): Applications > Accessories > Terminal
kde (kubuntu): KMenu > System > Konsole
xfce (xubuntu): Applications > Terminal
The Guide
Ubuntu (Gnome):
To install:
Code:
sudo aptitude update&&sudo aptitude install ubuntu-desktop
To remove it:
Code:
sudo aptitude remove ubuntu-desktop
Kubuntu (Kde):
To install:
Code:
sudo aptitude update&&sudo aptitude install kubuntu-desktop
To remove it:
Code:
sudo aptitude remove kubuntu-desktop
Xubuntu (Xfce):
To install:
Code:
sudo aptitude update&&sudo aptitude install xubuntu-desktop
To remove it:
Code:
sudo aptitude remove xubuntu-desktop
Edubuntu (Gnome also):
To install:
Code:
sudo aptitude update&&sudo aptitude install edubuntu-desktop
To remove it:
Code:
sudo aptitude remove edubuntu-desktop
NOTE: Again to emphasize, since we used aptitude to install these packages, all packages will be removed, not just the meta package.
Also, if you installed the following using apt-get (which is what synaptic package manager uses) instead of aptitude, you might want to try these guides to get rid of all extra packages that came bundled with the desktop environment packages:
To have pure gnome go here
For pure kde go here
For pure xfce go here
Helpful Stuff:
To login using a different desktop environment, you would log out, choose options > session, and choose your desktop environment of choice. You can make it your default or not if you want to.
NOTE: If you install the k/x/ed/ubuntu-desktop package, there's a little bug where the splash screen (the boot-up and shut-down screen) gets taken over by any of the other desktop environments you have installed. If you want your old splash screen back, just paste this into a terminal:
Code:
sudo update-alternatives --config usplash-artwork.so
Choose usplash-default.so for the default brown ubuntu splash, or choose whichever one you like. Then paste this:
Code:
sudo dpkg-reconfigure linux-image-`uname -r`
and you're all set.
To change your default display manager (login window), paste this if you have x/ed/ubuntu:
Code:
sudo dpkg-reconfigure gdm
or this if you have kubuntu:
Code:
sudo dpkg-reconfigure kdm
and choose whichever one you would like.
Bookmarks