You are not logged in.

#1 2013-05-08 16:02:09

euoar
Member
Registered: 2013-05-08
Posts: 7

[SOLVED] gnome not detecting keyboard layout

I'm asuming this is a problem related to gnome, as if the xserver seems to be detecting the layout properly (if I open a terminal with ctrl + alt + f2, the keyboard layout is ok). I'm having this issue with the latest gnome in my asus laptop, arch 64 bits. The keyboard layout isn't detected as it should. If type gkbd-keyboard-display to show the keyboard layout, then it clearly shows it doesn't match my laptop's keyboard. My locale.conf is set to: LANG="es_ES.UTF-8". Having a look at X11 I have a file called 00-keyboard.conf with following content:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "es"
EndSection

I tried setting there manually the keyboard model to "asus_laptop", but no luck with that either...

Any ideas or help would be very appreciated...

Last edited by euoar (2013-05-08 18:52:42)

Offline

#2 2013-05-08 17:19:39

madr
Member
From: Norway
Registered: 2013-04-25
Posts: 87

Re: [SOLVED] gnome not detecting keyboard layout

I'm currently using LXDE, but I had the same issue. I had to include the setxkbmap command (followed by keyboard layout of choice) to my .bashrc.

Offline

#3 2013-05-08 18:51:49

euoar
Member
Registered: 2013-05-08
Posts: 7

Re: [SOLVED] gnome not detecting keyboard layout

Thank you very much for the tip, madr. Finally I could solve the issue using gnome-tweak-tool. The problem was that by default there were some options activated in the writting section that shouldn't, fixed now. Thanks again.

Offline

Board footer

Powered by FluxBB