# This is the configuration file for the keymouselistener.so module. # The confiuration syntax is as follows: # # For keyboard gestures: # # [...]key #times duration timeout executable_path +args # # For executable_path give the full executable path path of the program or the # DefaultPath is used. For key, this can be one of the normal keys such as 'k' # for the letter 'k', or 'F10' for the F10 key. If you wish to use one of the # 'modifier' keys you have to specify which one exactly, meaning usually # appending _L or _R depending on if it's the left or right one. The useful # ones are: Shift_L, Shift_R, Control_L, Control_R, Meta_L, Meta_R, Alt_L, Alt_R. # Do note that the modifier is optional. # # e.g. # # k 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection # # Means press Contol-k 5 times, holding each keypress down for at least 1000ms # each time and with no greater interval than 10000ms between each event in the # sequence. A duration value of 0 indicates that a keypress of any length is # accepted. The timeout value is only meaningful if the #times value is > 1. # Completing the above example sequence will invoke the gnome on screen keyboard # program, gok. Note that you cannot release the key while pressing # otherwise the sequence will be lost. # # e.g. # Shift_L 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection # Shift_R 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection # # Will start gok if you press either shift key 5 times holding it down for more # then 1 second each time. # # For mouse button gestures the format is the same except the mouse button number # is specified instead of a key gesture: # # #times duration timeout executable_path +args # # e.g. # # 4 3000 6000 @AT_BINDIR@/gnopernicus # # Note that mouse numbers are 1-based so is the left mouse button, # is the right mouse button and is the middle mouse button. # # It is possible to invoke multiple actions from a single gesture using the # keyword. Actions specified with are invoked by the previous gesture # defined in the file. If the action is the first action defined in the # file, then it is ignored. # # e.g. # # @AT_BINDIR@/gnome-mag # # Note that pressing any other keys # current: # hold right or left mouse button 3 times for 3 seconds each time 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection # we add the right mouse button as it may be the left mouse button # for a left handed user 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection 1 5000 0 @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1 3 50 3000 @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2 3 1000 10000 @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch3 --select-action=switch3 # press ctrl-s for 1 second to launch gnopernicus speech # gnopernicus, speech mode s 1 1000 10000 @AT_BINDIR@/srcore --login --enable-speech # press ctrl-m for 1 second to launch gnopernicus magnifier m 1 1000 10000 @AT_BINDIR@/srcore --login --enable-magnifier --disable-speech --disable-braille # press ctrl-g for 1 second to launch both gnopernicus speech and magnifier g 1 1000 10000 @AT_BINDIR@/srcore --login