[Bug 276436] sysutils/xfce4-settings: xfce4-keyboard-settings: after standby the keyboard layout setting gets lost
Date: Mon, 22 Jan 2024 20:32:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276436 Tom Hukins <tom@eborcom.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tom@eborcom.com --- Comment #6 from Tom Hukins <tom@eborcom.com> --- A question for the bug reporter: do you use a USB keyboard and what does usbconfig(8) output on the problematic machine? When I run xfce on a FreeBSD laptop, I see no problems with suspend/resume and the keyboard. When I run xfce on a desktop with a USB keyboard, the keyboard resets to a US keymap on resume. I don't fully understand the problem, but the default /etc/devd.conf contains a line that runs `service syscons setkeyboard /dev/ukbd0` and this seems to happen on resume. /etc/rc.d/syscons has a syscons_setkeyboard() function that runs kbdcontrol(1), which in turn reads keymap configuration from /etc/rc.conf. On my desktop computer with a USB keyboard, I have `keymap="uk.kbd"` in /etc/rc.conf and when I run zzz(1) from the command line without xfce or any other X window manager running, I see the USB keyboard recognised on resume, and everything works fine. When I run zzz(1) from within xfce, on resume I have a US keyboard layout and have to reset the layout myself manually in order to use my chosen keymap. -- You are receiving this mail because: You are the assignee for the bug.