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:09]
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 +=== 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 31:
 <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 57:
 file deactivates all keybindings. file deactivates all keybindings.
  
-List of possible 'action' attributes+=== List of possible 'action' attributes ===
--------------------------------------+
  
 close_session close_session