Bug 37446

Summary: Automatically switch to the "macintosh" variant for Apple keyboards
Product: libxklavier Reporter: Bastien Nocera <bugzilla>
Component: GeneralAssignee: Sergey V. Udaltsov <svu>
Status: RESOLVED WONTFIX QA Contact: Sergey V. Udaltsov <svu>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bastien Nocera 2011-05-21 18:52:56 UTC
From https://bugzilla.gnome.org/show_bug.cgi?id=650379

libxklavier should automatically switch to the "macintosh" variant for Apple keyboards (and associated variant for other types of keyboard, if necessary/available).
Comment 1 Sergey V. Udaltsov 2011-05-22 01:26:47 UTC
As discussed, the plan is as follows:
1. Implement HW ids -> XKB model map in xkeyboard-config (in evdev.xml/base.xml)
2. In libxklavier, use that map to provide the "recommended" model name for the current hardware
3. Up the stack (libgnomekbd?), use the recommended model (or manually provided) to configure XKB.
Comment 2 Bastien Nocera 2017-06-20 17:59:49 UTC
"HID: apple: Use country code to detect ISO keyboards" (recently posted to LKML) makes the model selection obsolete, as the correct "variant" (not xkb variant) of the keyboard will be used in the kernel.

Closing as OBSOLETE

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.