guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31735] [PATCH] Document xorg keymap configuration


From: Ludovic Courtès
Subject: [bug#31735] [PATCH] Document xorg keymap configuration
Date: Fri, 08 Jun 2018 18:42:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Julien Lepiller <address@hidden> skribis:

> From 2bb6a98052313dc40d62184dd62a0a625e2b17c1 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <address@hidden>
> Date: Wed, 6 Jun 2018 19:01:42 +0200
> Subject: [PATCH] doc: Document xorg keymap configuration.
>
> * doc/guix.texi (Xorg display): Add an example xorg keymap configuration.

LGTM!  Though…

> +(define bepo-evdev
> +  "Section \"InputClass\"
> +        Identifier \"evdev keyboard catchall\"
> +        Driver \"evdev\"
> +        MatchIsKeyboard \"on\"
> +        Option \"xkb_layout\" \"fr\"
> +        Option \"xkb_variant\" \"bepo\"
> +EndSection")
> +
> +(operating-system
> +  ...
> +  (services
> +    (modify-services %desktop-services
> +      (slim-service-type config =>
> +        (slim-configuration
> +          (inherit config)
> +          (startx (xorg-start-command
> +                   #:configuration-file
> +                   (xorg-configuration-file
> +                     #:extra-config
> +                     (list bepo-evdev)))))))))

… I really hope we can soon improve on this and provide an abstract
mechanism to specify the keyboard layout for everything from GRUB to X.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]