all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Wiktor Żelazny" <wz@freeshell.de>
To: 37422@debbugs.gnu.org
Subject: bug#37422: Setting keyboard layout with SLiM login manager doesn't work
Date: Sat, 28 Sep 2019 09:35:52 +0200	[thread overview]
Message-ID: <20190928073552.ttkeuxciq5s7x4fk@wz.localdomain> (raw)
In-Reply-To: <20190926224645.0dcf55fe@interia.pl>

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]

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)))))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

  reply	other threads:[~2019-09-28  7:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-15 22:23 bug#37422: Setting keyboard layout with SLiM login manager doesn't work Jan Wielkiewicz
2019-09-18  5:00 ` quiliro
2019-09-18 11:41   ` Jan
2019-09-26 16:17 ` Wiktor Żelazny
2019-09-26 20:46   ` Jan Wielkiewicz
2019-09-28  7:35     ` Wiktor Żelazny [this message]
2019-09-28 11:22       ` Jan Wielkiewicz
2019-09-29 12:27         ` Wiktor Żelazny
2019-09-29 12:57           ` Jan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190928073552.ttkeuxciq5s7x4fk@wz.localdomain \
    --to=wz@freeshell.de \
    --cc=37422@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.