From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?q?Wiktor_=C5=BBelazny?= Subject: bug#37422: Setting keyboard layout with SLiM login manager doesn't work Date: Sat, 28 Sep 2019 09:35:52 +0200 Message-ID: <20190928073552.ttkeuxciq5s7x4fk@wz.localdomain> References: <20190916002322.04834163@interia.pl> <20190926161703.uwt5ahj5u4ot33a7@wz.localdomain> <20190926224645.0dcf55fe@interia.pl> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ppi4h3sesoz3csqc" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60399) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE7Gv-0001FW-Dh for bug-guix@gnu.org; Sat, 28 Sep 2019 03:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iE7Gu-0004Gs-EX for bug-guix@gnu.org; Sat, 28 Sep 2019 03:36:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iE7Gt-0004Fx-5O for bug-guix@gnu.org; Sat, 28 Sep 2019 03:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iE7Gs-0004fJ-Rf for bug-guix@gnu.org; Sat, 28 Sep 2019 03:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20190926224645.0dcf55fe@interia.pl> 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: 37422@debbugs.gnu.org --ppi4h3sesoz3csqc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 26, 2019 at 10:46:45PM +0200, Jan Wielkiewicz wrote: > 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)))) My wild guess at it would be: diff --git a/config.scm b/config.scm index 83044a1..1c07417 100644 --- a/config.scm +++ b/config.scm @@ -15,8 +15,7 @@ ;; (xorg-configuration ;; (keyboard-layout keyboard-layout)) ;; slim-service-type)) - ) (remove (lambda (service) (eq? (service-kind service) gdm-service-type)) - %desktop-services)))) + %desktop-services))))) W=C5=BB --ppi4h3sesoz3csqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl2PDVhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edVEGg/+N/MhlsjIDvo3TzaWTgrIj5tY7MN4X3U+j2ME+uR3+4uARcl+P6GS+r2U aiEjDUq1O7kGh8OoaeLOUgRyeBf5dlbfGCBlnzOxbpcSsYTcIjr0rVTuiyWZ8R5o bEH8fMzahzID9W107DQEn9TOpTU6bA6hSq6V1971xeycioWeA4q8YFBchLX9Hwaz hAvDiTFMo9qBa0dEgQHNMQ5p2nqtHKZSOfdU55w1qjF8xhPuher/+lhO0CXTaEZb X1b1+uW6Y4AwbxMhQk3d0aVQ1cNB2wm5IQF72+ws6CK2APL6klvsAF8XhtUOY908 RA1KUaBlYkcY1m98/+PdmUvqjhwc9r6hLNDDCJnvVlceO6cePS4ujbHkjh7NTNBy SRxNdIV3LEvhms4peG9+Dls3inocJSbJw0lMWfyIXH/7uUxW5ImqNrrtUNl0xwQ8 SVkAc9gChgYbZtfxJClN3KpgpwH5vG0VulECRxm3AZQXd2e4qnDLLoETPNYa2qyw fT9vBxt/aQMbKwOmDk6j3fbLtl9+Tvd49wL1Nqnu3VRO8e+F3n8U1ZfBn6KtdQfB Lx9sZV0Gm31qd93rJCuE2+eYY3BDuox6icvD9BwtwfL+WKYWW+9/0WcHmjepZwLk h/caAAlWcNAywEemCLcXiQvHYEwxXqQwm/Urca+uRpsDf9TnGz8= =62JO -----END PGP SIGNATURE----- --ppi4h3sesoz3csqc--