17

How do I restart KDE5 interface from the command line without having to do a logout?

3 Answers3

27

In a terminal (ctrl+alt+Fx) (if KDE is stuck use tty) type:

$ kquitapp5 plasmashell

and, eventually,

$ plasmashell

to restart, or

$ kstart5 plasmashell

if you want to be able to logout of the tty.

2

For >=kde5.10 (Kubuntu20.04; plasmashell 5.18.5):

Open a console CtrlAlt+T

login and type:

kquitapp5 plasmashell
kstart5 plasmashell&
abu_bua
  • 11,313
0

After trying all the above and a few others I could not resolve my ongoing annoyance of my toolbars not hiding as set (ie/ auto hide). It doesn't happen all the time and sometimes minimising other apps will fix it. It sometimes blocks essential icons on browser, etc. This happens on both screens (laptop + external). I tried a few work-arounds and the simple solution for me is to set the app in use to keep above others'. This works and allows me to tidy up or finish session for reboot. * I just installedtoggle panel button' (widget) and it works. (note: I have been doing some heavy changing of themes/widgets/icons/fonts/add-ons, etc over the last few weeks and this may be a conflict between components.)