User Tools

Site Tools


wiki:components:nxagent_keyboard_shortcuts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:components:nxagent_keyboard_shortcuts [2012/12/06 14:15]
arw
wiki:components:nxagent_keyboard_shortcuts [2012/12/06 14:18]
arw
Line 6: Line 6:
 === about this Wiki page === === about this Wiki page ===
  
-This Wiki page is largely a copy of the 'README.keystrokes' in+This Wiki page is largely a copy of the ''README.keystrokes'' in
 [[http://code.x2go.org/gitweb?p=nx-libs.git;a=summary]]. Please keep them in [[http://code.x2go.org/gitweb?p=nx-libs.git;a=summary]]. Please keep them in
 sync. sync.
Line 18: Line 18:
  
 nxagent searches for the configuration file in the following order: nxagent searches for the configuration file in the following order:
-* in the location given by the '-keystrokefile' command line parameter +  * in the location given by the ''-keystrokefile'' command line parameter 
-* in the location given by the NXAGENT_KEYSTROKEFILE environment variable +  * in the location given by the NXAGENT_KEYSTROKEFILE environment variable 
-* in ~/.nx/config/keystroke.cfg +  * in ~/.nx/config/keystroke.cfg 
-* in /etc/nx/keystroke.cfg+  * in /etc/nx/keystroke.cfg
  
 If none of those files is accessible, the default configuration is used which If none of those files is accessible, the default configuration is used which
Line 44: Line 44:
 </code> </code>
  
-Each 'action' defines an action to be executed when receiving that keystroke. A+Each ''action'' defines an action to be executed when receiving that keystroke. A
 list of possible actions is given below. Some of those actions are only list of possible actions is given below. Some of those actions are only
 available with debug builds of nxagent. available with debug builds of nxagent.
  
-Keys are given as a combination of 'key' and (optionally) a number of+Keys are given as a combination of ''key'' and (optionally) a number of
 modifiers. The key attribute is evaluated into a X11 key via the usual modifiers. The key attribute is evaluated into a X11 key via the usual
 XStringToKeysym function. A list of possible keys can be found in XStringToKeysym function. A list of possible keys can be found in
 /usr/include/X11/keysymdef.h, the names are specified without the leading /usr/include/X11/keysymdef.h, the names are specified without the leading
-'XK_'. Evaluation is case-sensitive, so, 'space' and 'Escape' will work while +''XK_''. Evaluation is case-sensitive, so, ''space'' and ''Escape'' will work while 
-'Space' and 'escape' won't.+''Space'' and ''escape'' won't.
  
 Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2, Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2,
 Mod3, Mod4, Control, Shift, Lock. Sensible combinations strongly depend on your Mod3, Mod4, Control, Shift, Lock. Sensible combinations strongly depend on your
 keyboard configuration, but usually you will need Mod1 and Control. Boolean in keyboard configuration, but usually you will need Mod1 and Control. Boolean in
-this context means '0', 'false' and an unspecified attribute are false, anything+this context means ''0'', ''false'' and an unspecified attribute are false, anything
 else is considered true. else is considered true.
  
Line 68: Line 68:
 file deactivates all keybindings. file deactivates all keybindings.
  
-==== List of possible 'action' attributes ====+==== List of possible ''action'' attributes ====
  
-* close_session +  * close_session 
-* switch_all_screens +  * switch_all_screens 
-* minimize +  * minimize 
-* left +  * left 
-* up +  * up 
-* right +  * right 
-* down +  * down 
-* resize +  * resize 
-* defer +  * defer 
-* ignore +  * ignore 
-* fullscreen +  * fullscreen 
-* viewport_move_left +  * viewport_move_left 
-* viewport_move_up +  * viewport_move_up 
-* viewport_move_right +  * viewport_move_right 
-* viewport_move_down+  * viewport_move_down
  
 Only in builds with certain debugging options enabled, ignored otherwise: Only in builds with certain debugging options enabled, ignored otherwise:
-* force_synchronization +  * force_synchronization 
-* debug_tree +  * debug_tree 
-* regions_on_screen +  * regions_on_screen 
-* test_input +  * test_input 
-* deactivate_input_devices_grab+  * deactivate_input_devices_grab