Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zepadovani/0969a2ab5ecc7cf9a6e401c614158ee7 to your computer and use it in GitHub Desktop.
Save zepadovani/0969a2ab5ecc7cf9a6e401c614158ee7 to your computer and use it in GitHub Desktop.
bindkey configs to allow to use combinations of control and alt as modifiers to emulate Home, End, PageUp, and PageDown keybinds
## Xbindkey configs to allow to use combinations of control and alt as modifiers to emulate Home, End, PageUp, and PageDown keybinds
## enter these lines in ~/.xbindkeysrc
"xdotool keyup Control+Alt_L+Left && xdotool key Home"
control+alt + Left
"xdotool keyup Shift+Control+Alt_L+Left && xdotool key Shift+Home"
shift+control+alt + Left
"xdotool keyup Control+Alt_L+Right && xdotool key End"
control+alt + Right
"xdotool keyup Shift+Control+Alt_L+Right && xdotool key Shift+End"
shift+control+alt + Right
"xdotool keyup Control+Alt_L+Up && xdotool key Page_Up"
control+alt + Up
"xdotool keyup Control+Alt_L+Down && xdotool key Page_Down"
control+alt + Down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment