This forum has been archived. All content is frozen. Please use KDE Discuss instead.

best way of restarting plasma?

Tags: None
(comma "," separated)
lvm
Registered Member
Posts
40
Karma
0

best way of restarting plasma?

Tue Jun 02, 2020 9:35 am
I got a couple of niggling issues with plasma: first after some considerable time - usually more than a month, new programs opened via application menu stop getting focus and open in background. I tried to fix it by restarting plasma with "kquitapp5 plasmashell; kstart5 plasmashell", it restores normal focus behaviour but creates another issue: I have a single full screen height autohiding panel to the left of my screen, and after restart the space used by the panel when visible becomes unusable - even when the panel is hidden windows just disappear in this stripe. Tried toggling panel autohide off and back on but it didn't help. Is there a way to restart plasma without running into the hidden stripe issue or avoid the focus issue? Plasma 5.12.9 (ubuntu 18.04).
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: best way of restarting plasma?

Thu Jun 04, 2020 8:20 am
why not log out and back in again? That is usually the best way of restarting Plasma.

FWIW: do you use Ubuntu instead of Kubuntu using Plasma? I suggest switching to Kubuntu instead. The new 20.04 LTS also comes with a much more recent Plasma, yours is fairly old now


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: best way of restarting plasma?

Thu Jun 04, 2020 12:52 pm
Hi!

Perhaps it is not plasma what's making problems but the window manager (KWin). You can replace it by
Code: Select all
kwin_x11 --replace  # or
kwin_wayland  # has to be killed before new start as it is the session itself


Also have a look at the log files to track the issues and solve the underlying problem(s) first.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: best way of restarting plasma?

Fri Jun 05, 2020 10:59 am
Bad idea to use Wayland, he is using a far too old Plasma for this to work well.
How about updating to Kubutnu 20.04 first? It is also LTS and you can upgrade from 18.04 smoothly.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
lvm
Registered Member
Posts
40
Karma
0

Re: best way of restarting plasma?

Mon Jun 08, 2020 5:49 am
Mamarok wrote:why not log out and back in again?

I want to avoid closing running programs.

Mamarok wrote:FWIW: do you use Ubuntu instead of Kubuntu using Plasma?

I use kubuntu.
Nod??n
Registered Member
Posts
2
Karma
0

Re: best way of restarting plasma?

Wed Jun 17, 2020 7:16 am
for this works:
kquitapp5 plasmashell
kstart5 plasmashell


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]