Advertisement
annukaka

Check Keys

Dec 18th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. SHIFT{
  2.  
  3. KeyPress event, serial 33, synthetic NO, window 0x3e00001,
  4. root 0xaa, subw 0x0, time 6048307, (166,-11), root:(169,33),
  5. state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
  6. XLookupString gives 0 bytes:
  7. XmbLookupString gives 0 bytes:
  8. XFilterEvent returns: False
  9.  
  10. KeyRelease event, serial 33, synthetic NO, window 0x3e00001,
  11. root 0xaa, subw 0x0, time 6048465, (166,-11), root:(169,33),
  12. state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
  13. XLookupString gives 0 bytes:
  14. XFilterEvent returns: False
  15.  
  16. }
  17.  
  18. <{
  19.  
  20. KeyPress event, serial 33, synthetic NO, window 0x3e00001,
  21. root 0xaa, subw 0x0, time 6112556, (332,299), root:(335,343),
  22. state 0x10, keycode 94 (keysym 0x3c, less), same_screen YES,
  23. XLookupString gives 1 bytes: (3c) "<"
  24. XmbLookupString gives 1 bytes: (3c) "<"
  25. XFilterEvent returns: False
  26.  
  27. KeyRelease event, serial 33, synthetic NO, window 0x3e00001,
  28. root 0xaa, subw 0x0, time 6112648, (332,299), root:(335,343),
  29. state 0x10, keycode 94 (keysym 0x3c, less), same_screen YES,
  30. XLookupString gives 1 bytes: (3c) "<"
  31. XFilterEvent returns: False
  32. }
  33.  
  34. http://askubuntu.com/questions/24916/how-do-i-remap-certain-keys
  35.  
  36. StartUP Ubuntu
  37.  
  38. You can do what he said. Or, you can do this, which will run ANY sript for you.
  39.  
  40. 1) first, create a script, and edit it to your needs. Lets say, you call it, autorun.sh
  41. 2) copy that script into /etc/init.d
  42. 3) run the following commands:
  43. Code:
  44. sudo update-rc.d autorun.sh defaults
  45. sudo chmod +x /etc/init.d/autorun.sh
  46. now it should run on startup.
  47.  
  48. http://ubuntuforums.org/showthread.php?t=792211
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement