GNU bug report logs - #31735
[PATCH] Document xorg keymap configuration

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Wed, 6 Jun 2018 17:07:01 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 31735 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 31735 <at> debbugs.gnu.org
Subject: Re: [bug#31735] [PATCH] Document xorg keymap configuration
Date: Fri, 08 Jun 2018 18:42:58 +0200
Hello,

Julien Lepiller <julien <at> lepiller.eu> skribis:

> From 2bb6a98052313dc40d62184dd62a0a625e2b17c1 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien <at> lepiller.eu>
> 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’.




This bug report was last modified 6 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.