GNU bug report logs -
#37422
Setting keyboard layout with SLiM login manager doesn't work
Previous Next
To reply to this bug, email your comments to 37422 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Mon, 16 Sep 2019 10:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 16 Sep 2019 10:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi everyone!
I've tried using the default Polish keyboard layout with
SLiM and it doesn't seem to work - the system reconfigures properly
with no single error or warning, then after rebooting and logging in,
the layout is unavailable - only the US layout. The Polish layout is
aviable in tty's, but not in X sessions. I've run guix pull
several days ago.
This is my configuration:
(keyboard-layout (keyboard-layout "pl" "legacy"))
[...]
(service slim-service-type
(slim-configuration
(display ":0")
(vt "vt7")))
(set-xorg-configuration (xorg-configuration
(keyboard-layout keyboard-layout))
slim-service-type)
PS tried sending this message to
https://issues.guix.gnu.org/issue/26234
but it got lost. Is it an accident, or is sending messages to closed
issues impossible?
---
Jan Wielkiewicz
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Wed, 18 Sep 2019 05:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 37422 <at> debbugs.gnu.org (full text, mbox):
> PS tried sending this message to
> https://issues.guix.gnu.org/issue/26234
> but it got lost. Is it an accident, or is sending messages to closed
> issues impossible?
It is closed. This was the last comment:
It’s been a while :-), but this is fixed by
598757e038ab5dea3b59c9c248a2ad860c41fe62, which lets you choose the Xorg
keyboard layout (this was already possible before actually, but a bit
more involved.)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Wed, 18 Sep 2019 11:42:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 37422 <at> debbugs.gnu.org (full text, mbox):
On Wed, 18 Sep 2019 00:00:27 -0500
quiliro <at> riseup.net wrote:
> > PS tried sending this message to
> > https://issues.guix.gnu.org/issue/26234
> > but it got lost. Is it an accident, or is sending messages to closed
> > issues impossible?
>
> It is closed. This was the last comment:
>
> It’s been a while :-), but this is fixed by
> 598757e038ab5dea3b59c9c248a2ad860c41fe62, which lets you choose the
> Xorg keyboard layout (this was already possible before actually, but
> a bit more involved.)
>
The answer is from March, I ran "guix pull" and "sudo guix system
reconfigure /etc/config.scm" today, and the keyboard layout is still
unavailable. There's a chance this bug is similar to the bug from
the past, but not the same, letting it exist unnoticed.
---
Jan Wielkiewicz
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Thu, 26 Sep 2019 16:18:04 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Sep 16, 2019 at 12:23:22AM +0200, Jan Wielkiewicz wrote:
> I've tried using the default Polish keyboard layout with SLiM and it
> doesn't seem to work
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Ż
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Thu, 26 Sep 2019 16:18:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Thu, 26 Sep 2019 20:48:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 37422 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Sat, 28 Sep 2019 07:36:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 37422 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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Ż
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Sat, 28 Sep 2019 12:05:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 37422 <at> debbugs.gnu.org (full text, mbox):
On Sat, 28 Sep 2019 09:35:52 +0200
Wiktor elazny <wz <at> 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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Sun, 29 Sep 2019 12:31:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 37422 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Sep 28, 2019 at 01:22:27PM +0200, Jan Wielkiewicz wrote:
> 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.
The last thing that comes to my mind is the line:
(use-service-modules desktop xorg)
Have you got these in your config.scm?
WŻ
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37422
; Package
guix
.
(Sun, 29 Sep 2019 12:58:03 GMT)
Full text and
rfc822 format available.
Message #32 received at 37422 <at> debbugs.gnu.org (full text, mbox):
On Sun, 29 Sep 2019 14:27:59 +0200
Wiktor Żelazny <wz <at> freeshell.de> wrote:
> The last thing that comes to my mind is the line:
>
> (use-service-modules desktop xorg)
>
> Have you got these in your config.scm?
>
> WŻ
Yes I have. I wouldn't be able to run Mate DE, if I didn't have
these two.
Jan Wielkiewicz
This bug report was last modified 5 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.