unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
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: Sat, 26 Oct 2019 23:26:22 +0200	[thread overview]
Message-ID: <6582f267453f9e9c29d57b9a0f18cd76@posteo.net> (raw)
In-Reply-To: <87v9scmu60.fsf@gnu.org>

Hello Ludo,

maybe I have been a bit unprecise in my wording, Im rather new to that 
level of configurability.

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

I was surprised by the behaviour described in my bug report because I 
saw that the value for "keyboard-layout", which is set very early in the 
operating-system declaration, is simply copied over in later parts of 
the configuration file.

If you need anything else, please specify. Again, Im rather new to these 
things, so sorry for technical inspecificity.

Greetings!

On 25.10.2019 22:44, Ludovic Courtès wrote:
> Hello,
> 
> o.rojon@posteo.net skribis:
> 
>> I believe that a locale-related bug has slipped in somewhere in the
>> last two-three weeks. During installation and in my configuration
>> file, I have specified de_DE specified as locale, which should
>> translate to a german keyboard layout. But since said two-three weeks,
>> I startup with what I believe is the US layout (qwerty) - and before
>> this occurred, I was once even unable to login because my keyboard
>> layout has been changed to something so obscure it didnt even seem to
>> know basic characters like the exclamation mark, while there was a
>> number of characters that could not be displayed (probably non-utf
>> characters I suppose).
> 
> Could you be more specific about the context in which you get an
> incorrect layout (console, Xorg, Wayland, GNOME, etc.)?
> 
> Note that locale settings and keyboard layout settings are entirely
> separate—choosing the “de_DE” locale gives you programs that speak
> German, but it does not give you a “qwertz” layout.  See:
> 
>   https://guix.gnu.org/manual/devel/en/html_node/Keyboard-Layout.html
>   https://guix.gnu.org/manual/devel/en/html_node/Locales.html
> 
> HTH,
> Ludo’.

  reply	other threads:[~2019-10-26 21:27 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 [this message]
2019-11-13 13:48     ` Ludovic Courtès
2019-11-14 12:23       ` o.rojon
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=6582f267453f9e9c29d57b9a0f18cd76@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).