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

Next revision
Previous revision
Next revision Both sides next revision
wiki:components:nxagent_keyboard_shortcuts [2012/12/06 14:05]
arw created
wiki:components:nxagent_keyboard_shortcuts [2012/12/06 14:15]
arw
Line 1: Line 1:
-Configurable keybindings in nxagent+==== Configurable keybindings in nxagent ====
  
 Keybindings in the redistributed x2go version of nxagent can now be configured Keybindings in the redistributed x2go version of nxagent can now be configured
 by the user. This is done via a configuration file.  by the user. This is done via a configuration file. 
  
-File location +=== about this Wiki page === 
--------------+ 
 +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 
 +sync. 
 + 
 +=== about nxagent === 
 + 
 +nxagent is the process that an X2go _server_ executes. Therefore the configuration described below 
 +is evaluated on an X2go Server and you have to place your configuration file on the _server_.  
 + 
 +==== File location ====
  
 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
 is the same as the old, traditional nxagent keybindings. is the same as the old, traditional nxagent keybindings.
  
-File format +==== File format ====
------------+
  
 The configuration file is XML with the following format: The configuration file is XML with the following format:
  
 +<code xml>
 <!DOCTYPE NXKeystroke> <!DOCTYPE NXKeystroke>
 <keystrokes> <keystrokes>
Line 32: Line 42:
 <keystroke action="fullscreen" key="space" Mod1="0" Mod2="0" Control="0" Shift="0" AltMeta="0" /> <keystroke action="fullscreen" key="space" Mod1="0" Mod2="0" Control="0" Shift="0" AltMeta="0" />
 </keystrokes> </keystrokes>
 +</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
Line 57: 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