KDE Plasma 5.18 unlock widgets

Version 5.18 needs the following command to unlock widgets:

 qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

A “fix” is on the way…

https://bugs.kde.org/show_bug.cgi?id=417424

Although the referenced commit looks as if it just unlocks the widgets… So I’m unsure how locking/unlocking is now proposed to be done, or are we expected to run with widgets unlocked all the time?

Also, on both my TW (20200211) machines, qdbus seems to have gone AWOL

paul@Orion-15:~$ qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"
If 'qdbus' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf qdbus
paul@Orion-15:~$ cnf qdbus
                       
The program 'qdbus' can be found in the following package:
  * libqt4  path: /usr/bin/qdbus, repository: zypp (packman) ]

Try installing with:
    sudo zypper install libqt4

paul@Orion-15:~$

and is lurking in a legacy qt4 package, very strange, as I’ve “libqt5-qdbus” installed, which is the (qt5) package I thought provided qdbus…

I installed and succeeded with activation of ‘customize layout’ item in the context menu.

On Tumbleweed this should be


qdbus-qt5 org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

to unlock, and


qdbus-qt5 org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(true)"

to lock the widgets.

Yes, thanks.

I found that a few minutes after my post, looking at the file list for “libqt5-qdbus” which installs “/usr/bin/qdbus-qt5”… and using “true” to lock again was fairly self evident.

Still curious as to the rationale for removing it (lock/unlock) from the GIU. Developer simplification perhaps, the end user has no need, etc, etc, as with so many other plasma 5 changes …

Checking my Leap 15.1 system, I notice that I have not yet gotten around to locking widgets. So maybe most people don’t actually use the feature.

Quite possible… I always have been an outlier :stuck_out_tongue:

ALT+D, L (with the desktop having the focus) also still works to toggle widget locking.

Jeepers… I spent a few hours trying to understand WHY this simple input wouldn’t work for me.

qdbus-qt5 org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

Ooooh - I see what you did there…
/feeling dumb:sarcastic:

Thanks Knurpht