From: o.rojon@posteo.net
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 37897@debbugs.gnu.org
Subject: bug#37897: Bug: Resetting locale settings
Date: Thu, 14 Nov 2019 13:23:13 +0100 [thread overview]
Message-ID: <9f8fe353bb95ececcc7ad3402d6c15d9@posteo.net> (raw)
In-Reply-To: <87lfsjopji.fsf@gnu.org>
Hello ludo, hey guys,
here you go. I took the liberty to anonymize and to skip the package
modules and packages sections.
I realised that when I dont specify WHICH KIND of german keyboard layout
I have, the problem does not occur. That is, if I use the
(keyboard-layout (keyboard-layout "de")), I dont have any problems.
Thus I suppose that there might be something wrong with the spelling of
the specification (compare both commented-out attempts at
specification). Strictly speaking, then, it may not be a bug. But if it
is not a bug, I dont know how specify the specification, since in the
manual the specification consists of only one word (e.g. "fr" "bepo"),
and under /run/current-system/profile/share/keymaps/i386/qwertz/, said
keymap is listed as "de-latin1-nodeadkeys".
(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)
(use-package-modules ...)
(operating-system
(locale "de_DE.utf8")
(timezone "Europe/Berlin")
;; (keyboard-layout (keyboard-layout "de" "latin1-nodeadkeys"))
;; (keyboard-layout (keyboard-layout "de" "latin1 nodeadkeys"))
(keyboard-layout (keyboard-layout "de"))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sdb")
(keyboard-layout keyboard-layout)))
(swap-devices (list "/dev/sdb3"))
(file-systems
(cons* (file-system
(mount-point "/home")
(device
(uuid "8ee0b983-53f0-4e18-852f-8cd4424a6c6f"
'btrfs))
(type "btrfs"))
(file-system
(mount-point "/")
(device
(uuid "cb425a5f-bd91-45d3-92e1-3b983450ee21"
'ext4))
(type "ext4"))
%base-file-systems))
(host-name "guixter")
(users (cons* (user-account
(name "user")
(comment "")
(group "users")
(home-directory "/home/user")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list ...)
%base-packages))
(services
(append
(list (service xfce-desktop-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services)))
Greetings,
Olivier
On 13.11.2019 14:48, Ludovic Courtès wrote:
> Hi,
>
> o.rojon@posteo.net skribis:
>
>> So I was talking about the keyboard layout all along. Not only was my
>> locale set to "de_DE.utf8", but my keyboard configuration is set to
>> "de-latin1-nodeadkeys". Interestingly, the keyboard layout is
>> different in xorg and xfce than it is in the console (the one I reach
>> via C-M-Fx, not the terminal emulator). In the console, I have the
>> qwertz keyboard layout.
>>
>> Also find the part of my current configuration file (sitting at
>> /etc/config.scm) which specifies both locale and keyboard layout:
>> (operating-system
>> (locale "de_DE.utf8")
>> (timezone "Europe/Berlin")
>> (keyboard-layout (keyboard-layout "de" "latin1-nodeadkeys"))
>> (bootloader
>> (bootloader-configuration
>> (bootloader grub-bootloader)
>> (target "/dev/sdb")
>> (keyboard-layout keyboard-layout)))
>
> Could you post your complete config file?
>
> The snippet above defines the keyboard layout for the console and for
> GRUB, but it does not define the keyboard layout for Xorg/Xfce. For
> that you need an extra bit with ‘set-xorg-configuration’ as noted at
> <>.
>
> Thanks in advance,
> Ludo’.
next prev parent reply other threads:[~2019-11-14 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-23 22:49 bug#37897: Bug: Resetting locale settings o.rojon
2019-10-23 23:27 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2019-10-25 20:44 ` Ludovic Courtès
2019-10-26 21:26 ` o.rojon
2019-11-13 13:48 ` Ludovic Courtès
2019-11-14 12:23 ` o.rojon [this message]
2019-11-14 21:51 ` Ludovic Courtès
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=9f8fe353bb95ececcc7ad3402d6c15d9@posteo.net \
--to=o.rojon@posteo.net \
--cc=37897@debbugs.gnu.org \
--cc=ludo@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 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).