This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
wiki:advanced:nx-keyboard-shortcuts [2013/03/14 23:18] sunweaver [File format] |
wiki:advanced:nx-keyboard-shortcuts [2019/05/11 16:32] uli42 [About nxagent] |
||
---|---|---|---|
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 ==== | ||
This Wiki page is largely a copy of the '' | This Wiki page is largely a copy of the '' | ||
- | [[http:// | + | [[http:// |
- | sync. | + | |
==== About nxagent ==== | ==== About nxagent ==== | ||
- | '' | + | '' |
- | 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 25: | Line 21: | ||
===== File Location ===== | ===== File Location ===== | ||
- | nxagent | + | nxagent |
+ | |||
+ | If nxagent is called **without branding**, it searches: | ||
+ | * in the location given by the '' | ||
+ | * in the location given by the '' | ||
+ | * in '' | ||
+ | * in ''/ | ||
+ | |||
+ | If nxagent is called **with X2Go branding** (i.e., as '' | ||
* 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 ~/.nx/config/keystroke.cfg | + | * in '' |
- | * in /etc/nx/keystroke.cfg | + | * in '' |
- | If none of those files is accessible, the default configuration is used which | + | If none of these files are 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. | ||
Line 38: | Line 42: | ||
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 54: | ||
< | < | ||
</ | </ | ||
- | </code> | + | </file> |
Each '' | Each '' | ||
Line 58: | Line 62: | ||
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. | ||
Line 79: | Line 83: | ||
* **close_session** | * **close_session** | ||
- | * This terminates the session | + | * This terminates the session. |
* **switch_all_screens** | * **switch_all_screens** | ||
* **minimize** | * **minimize** | ||
- | * This will minimize the client window (even for fullscreen sessions) | + | * This will minimize the client window (even for fullscreen sessions.) |
* **left** | * **left** | ||
* **up** | * **up** | ||
Line 88: | Line 92: | ||
* **down** | * **down** | ||
* **resize** | * **resize** | ||
- | * This action switches between the auto-resize and viewport mode (static size). The default is auto-resize. In viewport mode one can use the ' | + | * This action switches between the auto-resize and viewport mode (static size). The default is auto-resize. In viewport mode one can use the ' |
* **defer** | * **defer** | ||
- | * Works like ' | + | * Disables deferred screen updates. |
* **ignore** | * **ignore** | ||
- | * Makes it possible to add ' | + | * Makes it possible to add ' |
* **fullscreen** | * **fullscreen** | ||
- | * Turns the client window into, or out of, fullscreen mode. | + | * Switches |
* **viewport_move_left** | * **viewport_move_left** | ||
- | * moves the desktop | + | * Moves the image viewport |
* **viewport_move_up** | * **viewport_move_up** | ||
- | * moves the desktop | + | * Moves the image viewport |
* **viewport_move_right** | * **viewport_move_right** | ||
- | * moves the desktop | + | * Moves the image viewport |
* **viewport_move_down** | * **viewport_move_down** | ||
- | * moves the desktop | + | * Moves the image viewport |
Only in builds with certain debugging options enabled, ignored otherwise: | Only in builds with certain debugging options enabled, ignored otherwise: | ||
* **force_synchronization** | * **force_synchronization** | ||
- | * forces | + | * Forces |
* **debug_tree** | * **debug_tree** | ||
* **regions_on_screen** | * **regions_on_screen** |