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: Sat, 28 Sep 2019 13:22:27 +0200 Message-ID: <20190928132227.47ad90d5@interia.pl> References: <20190916002322.04834163@interia.pl> <20190926161703.uwt5ahj5u4ot33a7@wz.localdomain> <20190926224645.0dcf55fe@interia.pl> <20190928073552.ttkeuxciq5s7x4fk@wz.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34236) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEBTE-0002QZ-Cl for bug-guix@gnu.org; Sat, 28 Sep 2019 08:05:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEBTD-0005di-1H for bug-guix@gnu.org; Sat, 28 Sep 2019 08:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEBTC-0005ck-Gu for bug-guix@gnu.org; Sat, 28 Sep 2019 08:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEBTC-0004ko-8e for bug-guix@gnu.org; Sat, 28 Sep 2019 08:05:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190928073552.ttkeuxciq5s7x4fk@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 On Sat, 28 Sep 2019 09:35:52 +0200 Wiktor elazny wrote: > 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 I can't really remove it - notice I'm using append and two lists instead of cons* - the remove procedure returns a list of services without GDM and removing the parenthesis would make a nested list inside the list of services "operating-system" accepts. I've just replaced append+list with cons* just for testing purposes and it still doesn't work, the same result. But trying another solution have helped: I replaced (keyboard-layout (keyboard-layout ...)) in slim-configuration with (keyboard-layout keyboard-layout). Thanks for helping me. set-xorg-configuration doesn't work with slim though, would be nice if someone fixed it and the fact (keyboard-layout (keyboard-layout "pl,cz" "legacy,ucw")) works on your machine, but not on mine is strange. Jan Wielkiewicz