I’m using a Nvidia GPU and sometimes the panels randomly freeze, but they work again if I change the size of the panels, so, I want to know if there’s some way to force an update of the panels to prevent them from freezing.
Maybe you want to run a script that calls
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.refreshCurrentShell
which will reload the shell.
Another option is to enable and disable edit mode using this script:
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.editMode true sleep 1 qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.editMode false
The problem with the previous solution - reloading the shell - is that some applications are running in the shell’s scope (for example, Google Chrome and most GTK apps) and reloading the shell will kill them.
would that also work on a panel that keeps resizing on it’s own?
when i size the panel to the red line (minimum width), it will grow to the size shown when i restart.
so if editMode is off, that won’t happen?
then i could make a login script to sleep for 20s or so and turn editMode back on so i have access to my normal KDE desktop, and then another script at shutdown that turned it off.
“edit mode” means that the desktop is shown (all applications are hidden) and there’s a toolbar shown at the top of the screen.
This is not the same as the desktop widgets being “unlocked” like Plasma 4 was. You’re not actually supposed to use the desktop in “edit mode” - and I don’t think you actually can.
oh, gotcha. i misunderstood the function, thanks for clarifying.
your script toggles the actual edit mode, not the ability to use edit mode.
i was hoping i could somehow lock the size in so it couldn’t be changed by the system during a restart, sorry to derail the thread.
I use NVIDIA as well and when an applet freezes I usually just run
plasmashell --replace in KRunner.
Is there a bug report about this?
I tried to search the bug tracker but couldnt find anything