Date: Mon, 28 Dec 2020 16:23:08 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 252235] x11/xorg: MacBook Pro 8,3 faulty key mapping Message-ID: <bug-252235-7141-qv3IBmahzt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252235-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-252235-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> for maintainer-feedback: Bug 252235: x11/xorg: MacBook Pro 8,3 faulty key mapping https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252235 --- Description --- Under X11, the ` and ~ keys return < and > by default. Found a fix in this thread: https://unix.stackexchange.com/questions/33528/setxkbmap-for-macbook-pro-us The problem is the TLDE and LSGT mappings are switched in /usr/local/share/X11/xkb/symbols/us. Problem does not occur on a MacBook Pro 2,2. Maybe the keyboard scan codes= are different in newer models? Key mappings are correct in a vt console using keymap=3D"us.macbook". The following does NOT fix the issue: <<<ROOT@beluga.acadix>>> /home/bacon 48 # cat /etc/X11/xorg.conf.d/macbook-xkb.conf=20 Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbLayout" "us" Option "XkbVariant" "mac" EndSection I hacked around it for now by adding setxkbmap -layout us -variant mac to the Xsession file, but this of course only works after login. Keyboard = is still confused in the xdm panel, so passwords constaining ~ or ` won't work.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252235-7141-qv3IBmahzt>