You are not logged in.

#1 2026-11-25 13:09:51

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

[solved] The locale keeps switching from “de” to “en” for no reason

Hi,

My system

[archerix@t400s-arch ~]$ inxi -Sxxx
System:
  Host: t400s-arch Kernel: 7.3.4-arch1-2 arch: x86_64 bits: 64 compiler: gcc
    v: 16.2.1 clocksource: hpet
  Desktop: MATE v: 1.28.2 wm: marco v: 1.29.0 with: mate-panel
    tools: mate-screensaver vt: 1 dm: startx Distro: Arch Linux
[archerix@t400s-arch ~]$
[archerix@t400s-arch ~]$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
[archerix@t400s-arch ~]$
[archerix@t400s-arch ~]$ cat /etc/locale.conf
LANG=de_DE.UFT-8
#LC_ALL=de__DE.UTF-8
#LC_CTYPE=de_DE.UTF-8

[archerix@t400s-arch ~]$

I can’t think of any reason why this keeps happening (random switch) – could someone please help me figure it out?

Archrixi

P.S. I had to shorten the title so that I could add “[solved]”

Last edited by archerixi (Today 09:50:38)


If you ask the right question, you might get the right answer

Offline

#2 2026-11-25 14:15:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

How does this relate to https://bbs.archlinux.org/viewtopic.php?id=315590 ?
Are you looking for transparency settings for mate/marco?

There's no indication for your subject claim in the provided output - what are the exact symptoms you're objecting to?

nb.

LC_ALL=de_DE.UTF-8

Don't set that, it's a debug variable.

Online

#3 2026-11-25 15:47:54

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

Re: [solved] The locale keeps switching from “de” to “en” for no reason

Hi,

seth wrote:

How does this relate to ...[...]

I had hoped it would be enough to describe the process in the headline.

LC_ALL=de_DE.UTF-8

Don't set that, it's a debug variable.

I edited ./bashrc

[archerix@t400s-arch ~]$ cat ~/.bashrc
#
# ~/.bashrc
[...]
export LANG=de_DE.UTF-8
export LC_ALL=
[archerix@t400s-arch ~]$
[archerix@t400s-arch ~]$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de...
[...]
LC_ALL=
[archerix@t400s-arch ~]$ 

After a reboot it starts still with 'en' but seems to stay on 'de' after on switch (in the panel)

Archerixi


If you ask the right question, you might get the right answer

Offline

#4 2026-11-25 15:56:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

I meant wrt the details on the other thread (where you're talking about ubuntu and an undisclosed X11 environment)

Either way:

After a reboot it starts still with 'en' but seems to stay on 'de' after on switch (in the panel)

By "in the panel" and "switch" I suspect you're talking about some keyboard layout indicator?
That's completely unrelated to the locale settings, https://wiki.archlinux.org/title/Xorg/K … figuration
But there might be session-specific settings in the mate control center

Online

#5 2026-11-26 18:41:45

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

Re: [solved] The locale keeps switching from “de” to “en” for no reason

Hi,

I was wrong – it’s the keyboard settings that keep switching to English on their own (or so).

Archerixi


If you ask the right question, you might get the right answer

Offline

#6 2026-11-26 18:58:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

So… did you check the layout settings in the mate control center and/or your xorg log/config as to what sets the layout itfp - and then what you configured as switch, https://wiki.archlinux.org/title/Xorg/K … rd_layouts ?

Online

#7 2026-11-26 22:09:29

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

Re: [solved] The locale keeps switching from “de” to “en” for no reason

Hi,

in the MATE control center I installed (besides the standard english keyboard) a layout for german and put it in the first position.
In the panel exists a toggle switch ( look -> EN in the top right-hand corner of the picture)

Archerixi


If you ask the right question, you might get the right answer

Offline

#8 2026-11-26 22:16:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

The layout settings page would be more interesting - you could forego the mate settings, add the layouts via the xorg config and see whether that starts w/ the correct order.
Resp. for "keep switching to English on their own" make sure that "on their own" isn't "you", ie. you unwittingly hit the switching toggle shortcut.

Online

#9 Today 09:47:47

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

Re: [solved] The locale keeps switching from “de” to “en” for no reason

Hi,

It seems that once Compiz has been installed (without actually running it), the error no longer occurs.

seth wrote:

...
Resp. for "keep switching to English on their own" make sure that "on their own" isn't "you", ie. you unwittingly hit the switching toggle shortcut.

I can’t find anything about this in the list of keyboard shortcuts (default MATE).

Archerix


If you ask the right question, you might get the right answer

Offline

#10 Today 10:12:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

setxkbmap -print -query

once Compiz has been installed (without actually running it)

it will have had absolutely no impact on this.

Online

#11 Today 18:05:14

archerixi
Member
From: Ge
Registered: 2026-07-21
Posts: 27

Re: [solved] The locale keeps switching from “de” to “en” for no reason

Hi,

[archerix@t400s-arch ~]$ setxkbmap -print -query
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+de+gb:2+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
rules:      evdev
model:      pc105
layout:     de,gb
variant:    ,
[archerix@t400s-arch ~]$ 

Archerixi


If you ask the right question, you might get the right answer

Offline

#12 Today 18:07:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,106

Re: [solved] The locale keeps switching from “de” to “en” for no reason

There's no server shortcut to switch layouts, if anything, there'd to be a client (global shortcut daemon) to switch layouts… hmm

Online

Board footer

Powered by FluxBB