I disabled screen locking via the session capability restrictions with the following config snippet in kdeglobals: ------------------- [KDE Action Restrictions][$i] action/lock_screen=false ------------------- Now the lock screen button is no longer visible in kickoff, but unfortunately, users are still able to lock the screen via the keyboard shortcut Ctrl+Alt+L. Reproducible: Always Actual Results: Users are still able to lock the screen via keyboard shortcut. Expected Results: Screen locking is completely disabled, even via keyboard shortcut or any other mechanism.
Git commit ae74ba191f53316e4b82213672ad8668cf8d8210 by Martin Gräßlin. Committed on 10/02/2015 at 09:16. Pushed by graesslin into branch 'Plasma/5.2'. [screenlocker] Use KAuthorized::authorizeKAction for lock_screen All other checks for lock_screen [1] use authorizeKAction, so that's probably the one to use. FIXED-IN: 5.2.1 [1] see http://lxr.kde.org/search?_filestring=&_string=lock_screen M +1 -1 ksmserver/screenlocker/ksldapp.cpp http://commits.kde.org/plasma-workspace/ae74ba191f53316e4b82213672ad8668cf8d8210