How to lock a HID device to a specific window or screen?
On kde/wayland
i want to lock a keyboard and controller so they are only seen by one window, as in inputs only go that window and it cant move elsewhere.
Also using nixos.
How to lock a HID device to a specific window or screen?
On kde/wayland
i want to lock a keyboard and controller so they are only seen by one window, as in inputs only go that window and it cant move elsewhere.
Also using nixos.
There’s a kiosk-style compositor called
cagethat would work, at least for your main concern.Then maybe use waypipe over ssh to do your work in the background. Alternatively, you can research setting up a multi-seat display manager, but I think you would need at least 2 GPUs to implement that properly.