home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / gdm / modules / factory-AccessKeyMouseEvents < prev   
Encoding:
Text File  |  2007-04-10  |  3.5 KB  |  87 lines

  1. # This is the configuration file for the keymouselistener.so module.
  2. # The confiuration syntax is as follows:
  3. #
  4. # For keyboard gestures:
  5. #
  6. # <modifier>[<modifier>...]key  #times duration timeout executable_path +args
  7. #
  8. # For executable_path give the full executable path path of the program or the
  9. # DefaultPath is used.  For key, this can be one of the normal keys such as 'k'
  10. # for the letter 'k', or 'F10' for the F10 key.  If you wish to use one of the
  11. # 'modifier' keys you have to specify which one exactly, meaning usually
  12. # appending _L or _R depending on if it's the left or right one.  The useful
  13. # ones are: Shift_L, Shift_R, Control_L, Control_R, Meta_L, Meta_R, Alt_L, Alt_R.
  14. # Do note that the modifier is optional.
  15. #
  16. # e.g.
  17. #
  18. # <Control>k  5 1000 10000  /usr/bin/gok --login --access-method=directselection
  19. #
  20. # Means press Contol-k 5 times, holding each keypress down for at least 1000ms
  21. # (1s) each time and with no greater interval than 10000ms (10s) between each
  22. # event in the sequence.  A duration value of 0 indicates that a keypress of
  23. # any length is accepted.  The timeout value is only meaningful if the #times
  24. # value is > 1.  Completing the above example sequence will invoke the gnome on
  25. # screen keyboard program, gok.  Note that you cannot release the <Control> key
  26. # while pressing otherwise the sequence will be lost.
  27. #
  28. # e.g.
  29. # Shift_L  5 1000 10000  /usr/bin/gok --login --access-method=directselection
  30. # Shift_R  5 1000 10000  /usr/bin/gok --login --access-method=directselection
  31. #
  32. # Will start gok if you press either shift key 5 times holding it down for more
  33. # then 1 second each time.
  34. #
  35. # For mouse button gestures the format is the same except the mouse button number
  36. # is specified instead of a key gesture:
  37. #
  38. # <Mouse#>  #times duration timeout  executable_path +args
  39. #
  40. # e.g.
  41. #
  42. # <Mouse2>  4 3000 6000  /usr/bin/orca -n -d main-window
  43. #
  44. # Note that mouse numbers are 1-based so <Mouse1> is the left mouse button,
  45. # <Mouse3> is the right mouse button and <Mouse2> is the middle mouse button.
  46. #
  47. # It is possible to invoke multiple actions from a single gesture using the <Add>
  48. # keyword. Actions specified with <Add> are invoked by the previous gesture
  49. # defined in the file.  If the <Add> action is the first action defined in the
  50. # file, then it is ignored.
  51. #
  52. # e.g.
  53. #
  54. # <Add>  /usr/bin/gnome-mag
  55. #
  56.  
  57. # hold right or left mouse button 3 times for 3 seconds each time
  58. #
  59. <Mouse1> 3 3000 10000 /usr/bin/gok --login --access-method=directselection
  60.  
  61. # we add the right mouse button as it may be the left mouse button
  62. # for a left handed user
  63. #
  64. <Mouse3> 3 3000 10000 /usr/bin/gok --login --access-method=directselection
  65.  
  66. <Switch1> 1 5000 0 /usr/bin/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1
  67. <Switch2> 3 50 3000 /usr/bin/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2
  68. <Switch3> 3 1000 10000 /usr/bin/gok --login  --access-method=automaticscanning --scan-action=switch3 --select-action=switch3
  69.  
  70. # press ctrl-s for 1 second to launch orca in speech mode
  71. #
  72. <Control>s  1 1000 10000  /usr/bin/orca -n -d main-window
  73.  
  74. # press ctrl-m for 1 second to launch orca in mag mode
  75. #
  76. <Control>m  1 1000 10000  /usr/bin/orca -n -d main-window -d speech -e magnifier
  77.  
  78. # press ctrl-o or ctrl-g for 1 second to launch orca in speech and mag mode
  79. #
  80. <Control>o  1 1000 10000  /usr/bin/orca -n -d main-window -e magnifier
  81. <Control>g  1 1000 10000  /usr/bin/orca -n -d main-window -e magnifier
  82.  
  83. # Start GOK with direct selection mode.
  84. #
  85. <Control>k  5 1000 10000  /usr/bin/gok --login --access-method=directselection
  86.  
  87.