From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Wielkiewicz Subject: bug#37422: Setting keyboard layout with SLiM login manager doesn't work Date: Thu, 26 Sep 2019 22:46:45 +0200 Message-ID: <20190926224645.0dcf55fe@interia.pl> References: <20190916002322.04834163@interia.pl> <20190926161703.uwt5ahj5u4ot33a7@wz.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38483) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDagF-0003q1-Vq for bug-guix@gnu.org; Thu, 26 Sep 2019 16:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDagE-00065w-TP for bug-guix@gnu.org; Thu, 26 Sep 2019 16:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDagE-000657-DQ for bug-guix@gnu.org; Thu, 26 Sep 2019 16:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDagE-0006Oo-Ay for bug-guix@gnu.org; Thu, 26 Sep 2019 16:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190926161703.uwt5ahj5u4ot33a7@wz.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Wiktor =?UTF-8?Q?=C5=BBelazny?= Cc: 37422@debbugs.gnu.org Hi, I've tried this solution already, but it didn't work for me then and it doesn't work now. When I try to reconfigure my system, guix throws: guix system: error: failed to load '/etc/config.scm': /etc/config.scm:66:57: Wrong type to apply: #< name: "pl" variant: "legacy" model: #f options: ()> Don't really know why this happens. Here's my config.scm: (services (append (list (service mate-desktop-service-type) (service slim-service-type (slim-configuration (display ":0") (vt "vt7") (xorg-configuration (xorg-configuration (keyboard-layout (keyboard-layout "pl" "legacy")))))) (service tor-service-type) (extra-special-file "/bin/bash" (file-append coreutils "/bin/bash")) ;; (set-xorg-configuration ;; (xorg-configuration ;; (keyboard-layout keyboard-layout)) ;; slim-service-type)) ) =20 (remove (lambda (service) (eq? (service-kind service) gdm-service-type)) %desktop-services)))) Dnia 2019-09-26, o godz. 18:17:03 Wiktor =C5=BBelazny napisa=C5=82(a): > Hi, >=20 > In case you haven=E2=80=99t found the solution, yet, perhaps this snippet= from > my config.scm will help you. You will need to trim it to adapt to your > circumstances. >=20 > (services (cons* (service slim-service-type (slim-configuration > (display ":0") > (vt "vt7") > (auto-login? #t) > (default-user "w") > (xorg-configuration > (xorg-configuration > (keyboard-layout > (keyboard-layout "pl,cz" "legacy,ucw" > = #:options > '("compose:menu,grp:caps_switch"))))))) ;; skipped content > )) >=20 > W=C5=BB Jan Wielkiewicz