Date: Tue, 29 Jun 2021 22:52:19 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Kristofer <gundoghusse@protonmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Keymapping erased when disconnecting/connecting keyboard Message-ID: <bd5dfce3-5105-fdf2-848a-03c62c1e319a@bsdforen.de> In-Reply-To: <tdeYojrRuJdb1LcX4FtLr5aK9CJlAxIP8NWMf-huyeNUBHv2oIuvkcnduUtwXPUK8N6EkE6TNeEARElIdXOKH0fmRz-91YPR4V14dMeiOls=@protonmail.com> References: <tdeYojrRuJdb1LcX4FtLr5aK9CJlAxIP8NWMf-huyeNUBHv2oIuvkcnduUtwXPUK8N6EkE6TNeEARElIdXOKH0fmRz-91YPR4V14dMeiOls=@protonmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28/06/2021 19:17, Kristofer via freebsd-questions wrote: > ... > > I have another issue that I have not seen before FreeBSD 13.0. I frequently unplug the keyboard to use on another machine and I have been doing this for many years on older FreeBSD installations without any issues. Now with 13.0, every time I plug in the keyboard again, I have US keymap and it ignores the setting I have in /etc/rc.conf. locale is also unmodified, as epxected. The kaymap is correctly set to Swedish keymap when I log in, but as soon as I remove/re-add the keyboard, it is lost. I don't know about the rc.conf settings but I experience something similar in Xorg. I'm using the us layout using the altgr-intl variant and the variant is occasionally forgotten when I plug a new keyboard in (I'm using a KM switch). I.e. it reverts to vanilla US. I'm running i3 and AFAIK it doesn't mess with the keyboard settings. > On top of that, I haven't been able to figure out how to get get the keymap back without rebooting the machine. There has got to be some simple thing I'm missing here. I restore the setting by executing `setxkbmap us altgr-intl`. The first argument is the layout, the second the variant.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bd5dfce3-5105-fdf2-848a-03c62c1e319a>