Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. #
  2. # ESE Key Deamon 1.2.7 config file
  3. #
  4.  
  5. #
  6. # example 1: to run mutt in xterm we must set DISPLAY
  7. # so the command line will be as follows:
  8. #MAIL:/bin/sh -c "DISPLAY=:0 xterm -e mutt"
  9. #
  10. # example 2: turn on/off GPS reciever when lid is open/closed
  11. #RADIO(press):echo 1 >/sys/device/platform/gps/gps_power
  12. #RADIO(release):echo 0 >/sys/device/platform/gps/gps_power
  13. #
  14. # example 3: run nautilus when both left meta and e keys are press
  15. #LEFTMETA+E:nautilus
  16. #
  17.  
  18. #KP1(press):
  19. KP1(release):/home/pi/bin/scan.sh --mode Gray --resolution 75 --type pdf > /tmp/log.txt 2>&1
  20. #KP2(press):
  21. KP2(release):/home/pi/bin/scan.sh --mode Gray --resolution 150 --type pdf
  22. #KP3(press):
  23. KP3(release):/home/pi/bin/scan.sh --mode Gray --resolution 300 --type pdf
  24. #KP4(press):
  25. KP4(release):/home/pi/bin/scan.sh --mode Color --resolution 150 --type pdf
  26. #KP5(press):
  27. KP5(release):/home/pi/bin/scan.sh --mode Color --resolution 300 --type pdf
  28. #KP6(press):
  29. #KP6(release):/home/pi/bin/scan.sh --mode Color --resolution 600 --type pdf
  30. #KP7(press):
  31. KP7(release):/home/pi/bin/scan.sh --mode Gray --resolution 1200 --type png --nocomp
  32. #KP8(press):
  33. KP8(release):/home/pi/bin/scan.sh --mode Color --resolution 600 --type png --nocomp
  34. #KP9(press):
  35. KP9(release):/home/pi/bin/scan.sh --mode Color --resolution 1200 --type png --nocomp
  36. #KPSLASH(press):
  37. #KPSLASH(release):
  38. #KPASTERISK(press):
  39. #KPASTERISK(release):
  40. #KPPLUS(press):
  41. #KPPLUS(release):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement