You are not logged in.

#1 2025-01-30 09:21:47

michaelmcandrew
Member
Registered: 2017-11-07
Posts: 8

[SOLVED] Gnome - keyboard layout reverting to 'us'

Each time I restart (or logout and login to a gnome session) my keyboard layout is getting reset to US

michael@archlinux ~ gsettings get org.gnome.desktop.input-sources sources                  
[('xkb', 'us')]
michael@archlinux ~ localectl                                            
System Locale: LANG=en_GB.UTF-8
    VC Keymap: uk
   X11 Layout: gb

I can change it back to gb with

michael@archlinux ~ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'gb')]"

But each time I restart it gets reset to US again.

It has only started happening in the last day or so. Any ideas on how to fix this?

Last edited by michaelmcandrew (2025-02-03 21:33:08)

Offline

#2 2025-01-30 10:33:17

ItsAlex
Member
Registered: 2024-08-22
Posts: 4

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Same here

Offline

#3 2025-01-30 11:07:18

Readek
Member
Registered: 2019-11-20
Posts: 8

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Can confirm, though I'm on KDE, my keyboard gets reset to US every reset. Going to KDE's keyboard settings and adding another layout fixes it, but only until I reboot.

Offline

#4 2025-01-30 13:49:42

TheoM
Member
Registered: 2024-07-13
Posts: 2

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

I have the same issue sice the last update and a strange message popped up about Fcitx5 needing the "Input Method Panel" Gnome extension.

I managed to fix this by installing said extension : AUR link

As well as an utility to configure Fcitx5 : fcitx5-configtool

And I was able to easily create a config that stayed even after reboot.

However I do not consider this solution to be optimal, If anyone has a better idea, feel free to post it below.

Offline

#5 2025-01-30 19:19:57

mluque
Member
Registered: 2018-02-28
Posts: 11

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

The same is happening to me.

Offline

#6 2025-01-30 19:49:53

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 110

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Using KDE and have the same reported problem. Tried to switch the input method in KDE and log off/logon but did not help. Not only reboot but also on logoff/logon you loose your settings of previous session. If someone has a solution, please report. Very annoying you have to reset your keyboard layout after each reboot or log off/logon.


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#7 2025-01-31 04:28:36

rouelle
Member
Registered: 2018-03-13
Posts: 53

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Same problem for me, each login in Gnome-Shell 47.3 my french canadian keyboard is reset to english-us keyboard. I have a pop-up at each Gnome session saying: Wayland Diagnose / It is recommended to Install Input Method Panel GNOME extension.

Keyboard should be set by the desktop (here Gnome-Shell) and stay fixed at each login and not depend on an extension. What is the reason of this strange behavior?


Sous Linux depuis 1998 / Using Linux since 1998

Offline

#8 2025-01-31 08:45:18

rockpick
Member
Registered: 2025-01-31
Posts: 1

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

TheoM wrote:

I have the same issue sice the last update and a strange message popped up about Fcitx5 needing the "Input Method Panel" Gnome extension.

I managed to fix this by installing said extension : AUR link

As well as an utility to configure Fcitx5 : fcitx5-configtool

And I was able to easily create a config that stayed even after reboot.

However I do not consider this solution to be optimal, If anyone has a better idea, feel free to post it below.

Hi, I had the same problem and can confirm that setting the keyboard layout via your suggested config tool solved the issue. The extension is not needed.

Thanks for the help :-D

Cheers

Last edited by rockpick (2025-01-31 08:48:17)

Offline

#9 2025-01-31 14:06:28

ItsAlex
Member
Registered: 2024-08-22
Posts: 4

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Under Gnome, deleting fcitx5 and setting the keyboard is working too, I didn't have any dependency to it.

Last edited by ItsAlex (2025-01-31 14:06:58)

Offline

#10 2025-01-31 14:49:25

rouelle
Member
Registered: 2018-03-13
Posts: 53

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Deleting fcitx5 fixes the problem for me too. I never asked for this package to be installed and it seems related to wayland-protocol. Finding an explanation would be great, I keep searching...


Sous Linux depuis 1998 / Using Linux since 1998

Offline

#11 2025-02-03 21:32:18

michaelmcandrew
Member
Registered: 2017-11-07
Posts: 8

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Removing the fcitx5 package and restarting also worked for me. Also unsure as to why it was installed in the first place.

Thanks for the help!

Last edited by michaelmcandrew (2025-02-04 06:57:57)

Offline

#12 2025-02-04 03:08:32

chandlerhuehue
Member
Registered: 2025-02-03
Posts: 3

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

michaelmcandrew wrote:

Removing the fcitx5 package and restarting also worked for me. Also unsure as to why it was installed in the first place/

Thanks for the help!

It also worked for me!!! thank you a lot!!!

Offline

#13 2025-02-04 12:25:15

lpr1
Member
Registered: 2017-10-08
Posts: 118

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Just to confirm that removing fcitx5 with -Rs solves the issue of being unable to even change keyboard layout using super+space.

Offline

#14 2025-02-04 18:08:17

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 118

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Solved without uninstalling fcitx5 simply adding

Allow Overriding System XKB Settings=False

in a newly created

~/.config/fcitx5/conf/wayland.conf

It should be the same thing the official QT gui fcitx5-configtool does when unchecking the homonym option, basically letting the DE manage the keyboard layout.

Offline

#15 2025-02-17 14:50:44

JannF
Member
Registered: 2018-01-10
Posts: 6

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

Any idea why fcitx5 got installed in the first place?
Noticed this some time ago too and just now discovered this thread.

Offline

#16 2025-02-22 15:14:54

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 118

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

From wiki

Warning: Fcitx is now in maintenance mode. It is recommended to use Fcitx5 instead[1].

https://wiki.archlinux.org/title/Fcitx

Offline

#17 2025-04-19 06:35:01

ArchDoctor_needed
Member
Registered: 2017-05-31
Posts: 8

Re: [SOLVED] Gnome - keyboard layout reverting to 'us'

4javier wrote:

Solved without uninstalling fcitx5 simply adding

Allow Overriding System XKB Settings=False

in a newly created

~/.config/fcitx5/conf/wayland.conf

It should be the same thing the official QT gui fcitx5-configtool does when unchecking the homonym option, basically letting the DE manage the keyboard layout.

Thanks Sir, you've made my day!

Offline

Board footer

Powered by FluxBB