bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37422: Setting keyboard layout with SLiM login manager doesn't work


From: Wiktor Żelazny
Subject: bug#37422: Setting keyboard layout with SLiM login manager doesn't work
Date: Sat, 28 Sep 2019 09:35:52 +0200
User-agent: NeoMutt/20180716

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: #<<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))))

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Ż

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]