Skip to content

Instantly share code, notes, and snippets.

@ydm
Created June 19, 2024 00:38
Show Gist options
  • Save ydm/0c9e2fe20fbd41ffe7ffd0cd9e3830bf to your computer and use it in GitHub Desktop.
Save ydm/0c9e2fe20fbd41ffe7ffd0cd9e3830bf to your computer and use it in GitHub Desktop.
xbindkeys
openrazer-daemon
polychromatic
~/.xbindkeysrc
```
"xdotool key KP_1"
b:9
"xdotool key KP_2"
b:8
```
xbindkeys
xbindkeys --defaults > $HOME/.xbindkeysrc
@ydm
Copy link
Author

ydm commented Jun 19, 2024

xbindkeys -n

@ydm
Copy link
Author

ydm commented Jun 23, 2024

xkeycaps

~/xmodmap

keycode 0x46 =	KP_1	KP_1	KP_1KP_1
keycode 0x47 =	KP_2	KP_2	KP_2KP_2
keycode 0x42 =	Control_L	Control_L	Control_L	Control_L

xmodmap ~/xmodmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment