From 65664f9ffb88dfcc191a6dd2ef5c0ba87abea65b Mon Sep 17 00:00:00 2001 From: minus Date: Fri, 31 Mar 2023 17:50:37 +0000 Subject: [PATCH] keyboard: Expand explanation for xkb_options --- Home.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Home.md b/Home.md index 2bf0765..503cc41 100644 --- a/Home.md +++ b/Home.md @@ -189,6 +189,8 @@ See `man 7 xkeyboard-config` for options you can use with the `xkb_layout`, `xkb User-specific settings such as symbols will be loaded from their respective directories in `~/.xkb/` or `$XDG_CONFIG_HOME/xkb/`. +A lot of modifications are available through `xkb_options`. They can be found in `/usr/share/X11/xkb/symbols/{altwin,capslock,compose,ctrl}` and the respective option name in `/usr/share/X11/xkb/rules/base`. + **Examples**: * Make caps lock work as escape: `xkb_options caps:escape` @@ -196,6 +198,7 @@ User-specific settings such as symbols will be loaded from their respective dire * Make caps lock work as control: `xkb_options ctrl:nocaps` * Make caps lock work as additional control `xkb_options caps:ctrl_modifier` * Swap left alt and super, *and* set caps lock to escape: `xkb_options altwin:swap_lalt_lwin,caps:escape` +* Make the menu key work as additional super: `xkb_options altwin:menu_win` Note that to trigger several options, you need to list them separated with a comma, e.g. `xkb_options caps:escape,altwin:swap_lalt_lwin`; if you instead write several `xkb_options`-lines, only the last one will take effect.