OK, I have a very specific and non-standard use case…
I have configured a touchscreen PC to function as a multimedia player that is operated solely by pressing on Plasmoids. Those Plasmoids each perform a very simple function: kill whatever mediaplayer is active (for instance, VLC or Spotify) and then start it with a predetermined config file. These things happen on the CLI, off-screen.
In order for the end users not to be able to modify any of the settings, I have the whole setup locked down with:
qdbus org.kde.plasmashell /PlasmashellevaluateScript ‘lockCorona(!locked)’ passed through an SSH login. Unlocking happens by changing the part between the brackets with (false).
Now, I am looking to keep this system up-to date so I want to migrate it to Plasma 6 in the near future, but this command no longer works (the evaluateScript isnot a part of Plasma 6).
Is there another way I can achieve the same effect (I looked into Kiosk mode but can’t see how that would fit my goal), or is it possible to migrate this evaluateScript to Plasma 6?
Thanks in advance for your help!