diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2024-03-10 00:48:38 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-03-10 17:00:12 +0100 |
commit | 3358b1473f52876c21e3acafe8f7eac41d01a290 (patch) | |
tree | 660b679180fd5254cf41b9d7d3f82bbb0f5ad3b8 /console-client/xkb/README | |
parent | 66c891b1cb9ba42bd1824ef0dbffba503697c405 (diff) |
console-client: use xkbcommon instead of x11 for xkb extended support
This allow to reduce the dependencies, only xkbcommon (keyboard support
only) is required instead of the whole x11 library + lex + yacc.
This replacement allow to reduce the code size, now features are handled
by xkbcommon itself.
The functionnalites remain the sames (actions are reimplemented
but in the code directly as it’s impossible to add custom actions).
The custom xkb data files are removed as we can now directly use the
standard ones from xkeyboard-config.
The configuration to launch the console keyboard modules changed to now
directly configure the model+layout+variat+options directly.
Tested by compiling with and without xkbcommon.
Tested X11 (ran i3 correctly).
Composing is still working.
Message-ID: <20240309234838.31923-1-etienne.brateau@gmail.com>
Diffstat (limited to 'console-client/xkb/README')
-rw-r--r-- | console-client/xkb/README | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/console-client/xkb/README b/console-client/xkb/README index b8e246a7..82f46ba7 100644 --- a/console-client/xkb/README +++ b/console-client/xkb/README @@ -62,16 +62,15 @@ XFree and will be placed in /share/X11/xkb on most systems. This module adds the following set of options to pc-kbd for overriding the default behaviour: ---xkbdir : The root directory of the xkb configuration, by default - this is /share/X11/xkb. +--model : model of the keyboard (usually pc105). ---keymapfile : The file that hold the descriptions of the default - keymaps file. This file holds the description of all keymaps. This - path should be relative to the path set by `xkbdir'. By default - "keymap/xfree86" is used. +--layout : The layout of the keyboard (us, fr, it, etc). ---keymap : The keymap to use. By default en_US is used. Examples of - some other keymaps are: fr, us, de, dvorak. Example: --keymap=de +--variant : The variant of layout to use (latin9, dvorak, etc). + +--options : The options to pass to xkbcommon. + +--composefile : The compose file to use for key composition in the keyboard (ctrl, alt, etc). --ctrlaltbs : CTRL+Alt+Backspace will exit the console client. --no-ctrlaltbs : CTRL+Alt+Backspace will not exit the console client. @@ -82,18 +81,6 @@ the default behaviour: --repeat-interval : The number of jiffies the driver should wait between each repeated key. By default this is 10 jiffies. -I wrote some XKB extensions and configuration files to use these -extensions. You can find these files in the xkb-data directory. - -The build system will copy these files to where your XKB -configuration files are (usually /share/X11/xkb). - -for example: xkb-data/keymap/hurd will be copied to /share/X11/xkb/keymap. - -To use these extensions you have to use the hurd keymaps file. This -holds all keymaps extended with Hurd features. Use "--keymapfile -keymap/hurd" to select this file. - After that you can use these keybindings: Alt + F1...F12: Switch VC. |