114 lines
2.1 KiB
Plaintext
114 lines
2.1 KiB
Plaintext
|
# File: .xbindkeysrc
|
||
|
# Date: Sept 23, 2010
|
||
|
# Author: Collin J. Doering <rekahsoft@gmail.com>
|
||
|
# Description: File that contains key bindings independant of any DE (using xbindkeys). This file is in the following format:
|
||
|
|
||
|
## <generic functinality> (<geographical location on keyboard >)
|
||
|
# <key combination> = <functionality>
|
||
|
#"<command"
|
||
|
# m:<modifier state> + c:<keycode>
|
||
|
#< keycode name>
|
||
|
## END of <generic functinality>
|
||
|
|
||
|
## Multimedia keys (top of keyboard)
|
||
|
|
||
|
# play/pause key = toggle play pause
|
||
|
#"~/.bin/toggle-pp.py"
|
||
|
"mpc toggle"
|
||
|
m:0x10 + c:172
|
||
|
XF86AudioPlay
|
||
|
"mpc toggle"
|
||
|
m:0x58 + c:33
|
||
|
Alt+Mod2+Mod4 + p
|
||
|
|
||
|
# next key = next song
|
||
|
"mpc next"
|
||
|
m:0x10 + c:171
|
||
|
XF86AudioNext
|
||
|
"mpc next"
|
||
|
m:0x58 + c:60
|
||
|
Alt+Mod2+Mod4 + period
|
||
|
|
||
|
# prev key = previous song
|
||
|
"mpc prev"
|
||
|
m:0x10 + c:173
|
||
|
XF86AudioPrev
|
||
|
"mpc prev"
|
||
|
m:0x58 + c:59
|
||
|
Alt+Mod2+Mod4 + comma
|
||
|
|
||
|
# volume up key = Master volume up 1
|
||
|
"amixer set Master 1+"
|
||
|
m:0x10 + c:123
|
||
|
XF86AudioRaiseVolume
|
||
|
"amixer set Master 1+"
|
||
|
m:0x58 + c:30
|
||
|
Alt+Mod2+Mod4 + u
|
||
|
|
||
|
# volume down key = Master volume down 1
|
||
|
"amixer set Master 1-"
|
||
|
m:0x10 + c:122
|
||
|
XF86AudioLowerVolume
|
||
|
"amixer set Master 1-"
|
||
|
m:0x58 + c:40
|
||
|
Alt+Mod2+Mod4 + d
|
||
|
|
||
|
# mute volume key = mute alsa Master channel
|
||
|
"amixer set Master toggle"
|
||
|
m:0x10 + c:121
|
||
|
XF86AudioMute
|
||
|
"amixer set Master toggle"
|
||
|
m:0x58 + c:58
|
||
|
Alt+Mod2+Mod4 + m
|
||
|
|
||
|
## End of Multimedia keys
|
||
|
|
||
|
## Random keys (F* line of keys)
|
||
|
# Super + Calculator = (speed crunch)
|
||
|
"speedcrunch"
|
||
|
m:0x10 + c:148
|
||
|
XF86Calculator
|
||
|
|
||
|
# Super + Calculator = mathematica
|
||
|
"mathematica"
|
||
|
m:0x50 + c:148
|
||
|
XF86Calculator
|
||
|
|
||
|
# Sleep key = lock screen with xscreensaver
|
||
|
"xscreensaver-command -lock"
|
||
|
m:0x10 + c:150
|
||
|
XF86Sleep
|
||
|
## End of F* line of keys
|
||
|
|
||
|
## Left side of keyboard
|
||
|
# WWW key
|
||
|
"firefox"
|
||
|
m:0x10 + c:158
|
||
|
XF86WWW
|
||
|
|
||
|
# Search PC key
|
||
|
#""
|
||
|
#m:0x10 + c:225
|
||
|
#XF86Search
|
||
|
|
||
|
# Search pics key (unknown)
|
||
|
|
||
|
# Close key
|
||
|
#""
|
||
|
#m:0x10 + c:214
|
||
|
#XF86Close
|
||
|
|
||
|
# Roatate windows key
|
||
|
"tuxcmd"
|
||
|
m:0x10 + c:162
|
||
|
XF86RotateWindows
|
||
|
# End of left side of keyboard
|
||
|
|
||
|
## Bottom right keys
|
||
|
|
||
|
# VOIP end call
|
||
|
#""
|
||
|
#m:0x10 + c:231
|
||
|
#Cancel
|
||
|
|
||
|
## End of Bottom right keys
|