You are not logged in.
Hi all !
For two days now, my bluetooth keyboard is changing its layout from fr to us.
The problem occurs each time the keyboard enters sleep state and then awakes.. It doesn't be caused by the Xscreensaver.
The right settings are :
setxkbmap -query
rules: evdev
model: pc105
layout: fr
Any ideas where this setting changes ?
Edit : see some posts below for the solution
Last edited by Maeda (2017-02-18 12:01:33)
Offline
Well, when killing Xmonad, and switch to console mode, I don't have the bug. Is it caused by Xorg or Xmonad (the DM) ?
Offline
I find that the problem occurs only with X server started (without any desktop manager). So I looked at a defaut setting for X beyboard, and found the solution here.
The file /etc/X11/xorg.conf.d/00-keyboard.conf doesn't exists (that's why it keeps switching to us layout when my keyboard bluetooth unsleeps, or when reconnecting my keyboard).
Solved with (in my case fr and pc105) :
localectl set-x11-keymap fr pc105
Enter your password (like sudo).
Then check the content of the configuration file :
less /etc/X11/xorg.conf.d/00-keyboard.conf
In my case :
# 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" "fr"
Option "XkbModel" "pc105"
EndSection
Finally, reboot your system.
All's right
Offline