Created
November 15, 2018 16:02
-
-
Save w33tmaricich/c3158d73374e24693e6dced9a35378cf to your computer and use it in GitHub Desktop.
keyboard: xkbset numpad mouse movement
This file contains 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
#!/bin/bash | |
# Use "xev" to find the correct keycodes | |
# For unusual items, you may need to look in /usr/include/X11/keysymdef.h (then remove the leading "XK_" when editing your script | |
# xkbset and xev are probably not installed by default but should be in your distro's repositories | |
# Pointer_Button1 = left click, Pointer_Button2 = middle click; Pointer_Button3 = right click | |
sudo apt install -y xkbset | |
xkbset m | |
#xmodmap -e "keysym Super_L = Mode_switch" | |
#xmodmap -e "keycode 31 = Up Up" | |
#xmodmap -e "keycode 44 = Left Left" | |
#xmodmap -e "keycode 45 = Down Down" | |
#xmodmap -e "keycode 46 = Right Right" | |
#xmodmap -e "keycode 30 = Pointer_Button1 Pointer_Button1" | |
#xmodmap -e "keycode 32 = Pointer_Button3 Pointer_Button3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment