Quantcast
Free Agent
Free Agent
Matthew Newton keeps a watchful eye on Open Source and Free Software, and shows that you don't need commercial apps to get the job done.
Show article:

Switching Desktops on Ubuntu

Here's how to test-drive the 'Big Three' desktop environments on Ubuntu Linux and switch among them at will.

Matthew Newton, PC World

  • 0 Yes
  • 0 No

Housekeeping for Multiple Desktops

Click to view full-size image.
If you have multiple desktop environments installed on an Ubuntu box, you'll have to deal with a few housekeeping issues. First, it's easy to end up with boot graphics and a log-in screen you don't want. For instance, I wanted to have KDE on my machine, but I'm not up for the blue Kubuntu boot graphics or the kdm display manager--I want the standard brown Ubuntu boot graphics and gdm popping up with Ubuntu's default theme. So after installing kubuntu-desktop, I had to put those elements back in place.

Choosing boot graphics: To select artwork for the boot and shutdown screens, enter the following two commands in a Terminal window:

sudo update-alternatives --config usplash-artwork.so

sudo update-initramfs -u

After you enter the first command, you'll be given a choice among Ubuntu, Kubuntu, or Xubuntu-themed artwork (assuming you've installed these desktop meta-packages). Type the number that corresponds to your choice and press Enter. Then issue the second command (which will take a few moments to run; have patience).

Tweaking the display manager: The following command will let you switch between gdm and kdm:

sudo dpkg-reconfigure gdm

Replacing gdm with kdm in that command will yield the same result--either way, you'll see the same text-based chooser you saw when you first installed a new desktop meta-package. Select kdm or gdm with the keyboard. Easy enough. But if you've chosen gdm, you may have one more step. If on boot you see an Ubuntu-style log-in when you expected an Xubuntu-style log-in (or vice versa), here's the command you need:

sudo gdmsetup

In the dialog box that pops up, go to the Local tab, make sure 'Style' is set to 'Themed' and 'Theme' is set to 'Selected only', and then choose either the Human or the Xubuntu theme from the list. Also note the 'Background color' widget here; it lets you set the color of the blank screen that appears before and after gdm's log-in screen.

Sending it all back: So you've given a different desktop a try, and you realize you hate it and want to reclaim the space on your drive now taken up by the packages for that foul, alien environment? No problem. This is why we used Aptitude to install our desktop packages--it more or less remembers everything that came along for the ride and can send it all back from whence it came. The command you'll need is:

sudo aptitude remove kubuntu-desktop

Just substitute ubuntu-desktop or xubuntu-desktop if either of those was the meta-package you added to your installation.

Matthew Newton is PC World's QA engineer and unofficial Linux guru. Which of Linux's Big Three desktop environments is your favorite? What secrets have you uncovered? What's your biggest Linux gripe? Speak Freely in the Comments section below!

  • Recommend this story?
  • 0 Yes
    0 No

"Switching Desktops on Ubuntu" Comments

Related Operating Systems Articles

  • CDW Virtualization Center What is Virtualization and how can it help you save money? Click here to find out.
  • Cisco Small Business Center Does your network give your business an advantage. Click here to find out...
  • HP Ink Center Bring improved color and brilliance to your printed material. Visit the Resource Center for more info...

PC World's Marketplace

PC World's Free Whitepapers

Name City
Address 1 State Zip
Address 2 E-mail (optional)