Skip to content

Commit

Permalink
Add ability to filter qubes input devices with udev rules
Browse files Browse the repository at this point in the history
This is similar to the workaround suggested in
QubesOS/qubes-issues#3604, but lacks the UX integration I would expect
to resolve the issue.
  • Loading branch information
Ofenhed committed Nov 10, 2024
1 parent 9763d72 commit cd5e5f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qubes-rpc/qubes-input-proxy.rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ENV{ID_PATH}=="platform-*", GOTO="qubes_input_proxy_end"
# tag virtual input device so it can be identified when qubes-input-trigger is launched by /etc/xdg/autostart/qubes-input-trigger.desktop
ATTRS{name}=="Qubes Virtual Input Device", TAG="qubes-virtual-input-device"

# skip devices which are disabled for libignore
ENV{LIBINPUT_IGNORE_DEVICE}=="1", GOTO="qubes_input_proxy_end"

# skip virtual input device created by gui agent
ATTRS{name}=="Qubes Virtual Input Device", GOTO="qubes_input_proxy_end"

Expand Down

0 comments on commit cd5e5f2

Please sign in to comment.