As usual, Ubuntu Distributions ships with a gnome Desktop environment to use. After using it for a couple of months, UI feels outdated compared to KDE. However, the gnome has a number of ways to make it stylish and best to use, but no offense WhiteSurTheme KDE is no match to any theme till date, which resembles like you are using Big Sur, and many other features lack in gnome. Which attracted me to switch to KDE Plasma, but things didn’t work out.
While Installing KDE Plasma over Gnome, I made some mistakes, which made the system unstable to use, and I thought to revert back and use the stock gnome environment.
You, too, have a similar reason or may be different, but our end goal is the same, and you want to remove the KDE plasma environment from ubuntu and use the default gnome environment. Get ready to follow the steps.
Table of Contents
Steps to Remove KDE Plasma Desktop Envirnoment
In simple seven steps, you will be able to remove KDE Plasma, it includes removing plasma-desktop, resetting splash, updating initramfs, and enabling gdm3.
- Auto remove the plasma-desktop and kubuntu desktop.
I hope you are able to access the terminal, to open the terminal, press Ctrl + Alt +T or whatever shortcut you have assigned. Under my circumstance, I was not able to access the terminal too if it follow step 1 from How to change the run level from the Boot menu article.
After that, pass the below command to remove plasma-desktop:
$ sudo apt remove plasma-desktop --autoremove
2. Remove all the remaining file
The next step is to remove the residual file, which is no longer needed, especially the file that starts with KDE and plasma.
$ sudo apt-get remove kde* --autoremove $ sudo apt-get remove plasma* --autoremove
--autoremove flag will manage it.
3. Reset the Splash Interface
I don’t know if you noticed, but I found that gnome bootsplash has been changed from the default. To revert do-copy paste the below command:
$ sudo update-alternatives --config default.plymouth
Enter your choice by typing, and once it is done, press enter. In my case, it was 1st. Usually, select 0, or you can set as per your preference:
If you are thinking, what is Plymouth? A Plymouth is used to hide all the details(dmesg) while the system boots up with a lovely splash image.
This command may give you output like “update-alternatives: error: no alternatives for default.plymouth“, simply ignore it and move for the next steps.
4. Update initramfs and grub
You are about to update the initramfs which was loaded earlier, after that update-grub menu to revert and get the default menu:
update-initramfs require -u parameter to update, don’t forget to use otherwise, initramfs will not get an update.
$ sudo update-initramfs -u $ sudo update-grub
5. Disable the Simple Desktop Display Manager (SDDM).
KDE uses Simple Desktop Display Manager, which is also known as SDDM. You are disabling it to get a default lock screen that ships with Ubuntu.
First, disable sddm. After that, stop it.
$ systemctl disable sddm $ systemctl stop sddm
I’m not removing it. If you want to remove, type the below command into your terminal window:
$ sudo apt-get remove --auto-remove sddm $ sudo apt-get purge --auto-remove sddm
6. Enable the Gnome Display Manager (gdm3).
Almost you have reverted it. Just pass the below command to enable & start gdm3, which is the default display manager in Ubuntu.
The first command will ensure that whenever the system gets boots, gdm3 will start automatically.
$ sudo systemctl enable gdm3 $ sudo systemctl start gdm3
7. Reboot your system
Once you are done with the above procedure, reboot it.
Voila! You have successfully removed the KDE Plasma environment from Ubuntu, and Now you can use the gnome environment.
If you found this article helpful, do let us know in the comment section.
A man with a tech effusive, who has explored some of the amazing technology stuff and exploring more, While moving towards, I had a chance to work on Android Development, Linux, AWS, DevOps with several Open source tools.
One of my life mottos “Always be lifelong Students.”