Created
October 9, 2019 20:26
-
-
Save pulketo/56e6bf3d43ac0c035cc071caf620b553 to your computer and use it in GitHub Desktop.
xmodmap xinput teclas cambiar funcion bind i3
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
$ xinput list | |
xinput list | |
⎡ Virtual core pointer id=2 [master pointer (3)] | |
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] | |
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] | |
⎣ Virtual core keyboard id=3 [master keyboard (2)] | |
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] | |
↳ Power Button id=6 [slave keyboard (3)] | |
↳ Power Button id=7 [slave keyboard (3)] | |
↳ Sleep Button id=8 [slave keyboard (3)] | |
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)] | |
↳ Logitech USB Headset Logitech USB Headset id=9 [slave keyboard (3)] | |
$ xinput test 10 | |
key press 122 | |
key release 122 | |
key press 123 | |
key release 123 | |
key press 174 | |
key release 174 | |
key press 172 | |
key release 172 | |
key press 173 | |
key release 173 | |
key press 171 | |
key release 171 | |
Lista las funciones actuales: | |
xmodmap -pke | |
------------ | |
What can xmodmap do? | |
xmodmap is only for remapping keys, for apps running under X11. That's it. | |
xmodmap cannot set a key to type key combinations such as Ctrl+c | |
xmodmap cannot set a key to run a script. | |
xmodmap key cannot change key based on which is current app. | |
-------- | |
http://xahlee.info/linux/linux_keyboard_tools.html | |
--------- | |
al final resulto que en el archivo de config de i3 ~/.config/i3/config, podemos bindear la "tecla" mediante su código: | |
bindcode $mod+34 ...etc... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Acer 5672WLMI a 13 yo laptop, some button labels doesn't exist anymore:
Extra buttons (near power btn):
P:157 | e:156 | www:158 | otro:163
Media buttons:
???: 123
???: 122
???: 172
stop: 174
???: 171
???: 173
Euro & Dollar keys are not even detected