2 ms·
> Linux exposes your keyboards as /dev/inputN devices Yeah, but those are only readable by root.
by amelius 6y ago
> Linux exposes your keyboards as /dev/inputN devices
Yeah, but those are only readable by root.
- zozbot234 6y agoThe modern Linux stack allows non-root users to access these if they're "bound" to the right 'seat' and 'session' in the freedesktop-derived multiseat infrastructure. AIUI, this is how non-root X works as well. It's incredibly clunky stuff because no one has ever made the effort to refactor it nicely (the typical problem with all fd.o stuff), but this is supposed to be possible.