Created
May 1, 2020 13:24
-
-
Save crazyboycjr/46671427f8d8d36cd3d89f5d584b7437 to your computer and use it in GitHub Desktop.
running xset in udev.rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/udev/rules.d/71-k380-keyboard.rules | |
ACTION=="add", KERNEL=="hidraw[0-9]*", RUN+="/usr/bin/su cjr -c \"DISPLAY=:1 XAUTHORITY=/home/cjr/.Xauthority xset r rate 200 36\"" | |
ACTION=="add", KERNEL=="hidraw[0-9]*", RUN+="/usr/bin/su cjr -c \"DISPLAY=:1 XAUTHORITY=/home/cjr/.Xauthority setxkbmap -option 'ctrl:nocaps'\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment