Skip to content

Instantly share code, notes, and snippets.

@dhead666
Created October 7, 2014 21:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save dhead666/4e23b506441ad424e26e to your computer and use it in GitHub Desktop.
Save dhead666/4e23b506441ad424e26e to your computer and use it in GitHub Desktop.
Chromebook alternate xbindkeys configuration
# Backward, Forward, Full Screen & Refresh is just for web browser
#Backward
"xvkbd -xsendevent -text "\A\[Left]""
m:0x0 + c:67
F1
#Forward
"xvkbd -xsendevent -text "\A\[Right]""
m:0x0 + c:68
F2
#Refresh
"xvkbd -xsendevent -text "\Cr""
m:0x0 + c:69
F3
#Full Screen
"xvkbd -xsendevent -text "\[F11]""
m:0x0 + c:70
F4
# on ChromeBook, it "Enter Overview mode, which shows all windows (F5)", see also https://support.google.com/chromebook/answer/1047364?hl
# here it work at KDE, it "Switch to next focused window", see also http://community.linuxmint.com/tutorial/view/47
# \Mw (Meta+w) is default "window overview" shortcut in Elementary OS, couldn't get it to work in VM, so I just commented out and set
# the shortcut to F5 in system settings
#Switch Window
#"xvkbd -xsendevent -text "\Mw""
# m:0x0 + c:71
# F5
#Backlight Down
"xbacklight -dec 5"
m:0x0 + c:72
F6
#Backlight Up
"xbacklight -inc 5"
m:0x0 + c:73
F7
#Mute
"~/.local/bin/volchange mute"
m:0x0 + c:74
F8
#Decrease Volume
"~/.local/bin/volchange down"
m:0x0 + c:75
F9
#Increase Volume
"~/.local/bin/volchange up"
m:0x0 + c:76
F10
## Removed alt-left/right/up/down because alt-left/right interfered with F1 and F2 bindings in VM and couldn't get alt-up/down to work
#
# End of xbindkeys configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment