From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRKUh-0006kU-6H for guix-patches@gnu.org; Fri, 08 Jun 2018 12:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRKUc-0003nU-5b for guix-patches@gnu.org; Fri, 08 Jun 2018 12:44:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRKUc-0003nL-1W for guix-patches@gnu.org; Fri, 08 Jun 2018 12:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRKUb-00039r-Qu for guix-patches@gnu.org; Fri, 08 Jun 2018 12:44:01 -0400 Subject: [bug#31735] [PATCH] Document xorg keymap configuration Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180606190553.4675fe0d@lepiller.eu> Date: Fri, 08 Jun 2018 18:42:58 +0200 In-Reply-To: <20180606190553.4675fe0d@lepiller.eu> (Julien Lepiller's message of "Wed, 6 Jun 2018 19:05:53 +0200") Message-ID: <874lidjkkt.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 31735@debbugs.gnu.org Hello, Julien Lepiller skribis: > From 2bb6a98052313dc40d62184dd62a0a625e2b17c1 Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > 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=E2=80=A6 > +(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 =3D> > + (slim-configuration > + (inherit config) > + (startx (xorg-start-command > + #:configuration-file > + (xorg-configuration-file > + #:extra-config > + (list bepo-evdev))))))))) =E2=80=A6 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=E2=80=99.