Bug 480997 - Feature request: Create global shortcut to temporarily restrict user inputs (toddler proofing - kiosk)
Summary: Feature request: Create global shortcut to temporarily restrict user inputs (...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-07 10:46 UTC by funkybomber
Modified: 2024-12-14 14:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description funkybomber 2024-02-07 10:46:17 UTC
SUMMARY
***
Based on the discussion at: 
https://discuss.kde.org/t/baby-proofing-the-desktop-control-of-inputs/9673

There are some scenarios where it is useful for a user to be able to temporarily restrict the inputs (mouse, keyboard, trackpad etc) while keeping the desktop unlocked (such as a kiosk usecase). 

I propose creating an option to give users the ability to create a global shortcut that disables the mouse and ignores all keystrokes (apart from the unlocking shortcut).

Once the user gives the correct key combination then all the inputs get restored.

A good key combination would be something that would not be easy to replicate by mashing on the keyboard. A good default could be Meta+Scroll Lock. 

The option should be exposed to the user somewhere in the settings and it should be possible for the user to reassign this functionality to a different shortcut.

Any other system shortcuts (global, custom, etc) should probably be unavailable/inactive while this mode is active, in order to not interfere.
***
Comment 1 locutusofborg 2024-02-16 16:53:13 UTC
I don't have children, but I take care of an older person who's hands shake a lot, and because of this has inadvertently messed up settings leaving me to fix things. I would love something like this but just for say settings, icons, and panels and still be able to allow them fairly easy access to their email and browser.
Comment 2 Sergey Selivanov 2024-12-14 14:07:48 UTC
I know there is xtrlock software for X11 sessions that lock mouse and keyboard input until the password is (blindly) provided. 
I guess we need KWin stuff to do the same thing. 
I would love that thing because I live with some friends that could delete any of my work just for fun.