Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219595

set gnome locales to C.UTF-8

From Ted Baker <debianbaker@gmail.com>
Newsgroups linux.debian.user
Subject set gnome locales to C.UTF-8
Date 2020-02-28 02:10 +0100
Message-ID <zECk9-30q-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I updated /etc/default/locale, LANG=C.UTF-8, then reboot.

ted@debian:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

ted@debian:~$ localectl
   System Locale: LANG=C.UTF-8
       VC Keymap: us
      X11 Layout: us

so my question number 1 is, how come localectl and locale reports are
different?

and I traced the processes from parent to child, in /proc/ID/environ:
systemd --user   #LANG=C.UTF-8
gnome-terminal-server   #LANG=en_US.UTF-8, GDM_LANG=en_US.UTF-8
bash   #LANG=en_US.UTF-8, GDM_LANG=en_US.UTF-8

question number 2 is, which config file changed the LANG and added GDM_LANG?

btw, I searched the files in the following locations, either there is no
such file or there are no relevant settings in the file:
/usr/lib/systemd/user/
~/.local/share/systemd/user/
/etc/systemd/user/
~/.config/systemd/user/

I also searched in dconf-editor, and changed org.gnome.system.location from
custom value en_US.UTF-8 to default. Doesn't help.

Any reference/links about how systemd/gnome environment variable works, and
information about locales will be appreciated.

Ted

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 02:10 +0100
  Re: set gnome locales to C.UTF-8 john doe <johndoe65534@mail.com> - 2020-02-28 07:10 +0100
    Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 14:20 +0100
      Re: set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 15:30 +0100
        Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 15:40 +0100
          Re: set gnome locales to C.UTF-8 Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-28 16:30 +0100
          Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 17:10 +0100
            Re: set gnome locales to C.UTF-8 rhkramer@gmail.com - 2020-02-28 18:40 +0100
              Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 19:00 +0100
                Re: set gnome locales to C.UTF-8 rhkramer@gmail.com - 2020-02-28 20:50 +0100
          Re: set gnome locales to C.UTF-8 rhkramer@gmail.com - 2020-02-28 17:10 +0100
          Re: set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 17:30 +0100
            Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 17:40 +0100
            Re: set gnome locales to C.UTF-8 David Wright <deblis@lionunicorn.co.uk> - 2020-02-28 21:00 +0100
              Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 21:00 +0100
              Re: set gnome locales to C.UTF-8 Shanbin Zhao <shanbin@gmail.com> - 2020-02-28 21:30 +0100
  Re: set gnome locales to C.UTF-8 john doe <johndoe65534@mail.com> - 2020-02-28 07:10 +0100
    Re: set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 15:40 +0100
      Re: set gnome locales to C.UTF-8 john doe <johndoe65534@mail.com> - 2020-02-28 16:00 +0100
        Re: set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 22:20 +0100
          Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-28 22:30 +0100
            Re: set gnome locales to C.UTF-8 Ted Baker <debianbaker@gmail.com> - 2020-02-28 22:50 +0100
              Re: set gnome locales to C.UTF-8 Jonas Smedegaard <jonas@jones.dk> - 2020-02-28 23:20 +0100
                Re: set gnome locales to C.UTF-8 David Wright <deblis@lionunicorn.co.uk> - 2020-02-29 03:30 +0100
                Re: set gnome locales to C.UTF-8 Greg Wooledge <wooledg@eeg.ccf.org> - 2020-03-02 14:50 +0100
                Re: set gnome locales to C.UTF-8 David Wright <deblis@lionunicorn.co.uk> - 2020-03-02 19:20 +0100
                Re: set gnome locales to C.UTF-8 Andrei POPESCU <andreimpopescu@gmail.com> - 2020-03-03 09:20 +0100

csiph-web