unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
To: "Wiktor Żelazny" <wz@freeshell.de>
Cc: 37422@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	[thread overview]
Message-ID: <20190926224645.0dcf55fe@interia.pl> (raw)
In-Reply-To: <20190926161703.uwt5ahj5u4ot33a7@wz.localdomain>

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@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

  reply	other threads:[~2019-09-26 20:48 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 [this message]
2019-09-28  7:35     ` Wiktor Żelazny
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20190926224645.0dcf55fe@interia.pl \
    --to=tona_kosmicznego_smiecia@interia.pl \
    --cc=37422@debbugs.gnu.org \
    --cc=wz@freeshell.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).