On 3/28/23 10:10 AM, Michael via tde-users wrote:
On Monday 27 March 2023 11:24:34 pm Darrell Anderson
via tde-users wrote:
Is there a panel applet to add only a Lock
Session button rather than
the combo Lock/Logout applet?
Don't know, but here's a script you can execute from a button that works.
#!/bin/bash
dcop kdesktop KScreensaverIface lock
sleep 3
xset dpms force standby
Or use the menu or press Ctrl+L. :)
Oddly, with one user account using the Oxygen icon theme, when locking
the panel (not the session screen) the Lock button disappears leaving
only the Logoff button. The layout of the two buttons with Oxygen is
horizontal but is vertical with the Tango icon theme.