wiki | 20 Mar 15:15 2013

page changed: wiki:advanced:nx-keyboard-shortcuts

A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/03/20 14:15
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
IP-Address  : 131.188.34.51
Hostname    : faui48e.informatik.uni-erlangen.de
Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:nx-keyboard-shortcuts?rev=1363303087
New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:nx-keyboard-shortcuts
Edit Summary: Syntax
User        : morty

 <at>  <at>  -1,11 +1,8  <at>  <at> 
  ====== Customize NX Keyboard Shortcuts ======

  ===== General Remarks =====

- ==== Necessary X2Go Version ====
- 
- The feature described below has only recently (as of 2012-12-06) been added to X2go and is currently
**experimental**, further testing is necessary. You will need a new nightly build to try it out.

  ==== About this Wiki Page ====

  This Wiki page is largely a copy of the ''README.keystrokes'' in
 <at>  <at>  -14,9 +11,9  <at>  <at> 

  ==== 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. 
+ is evaluated on an **X2Go Server** and you have to place your configuration file on the **server**. 

  ===== Configurable Key Bindings in nxagent =====

  Key bindings in the redistributed X2Go version of nxagent (aka nx-libs, NX redistributed) can now be configured
 <at>  <at>  -25,20 +22,20  <at>  <at> 
  ===== File Location =====

  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 NXAGENT_KEYSTROKEFILE environment variable
-   * in ~/.nx/config/keystroke.cfg
-   * in /etc/nx/keystroke.cfg
+   * in the location given by the ''NXAGENT_KEYSTROKEFILE'' environment variable
+   * in ''~/.nx/config/keystroke.cfg''
+   * in ''/etc/nx/keystroke.cfg''

  If none of those files is accessible, the
default configuration is used which
  is the same as the old, traditional nxagent keybindings.

  ===== File Format =====

  The configuration file is XML with the following format:

- <code xml>
+ <file xml keystroke.cfg>
  <!DOCTYPE NXKeystroke>
  <keystrokes>
  <keystroke action="fullscreen" AltMeta="1" Control="1" key="b" />
  <keystroke action="minimize" AltMeta="1" Control="1" key="space" />
 <at>  <at>  -48,24 +45,24  <at>  <at> 
  <keystroke action="fullscreen" key="F6" Mod1="1" />
  <keystroke action="force_synchronization" key="f" />
  <keystroke action="fullscreen" key="space" Mod1="0" Mod2="0" Control="0" Shift="0" AltMeta="0" />
  </keystrokes>
- </code>
+ </file>

  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
  available with debug builds of nxagent.

  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
- XStringToKeysym function. A list of possible keys can be found in
- /usr/include/X11/keysymdef.h, the names are specified without the leading
+ ''XStringToKeysym'' function. A list of possible keys can be found in
+ ''/usr/include/X11/keysymdef.h'', the names are specified without the leading
  ''XK_''. Evaluation is case-sensitive, so, ''space'' and ''Escape'' will work while
  ''Space'' and ''escape'' won't.

- Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2,
- Mod3, Mod4, Control, Shift, Lock. Sensible combinations strongly depend on your
- keyboard configuration, but usually you will need Mod1 and Control. Boolean in
+ Modifiers are given as boolean attributes, possible modifiers are ''Mod1'', ''Mod2'',
+ ''Mod3'', ''Mod4'', ''Control'', ''Shift'', ''Lock''. Sensible combinations strongly depend on your
+ keyboard configuration, but usually you will need ''Mod1'' and ''Control''. Boolean in
  this context means ''0'',
''false'' and an unspecified attribute are false, anything
  else is considered true.

  Everything in this file is case-sensitive. Unknown lines are ignored.


Gmane