Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To clarify, I am still using KDE (Kubuntu specifically) but I also have Gnome installed. However, when I log in, my plasma desktop shows up for a few seconds, but then switches to the Gnome desktop. The plasma widgets disappear, the icons change, and the right-click menu is GTK themed and has the Gnome options rather than the KDE ones.

I've been messing with a lot of options over the past few days, but I think that this probably happened because I removed a lot of native apps (Amarok, Dragon Player, Movie Player, KMail, KTorrent, Transmission, and maybe a couple more).

Any ideas on how I can revert back to my KDE plasma desktop without a complete reinstallation?

share|improve this question
up vote 2 down vote accepted

First create (or edit) your ~/.xinitrc file ($ represents your prompt, don't type it):

$gedit ~/.xinitrc

add this to it:

#!/usr/bin/env bash
exec startkde

make the file executable:

$chmod +x ~/.xinitrc

Let's link it to ~/.xsession so it's read by GDM on startup:

ln -s ~/.xinitrc ~/.xsession


Now enter your username and click sessions. Select default session and it should load KDE.

share|improve this answer
Thanks for the response, but I don't see the sysconfig folder or the .xinitrc file. I'm running the latest stable versions of KDE, Gnome, and Ubuntu. – user13869 Dec 20 '09 at 2:31
Ah. Ubuntu doesn't have /etc/sysconfig. The .xinitrc file isn't visible if you were looking for it in nautilus as it beings with a dot. If you were using the terminal to check, you probably don't have an .xinitrc yet. – John T Dec 20 '09 at 7:43
Awesome, worked perfectly! Thanks a lot! – user13869 Dec 20 '09 at 7:55
You're most welcome! :) – John T Dec 20 '09 at 8:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.