Is there a way to restrict access to the keyboard in a specific program? For example, if I wanted to run a web page in "slideshow mode" on a desktop, such that this program and only this program cannot change the URL or click anything (just open it or close it), is there a way to do it?
I've tried firejail to do it with the following profile:
Code:
private-dev
blacklist /dev/input
blacklist /dev/usb
The program still seems to recognize the mouse and keyboard inputs, though. I have looked at AppArmor also, but I can't figure out whether you can restrict devices there or not...
Bookmarks