Skip to content

applets/userswitcher: Add option to disable screen locking on switch

Proposing a feature for otherwise-secure systems: opting out of screen-locking on the User Switcher applet.

In my work, I use two to three separate Plasma sessions on a single-user workstation managed by SDDM, switching between them using both the classic VT shortcut Ctrl+Alt+F#, and the user switcher applet.

This leads to a slight disconnect between the session's locking states when using both methods:

  • If I switch using the applet, the session I left behind is now locked.
  • If I switch using Ctrl+Alt+F#, the session is left unlocked.

Re-entering one's password or other auth is tiring when the machine is physically secure, with screen lock behavior set uniformly on all sessions (idle time to activate screen lock).

This MR allows the user switcher applet to bypass the locking behavior, drastically speeding up the switching workflow to feel akin to the classic VT switching. To my understanding, this is also a cleaner solution than using VT switching, as Plasma services handle the session switch.

As this option is inherently insecure for multi-user systems, it should be enabled by default in the Advanced section of the KCM. It's quite handy though!

Screenshot_20250121_134842

Edited by Blazer Silving

Merge request reports

Loading