Home » Questions » Computers [ Ask a new question ]

Why was my KDE desktop switched with the Gnome one and how can I change it back?

Why was my KDE desktop switched with the Gnome one and how can I change it back?

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.

Asked by: Guest | Views: 359
Total answers/comments: 1
Guest [Entry]

"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

Reboot.

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