This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Ubuntu’s default desktop environment is Gnome. Sometimes people using Ubuntu want to try out Xfce as well, though.
Warning: having Xfce and Gnome together means you’ll have cluttered application menus full of Xfce applications and Gnome applications.
Even though these instructions are for Xfce, the same principle applies for adding Xfce to Kubuntu or adding KDE to Ubuntu or Xubuntu. Basically, you install the desktop environment, log out, and choose the desktop environment.
Xfce will start downloading and installing. You can click In Progress if you want to see the percentage of the task that’s complete.
Note: this will take significantly longer than other software packages to install, because this actually brings in a lot of packages, not just one. The Xubuntu Desktop system is what is called a metapackage, which means it’s an empty package, which is just a pointer to a whole group of other packages.
Then, before you log back in again, select Xubuntu session (instead of Gnome, which is Ubuntu’s default desktop environment).
If you decide you want to remove Xfce, it’s not enough to go to Ubuntu Software Center and remove the Xubuntu Desktop system package, as that is just an empty package that points to all the software packages that make up a default Xubuntu installation. Removing the pointer package won’t remove all the packages it points to.
If you want to remove Xfce, follow these instructions.
Resource : http://www.psychocats.net/ubuntu/xfce