This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:advanced:nx-keyboard-shortcuts [2015/04/26 23:45] ionic Fix spelling and grammar in action descriptions. |
wiki:advanced:nx-keyboard-shortcuts [2019/05/11 16:33] uli42 [File Format] |
||
---|---|---|---|
Line 7: | Line 7: | ||
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**. | ||
Line 22: | 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 '' | * 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 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 49: | Line 56: | ||
</ | </ | ||
- | Each '' | + | Each ' |
- | list of possible actions is given below. Some of those actions are only | + | keystroke. A list of possible actions is given below. Some of those |
- | available with debug builds of nxagent. | + | actions are only available with debug builds of nxagent. |
- | Keys are given as a combination of ''key'' and (optionally) a number 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 |
- | '' | + | / |
- | ''XK_''. Evaluation is case-sensitive, | + | leading ' |
- | ''Space'' and '' | + | will work while ' |
+ | |||
+ | Modifiers are given as boolean attributes, possible modifiers are | ||
+ | Mod1, Mod2, Mod3, Mod4, Mod5, Control, Shift, Lock. Sensible | ||
+ | combinations strongly depend on your keyboard configuration, | ||
+ | usually you will need Mod1 and Control. Boolean in this context means | ||
+ | ' | ||
+ | considered true. | ||
+ | |||
+ | Everything in this file is case-sensitive. Unknown lines are ignored | ||
+ | (accompanied by a warning in the session log). Keybindings are | ||
+ | evaluated from top to bottom, so if a keybinding matches, other | ||
+ | keybindings further down will be ignored. The contents of the file | ||
+ | replaces the default keybindings, | ||
+ | merging between different configuration files is done. This also means | ||
+ | that an empty or invalid configuration file deactivates all | ||
+ | keybindings. | ||
- | Modifiers are given as boolean attributes, possible modifiers are '' | + | If an attribute |
- | '' | + | |
- | keyboard configuration, | + | |
- | this context means '' | + | |
- | else is considered true. | + | |
- | Everything in this file is case-sensitive. Unknown lines are ignored. | + | Some of the actions can open a dialog window. Depending on the user's |
- | Keybindings are evaluated from top to bottom, so if a keybinding matches, other | + | answer the selected action |
- | keybindings further down will be ignored. The contents of the file replaces | + | a dialog informing |
- | default keybindings, | + | will only work if the nxagent/ |
- | configuration files is done. This also means that an empty or invalid configuration | + | configured NX_CLIENT environment variable pointing to an executable |
- | file deactivates all keybindings. | + | (like nxdialog) that is responsible for showing the dialogs and taking |
+ | the action(s). If that executable cannot be run no dialog will show up | ||
+ | and no action will be taken. | ||
===== List of possible '' | ===== List of possible '' | ||
Line 87: | Line 108: | ||
* 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 ' |