Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ESE Key Deamon 1.2.7 config file
- #
- #
- # example 1: to run mutt in xterm we must set DISPLAY
- # so the command line will be as follows:
- #MAIL:/bin/sh -c "DISPLAY=:0 xterm -e mutt"
- #
- # example 2: turn on/off GPS reciever when lid is open/closed
- #RADIO(press):echo 1 >/sys/device/platform/gps/gps_power
- #RADIO(release):echo 0 >/sys/device/platform/gps/gps_power
- #
- # example 3: run nautilus when both left meta and e keys are press
- #LEFTMETA+E:nautilus
- #
- #KP1(press):
- KP1(release):/home/pi/bin/scan.sh --mode Gray --resolution 75 --type pdf > /tmp/log.txt 2>&1
- #KP2(press):
- KP2(release):/home/pi/bin/scan.sh --mode Gray --resolution 150 --type pdf
- #KP3(press):
- KP3(release):/home/pi/bin/scan.sh --mode Gray --resolution 300 --type pdf
- #KP4(press):
- KP4(release):/home/pi/bin/scan.sh --mode Color --resolution 150 --type pdf
- #KP5(press):
- KP5(release):/home/pi/bin/scan.sh --mode Color --resolution 300 --type pdf
- #KP6(press):
- #KP6(release):/home/pi/bin/scan.sh --mode Color --resolution 600 --type pdf
- #KP7(press):
- KP7(release):/home/pi/bin/scan.sh --mode Gray --resolution 1200 --type png --nocomp
- #KP8(press):
- KP8(release):/home/pi/bin/scan.sh --mode Color --resolution 600 --type png --nocomp
- #KP9(press):
- KP9(release):/home/pi/bin/scan.sh --mode Color --resolution 1200 --type png --nocomp
- #KPSLASH(press):
- #KPSLASH(release):
- #KPASTERISK(press):
- #KPASTERISK(release):
- #KPPLUS(press):
- #KPPLUS(release):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement