GNU bug report logs - #37422
Setting keyboard layout with SLiM login manager doesn't work

Previous Next

Package: guix;

Reported by: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>

Date: Mon, 16 Sep 2019 10:15:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
To: Wiktor Żelazny <wz <at> freeshell.de>
Cc: 37422 <at> debbugs.gnu.org
Subject: bug#37422: Setting keyboard layout with SLiM login manager doesn't work
Date: Thu, 26 Sep 2019 22:46:45 +0200
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: #<<keyboard-layout> 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))
	 )
	 
   (remove (lambda (service)
	     (eq? (service-kind service) gdm-service-type))
	   %desktop-services))))

Dnia 2019-09-26, o godz. 18:17:03
Wiktor Żelazny <wz <at> freeshell.de> napisał(a):

> Hi,
> 
> In case you haven’t 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.
> 
>   (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
>   ))
> 
> WŻ

Jan Wielkiewicz





This bug report was last modified 5 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.