From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Keyboard layout Date: Sun, 10 Apr 2016 23:01:43 +0300 Message-ID: <871t6ds060.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apLYL-0008L2-7t for help-guix@gnu.org; Sun, 10 Apr 2016 16:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apLYI-00006L-22 for help-guix@gnu.org; Sun, 10 Apr 2016 16:01:49 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:36726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apLYH-00006H-R2 for help-guix@gnu.org; Sun, 10 Apr 2016 16:01:46 -0400 Received: by mail-lf0-x243.google.com with SMTP id p81so16975014lfb.3 for ; Sun, 10 Apr 2016 13:01:45 -0700 (PDT) In-Reply-To: (Thierry Micoud's message of "Sun, 10 Apr 2016 15:38:51 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Thierry Micoud Cc: help-guix@gnu.org Thierry Micoud (2016-04-10 17:38 +0300) wrote: > I've installed guixsd 0.10. Its probably a rooky problem but seem > unable to solve it and I apologise! ;) > I'd like to change to keyboard layout from us to uk. > > Ideally I'd like to set the keyboard layout in the config.scm file > and 'guix system reconfigure' > Is this possible.? I don't think so, you can use 'console-keymap-service' but it is for console only (the same as you would use 'loadkeys' command)... Or maybe you can by modifying xorg configuration file (see (info "(guix) X Window") in the manual) and adding something like this to it: Section "InputClass" Identifier "Keyboard0" MatchIsKeyboard "yes" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbLayout" "gb,us" EndSection But it is more simple just to use setxkbmap as you did on other distro. > I use DWM window manager and in my xsession file on other computer > (running voidlinux) I've a line with "setxkbmap gb=E2=80=9D which does the > job. Which package does 'setxkbmap' belong to in guix, I can't seam > to locate it. and if does not exist what other tools are there setxkbmap is in the 'setxkbmap' package, so after "guix package -i setxkbmap", I think you can just add "setxkbmap gb" to "~/.xsession" file (I'm not sure as I've never used this method). --=20 Alex