Bug 37446 - Automatically switch to the "macintosh" variant for Apple keyboards
Summary: Automatically switch to the "macintosh" variant for Apple keyboards
Status: RESOLVED WONTFIX
Alias: None
Product: libxklavier
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Sergey V. Udaltsov
QA Contact: Sergey V. Udaltsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 18:52 UTC by Bastien Nocera
Modified: 2017-06-20 17:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.