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: Sat, 28 Sep 2019 13:22:27 +0200	[thread overview]
Message-ID: <20190928132227.47ad90d5@interia.pl> (raw)
In-Reply-To: <20190928073552.ttkeuxciq5s7x4fk@wz.localdomain>

On Sat, 28 Sep 2019 09:35:52 +0200
Wiktor elazny <wz@freeshell.de> 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

  reply	other threads:[~2019-09-28 12:05 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
2019-09-28 11:22       ` Jan Wielkiewicz [this message]
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=20190928132227.47ad90d5@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).