How to Restart KDE Plasma Desktop without Rebooting

Here's a guide on restarting your KDE Plasma 4 and KDE Plasma 5 Desktop without rebooting the whole PC. Once the Plasma shell is restarted, your PC runs faster.

KDE Plasma is a modular desktop and one of the best Linux desktop environments available. It is also one of the most customizable Desktop environments, and users can fine-tune everything from the panel to the icons (the widgets). Even though recent updates and changes have seen KDE (KDE Plasma 5) list among the most Lightweight Desktop Environments, running a Linux distribution with KDE Plasma desktop sometimes can be slow when left on an extended period.

That can happen, no matter how powerful your PC might be. Restarting your KDE Plasma Desktop can work well to solve the sluggishness than a full system reboot. That can come in hand, especially when using your PC as a dedicated computer, a server, or you do not wish to terminate the running processes as configurations can be affected.

Why Restart KDE Plasma Desktop Without Rebooting

  • To solve the sluggishness of your operating system. Sluggishness of your PC often happens when your machine stays on for a long time. Full system reboot may not be necessary because it is not an issue that affects the whole operating system.
  • To save on time. Rebooting the entire system takes a long time as it involves killing a batch of processes, while restarting the Desktop environment alone is instant as it focuses only on specific processes.
  • To avoid interference with your current open and running work. Rebooting will kill all the open and running processes.
  • To display the changes and updates made on your operating system instantly.
  • To recover some components of the KDE desktop, such as the start menu or panel, which may disappear on some rare occasions.

Restarting a KDE Plasma desktop is different depending on the version in which you are running. To know your version of KDE Plasma desktop, run the command below in your konsole. Konsole is the KDE default name for the Terminal, as seen in other Desktop environments.

plasmashell –version

KDE Plasma Version
KDE Plasma Version

Our version is 5.18.5, as displayed in the above output. Even though we are running KDE Plasma 5 Desktop, we will also show the procedure for users running KDE Plasma 4 Desktop.

How to Restart KDE Plasma 4 Desktop

1. Launch the konsole using the keyboard keys Alt+F2 and type the command below:

killall plasma-desktop

The KDE Plasma desktop is killed. killall command is used to kill all the processes associated with the given command. In this case, all the plasma-desktop instances will be killed/ stopped except the one that will be started using the kstart command.

2. Upon completion of the execution process in the konsole, type the command below:

kstart plasma-desktop

Your KDE Plasma Desktop will restart. kstart command launches applications as independent services. The Plasma shell is therefore run as an independent service with no links to the terminal.

How to Restart KDE Plasma 5 Desktop

There are two ways of restarting your KDE Plasma 5 desktop:

Method 1

1. Launch shell using the keyboard keys Alt+F2 and type the command below just like the other KDE versions but with a different process:

killall plasmashell

The KDE Plasma 5 Desktop is killed/ stopped.

2. Type the command below to restart your system:

kstart5 plasmashell

Restart KDE Plasma 5
Restart KDE Plasma 5

Sometimes the kstart5 command may not run in KDE Plasma 5 desktop, so that you will opt for kstart in place of kstart5 to restart your system:

kstart plasmashell

Method 2

KDE Plasma desktop being d-bus enabled, the name of the application that runs the Plasma desktop can be provided to kquitapp5 to terminate it.

1. Launch the shell and run the command below to kill the desktop:

kquitapp5 plasmashell

kquitapp5 command takes the name of the application or process you want to stop. The above command stops the plasma desktop upon execution, as the Plasma desktop is run by an application called plasmashell. Stopping the plasmashell application using kquittapp5 command kills the desktop out of your system’s memory.

When the kqitapp5 command is executed, two switches are accepted:

  • –service which overrides the application name and allows the specification of the full name of the service you want to stop.
  • –path which allows specification of the path to the d-bus interface to be used.

2. Run the command below in your shell to restart your desktop:

kstart5 plasmashell

Restart Plasma 5 desktop
Restart Plasma 5 desktop

Conclusion

That’s it! A complete guide on restarting your KDE Plasma 4 and KDE Plasma 5 Desktop without rebooting the whole PC. Once the Plasma shell is restarted, you will notice that your operating system runs and executes processes faster. The problem of sluggishness is therefore solved without killing all the running applications.

Arun Kumar
Arun did his bachelor in computer engineering and loves enjoying his spare time writing for FOSS Linux. He uses Fedora as the daily driver and loves tinkering with interesting distros on VirtualBox. He works during the day and reads anything tech at night. Apart from blogging, he loves swimming and playing tennis.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,241FansLike
399FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

“I am because you are,” is the themed meaning behind the famed Ubuntu operating system. Moreover, this mindful phrase is practical because it continues to lure more individuals into the Ubuntu universe. Because great power beckons great responsibility, Ubuntu is stepping up. It realizes that different users will want to use the Ubuntu operating system software differently.
The Ubuntu Cinnamon Remix brings together Linux Mint's Cinnamon desktop with the Ubuntu Core. While some users are welcoming the new flavor of Ubuntu with open arms, others are scratching their heads, wondering where it fits in.

6 best task managers for Linux

One of the essential tools in any Linux distribution is a Task Manager. It is a system monitor application that gives you a report of all programs running on your computer and the status of your RAM and CPU usage.

5 ways to check if a Port is open on a remote Linux PC

There is an ample number of ways to check for any open ports on a remote Linux PC. Knowing open ports on a Linux machine helps system administrators to connect to the remote PC for troubleshooting system and cloud server issues.

Best Laptops for Linux and Apps Development [2020]

Apart from your programming skills, there are a few other things that can also influence the way you code, and one of them is your computer system for sure. Even though it isn't like you can't code on a regular PC or laptop, speaking from personal experience, you can make the most out of your programming skillset by going for a computer with high specs and one that's been specially designed for such tasks.

Top 5 Linux Distros for Windows Users

When Microsoft initially released Windows 7 in October 2009, the software giant committed to providing ten years of support for its popular operating system.  The much-maligned Microsoft was true to their word, support for Windows 7 ended just yesterday a little over ten years after its release.