On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote: > Am 22.10.18 um 10:45 schrieb Stefan Wollny: > > Am 10/22/18 um 9:57 AM schrieb Stefan Wollny: > > [ ... ] > >> > >> $ cat /etc/wsconsctl.conf | grep encoding > >> keyboard.encoding=de # use different keyboard encoding > >> > >> Yet this setting seems not to be recognized: > >> $ doas wsconsctl | grep encoding > >> keyboard.encoding=unknown_0
This probably means that you have some other wsconsctl commands that modify the layout after the initial switch to the 'de' layout. > >> > > [ ... ] > > Additional information: > > This issue seems to be related to the X server. Initially I noticed this > > behaviour when starting with xenodm. Switching to a console outside of X > > gives me the expected German keyboard layout. The same if I disable > > xenodm in /etc/rc.conf.local and start OpenBSD into a console: Initially > > I have the German keyboard layout but once I start X via 'startx' I get > > the US layout. > > *At least I know now where to find the symbols blindly :/ * If the X server can't recognize the layout returned by wscons, and there is no explicit configuration in /etc/X11/xorg.conf, the default is what you see below. > > > > Thus here is the Xorg.0.log which has the line > > Option "XkbLayout" "us" > > close to the end. > > > -- Matthieu Herrb