Switch Between Gnome And KDE Desktops In Ubuntu Or Kubuntu

24

ubuntulogo.jpgOne of Linux strong points over Windows is the capability to switch desktops. Several exist, but the two most popular are Gnome and KDE. For Windows users, KDE will have a familar Windows XP feel, while Gnome may seem dull.

If you have been using Ubuntu, which uses Gnome as the default desktop, or Kubuntu which uses KDE as the desktop, and have been wondering what the other desktop looks like, you can easily install KDE or Gnome and switch back and forth before logging on to Ubuntu.

If you are running Ubuntu, you can install KDE by opening a terminal window and type:

sudo apt-get install kubuntu-desktop

When prompted, enter your password, and then answer yes (Y) when asked if you want to  install. The install may take some time to complete, so be patient.

To install Gnome in Kubuntu, open a Terminal window and type:

sudo apt-get install ubuntu-desktop

When prompted, enter your password and continue with the install until it has been completed.

Now reboot either Ubuntu or Kubuntu. Then at the logon screen you can either press F10 or click on the Options logo at the bottom (left side) of the login screen. Then click on Select Session…

kdegnome1.png

 

Here you can select Gnome (2) or KDE (3) by selecting the radio button.

kdegnome2.png

 

During the next logon, you will see a prompt asking if you want to use the same desktop manager Just For This Session or Make Default (so you don't have to be bother with the prompt again).

kdegnome3.png

To change back to either KDE or Gnome, press F10 and select the desktop manager of your choice.

If you changed from the previous desktop manager, you can make it the default at the next logon.


Comments on Switch Between Gnome And KDE Desktops In Ubuntu Or Kubuntu Leave a Comment

September 21, 2007

Oliver @ 3:43 am #

Perfect information. Very well explained. Exactly what I was looking for quite some time. Thx a lot and thumbs up for BlogRush. :)

Mike @ 5:58 am #

Thanks, now that I've determined that Gnome sucks, how do I get it off my system?

miksuh @ 10:25 am #

h"Now reboot either Ubuntu or Kubuntu."

I really don't understand what you mean, Why should you reboot? That's not nesessary, just logout and login again using different desktop. Actually it's not even nesessary to logout, you can start a new X-session, which can be full screen or nested in window. You can also run Gnome apps from KDE-desktop and KDE apps from Gnome-desktop. All you need to do is install both gnome and kde. Nothing of what I said is ubuntu related. This is how X works no matter which Linux-distro you use.

I really don't understand why there must be Ubuntu (Gnome), Kubuntu (KDE) and Xubuntu (XFCE). In Debian and in most of the other distros too you just install desktop you want and then you use it.

miksuh @ 10:35 am #

And by the way. Those screenshots are from GDM (gnome display manager). There is similar for KDE (kdm). Usually you don't need to worry about that but if you use mostly KDE you might want to replace gdm with kdm. Again this is how it works no matter what distro you use. So if you someday try another distro this tutorial mostly applies for it too. Only the command/package name which installs kde/gnome will be different.

October 1, 2007

Brad @ 7:24 pm #

When I did this, FYI, from Kubuntu, the installer actually asked me which manager I wanted to use by default during the install of the package.

December 7, 2007

Jim Sowers @ 4:16 pm #

This is helpful IF you have to login. I set up my system some time ago such that it doesn't require me to login since I am the only user. Now, I cannot figure out/remember how to force a login, thus I cannot change between desktops. Please help ;-)

May 10, 2008

connor @ 10:35 pm #

hey, thanks heaps, i just started using ubuntu. one thing though, when you do it and enter that code (for newbies here) just go Applications, Accessories, Terminal. and also when it asks you to enter your password it's exactly the same except you cant see what your writing. just punch it in and press enter

August 30, 2008

suraya @ 2:48 am #

Me also not understand why we have Ubuntu (Gnome), Kubuntu (KDE) and Xubuntu (XFCE) ? I know only one fit in one CD. Why just make cd ubuntu-kde, ubuntu-gnome, ubuntu-xfce ?

November 3, 2008

Valentine @ 5:29 pm #

Great!!! It helped me a lot. Thanx!

January 14, 2009

quorlia @ 10:15 am #

If, like me, you can't even get Gnome working (fresh Wubi install and I've spent the last 4 hours slaving over a hot command line ;) you might need to do an apt-get update before you can even FIND the kubuntu-desktop package.

