I have a strange issue with awesome. I used keybindings in the menu (like &Applications) to navigate my menu. Now when I start awesome (startx) and I open my menu I have to use the qwerty-layout, while it is configured for azerty. Everything else (firefox, xterm,...) uses the correct keymap.
When I restart awsome ( mod4 ctrl r) my menu works with the correct keymap (azerty).
I have configuredmy keymap by adding 10-keyboard.conf to /etc/X11/xorg.conf.d/
It looks like:
Indentifier "Keyboard Defaults"
Option "XkbLayout" "be"
Thanks for the help
Not sure if this will help you but this is what I did for my keyboard settings.I use i3 and my keyboard is qwertz.I did the same as you in /etc/X11/xorg.conf.d/keyboard.conf but in .xinitrc and .i3/config I put 'setxkbmap hr'.Not sure if it needs to be in both but it works.Try adding 'setxkbmap be' and see.
Thanks for the suggestion, setting 'setxkbmap be' in my .xinitrc before the exec awesome command indeed helps. But I don't think this resolves the problem, it is more of a workaround.
I think it is an other way of setting your keyboardlayout.
If someone knows why by using the /etc/X11/xorg.conf.d/10-keyboard.conf my keyboard is not set before executing awesome, please let me know
Seems like it is this bug:
@anonymous_user: indeed looks like that one. Thanks for the heads-up