[Bug 252235] x11/xorg: MacBook Pro 8,3 faulty key mapping

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252235

            Bug ID: 252235
           Summary: x11/xorg: MacBook Pro 8,3 faulty key mapping
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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="us.macbook".

The following does NOT fix the issue:

<<<[email protected]>>> /home/bacon 48 # cat
/etc/X11/xorg.conf.d/macbook-xkb.conf 
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.