Numpad hotkeys on linux: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<hr> | <hr> | ||
Line 11: | Line 10: | ||
<code>keycode 90 = Hyper_R</code> | <code>keycode 90 = Hyper_R</code> | ||
You can use XCape to allow the modifier keys to send actions on their own. | |||
sudo apt install xcape | sudo apt install xcape | ||
xcape -e 'Hyper_R=0' | xcape -e 'Hyper_R=0' |
Revision as of 15:46, 28 June 2024
Making numpad hotkeys on linux is a bit more tricky than it is on windows due to the critical lack of autohotkey ;-;
You'll need xmodmap, I created a file like this:
~/.Xmodmap:
keycode 90 = Hyper_R
You can use XCape to allow the modifier keys to send actions on their own.
sudo apt install xcape xcape -e 'Hyper_R=0'
Resources
https://wiki.archlinux.org/title/Xmodmap#Installation https://github.com/alols/xcape