This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:advanced:nx-keyboard-shortcuts [2013/03/14 23:18] sunweaver [File format] |
wiki:advanced:nx-keyboard-shortcuts [2013/03/20 14:15] morty Syntax |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== General Remarks ===== | ===== 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**, | ||
==== About this Wiki Page ==== | ==== About this Wiki Page ==== | ||
Line 16: | Line 13: | ||
'' | '' | ||
- | 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 ===== | ===== Configurable Key Bindings in nxagent ===== | ||
Line 27: | Line 24: | ||
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 '' | * in the location given by the '' | ||
- | * in the location given by the NXAGENT_KEYSTROKEFILE environment variable | + | * in the location given by the '' |
- | * in ~/ | + | * in '' |
- | * in / | + | * in '' |
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 38: | Line 35: | ||
The configuration file is XML with the following format: | The configuration file is XML with the following format: | ||
- | <code xml> | + | <file xml keystroke.cfg> |
< | < | ||
< | < | ||
Line 50: | Line 47: | ||
< | < | ||
</ | </ | ||
- | </code> | + | </file> |
Each '' | Each '' | ||
Line 58: | Line 55: | ||
Keys are given as a combination of '' | Keys are given as a combination 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 | + | '' |
- | / | + | '' |
'' | '' | ||
'' | '' | ||
- | Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2, | + | Modifiers are given as boolean attributes, possible modifiers are '' |
- | Mod3, Mod4, Control, Shift, Lock. Sensible combinations strongly depend on your | + | '' |
- | keyboard configuration, | + | keyboard configuration, |
this context means '' | this context means '' | ||
else is considered true. | else is considered true. |