January 25, 2009

Mark @ 4:56 pm #

I can confirmed that there were too many unresolved dependencies, at least under Ubuntu 6.06 . This was a nightmare and even trying to satisfy the dependencies hammered the system. I am now preparing a reformat, after attempting this, BE WARNED!

January 29, 2009

Chris @ 10:32 am #

@Mark – Try updating your outdated Ubuntu OS, of course it caused problems! We're all mostly on 8.04 or 8.10 and you tried with 6.06?

January 30, 2009

Tim @ 2:51 am #

KDE and Gnome are only window interfaces to Linux a sort of 'front end' display – in Ubuntu, gnome is most like Microsoft XP, KDE is more like unix. Both have their good and bad points, so for new users of Linux, it may be a good idea to try both. First, you have to load both (there are lots of posts about how to do this)Thereafter KDE will run Gnome applications, and Gnome will run KDE applications (both sorts appear in the 'applications launcher of either) or either sort of application can be run from the dreaded 'command line' The easiest way to swap between the blue KDE desktop and the usual orange Gnome display is via the login window go to in the bottom left.

Some tasks require a bit more skill, and require 'old fashioned' command line entry (usuakkl Alt-F2, or an application such as Terminal or my favourite, Konsole). Here Ubuntu offers both super-user access and sudo (super user – DO), which allows users to perform some super-user tasks. For this, I find that KDE is best, because Konsole allows 'clipboard cut and paste' (e.g. from internet posts like this), but only using the right mouse button (this is a bit awkward at first, as you can not paste anywhere but at the end – it is not possible to paste in the middle of a part-entered command).

Finally, Linux environments may be cash light, but they can be labor intensive and challenging to master. So back-up your work regularly, and do not be afraid to play. Remember though that super-user is scary, and try not to use it unless you HAVE recently backed up somewhere safe – like a memory stick or USB disk that you can unplug!

April 17, 2009

Korpen @ 10:30 am #

I've determined that I don't like one of the Managers, How do I remove it?

June 18, 2009

WhisperiN @ 5:01 am #

Great post bro..

Really nice and interesting.

Thanks

July 8, 2009

Danny Smith @ 1:15 pm #

Removal of Gnome (example):

sudo aptitude remove ubuntu-desktop

March 4, 2010

james @ 8:56 pm #

you know what all these tutorials need? how to UNDO everything you just did.

i installed gnome in kubuntu 9.10, and immediately it took out wicd and removed my audio driver. i reinstalled wicd, but now my connection is SLOW. i uninstalled gnome, but my audio driver is still not working – instead i'm stuck with pulse, and now every time i click a button in browser there's a stupid sound that i can't get rid of.

thanks a million for your HELPFUL tutorial.

March 7, 2010

Shadowmesa @ 8:28 pm #

@james:

Perhaps the theory of backing up your data before fiddling with your system is unknown to you?

Your attitude stinks. Don't blame the tutorial for your own short-sightedness. ALWAYS backup before making huge system changes. And you can't say installing an entire desktop enviroment doesn't count as a huge change.

There are several options and warnings, dialogs and logfiles availble on your system that will highlight the preposed changes before the package installs, and list the changes made afterwards. Using thse, you may be able to correct your system. Of course, a backup beforehand would be easier to restore, but well done for your forward thinking, hm?

I would give more details to you about how to diagnose/correct your problems, but I'm sure you would appreciate my HELPFUL advice anyway.

To other users, be warned. Backing up is not as time consuming as one may think. Most people can have backed up in the time it has took to search for, and read these guides. Researching beforehand is good, and backing up in the meantime is better.

July 20, 2010

sharan @ 3:24 pm #

i'm new to ubuntu but what he explained all made sense to me
thank u

July 21, 2010

ME @ 2:36 pm #

What is the name of the file that you can create to set either the GNOME or KDE at the default when you login? And do you know the line that you would enter into the file to set as KDE as default?

July 28, 2010

ZDRuX @ 6:38 pm #

@ME: I'm a Linux noob, but I believe the file you're looking for is /home/[user]/.xinitrc

January 30, 2011

p@ @ 6:53 am #

hey , i just switched from kubuntu kde to gnome , i like gnome better, and it was the only cd i had laying around , but now it wont take my root password , kicks it back in gnome every time… wtf ?

Leave a Comment

Fields marked by an asterisk (*) are required.

Subscribe without commenting