diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2019-09-08 14:57:52 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2019-09-08 15:16:16 +0200 |
commit | 7468809e72366376db73b821c8f4439738a04c37 (patch) | |
tree | 204c4fdc841a26e74f0872a088a294956462c2cd /nixos | |
parent | e57c0f3bf9625d0cf6f4b0c3cf65aa086d3f8a50 (diff) |
nixos/doc: inform users of startx about `-xkbdir` argument needed
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/configuration/x-windows.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index 7cdc5196e0d2e..f6f659b02afa6 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -280,6 +280,12 @@ xkb_symbols "media" <xref linkend="opt-services.xserver.displayManager.sessionCommands"/> = "setxkbmap -keycodes media"; </programlisting> <para> + If you are manually starting the X server, you should set the argument + <literal>-xkbdir /etc/X11/xkb</literal>, otherwise X won't find your layout files. + For example with <command>xinit</command> run + <screen><prompt>$ </prompt>xinit -- -xkbdir /etc/X11/xkb</screen> + </para> + <para> To learn how to write layouts take a look at the XKB <link xlink:href="https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Enhancing.html#Defining_New_Layouts"> documentation |