Bug 1832351 - Macintosh keyboard variants not available
Summary: Macintosh keyboard variants not available
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xkeyboard-config
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-06 15:04 UTC by Markus Thömmes
Modified: 2022-03-25 04:06 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-03-25 04:06:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Markus Thömmes 2020-05-06 15:04:00 UTC
Description of problem:

I do not have any variants for Macintosh available when trying to change the keyboard layout via the GUI (Region & Language Settings).

Trying to manually set the keymap in the locale works for the VC keymap, but not for the X11 Layout. It will set VC keymap to "de-mac" or "de_mac" respectively, leave the X11 Layout at "de"

localectl set-keymap de-mac

Digging even deeper, the following commands all yield the same errors:

localectl set-x11-keymap de-mac
localectl set-x11-keymap de_mac
localectl set-x11-keymap de macintosh de_mac

All yield: "Failed to set keymap: Specified keymap cannot be compiled, refusing as invalid."

Version-Release number of selected component (if applicable):

dnf info xkeyboard-config
Last metadata expiration check: 1:03:51 ago on Mi 06 Mai 2020 15:54:00 CEST.
Installed Packages
Name         : xkeyboard-config
Version      : 2.29
Release      : 1.fc32
Architecture : noarch
Size         : 5.5 M
Source       : xkeyboard-config-2.29-1.fc32.src.rpm
Repository   : @System
From repo    : anaconda
Summary      : X Keyboard Extension configuration data
URL          : http://www.freedesktop.org/wiki/Software/XKeyboardConfig
License      : MIT
Description  : This package contains configuration data used by the X Keyboard Extension (XKB),
             : which allows selection of keyboard layouts when using a graphical interface.


How reproducible:

Happens consistently. I'm on a fresh Fedora 32 install.


Steps to Reproduce:
1. localectl set-x11-keymap de macintosh de_mac

Actual results:
"Failed to set keymap: Specified keymap cannot be compiled, refusing as invalid."

Expected results:
Successfully sets the keyboard layout to a Macintosh variant.

Additional info:

Comment 1 Peter Hutterer 2020-05-08 05:11:56 UTC
A bit hidden, but if I go to the gnome settings, select "German (Switzerland)" it goes to a submenu where it provides "German (Switzerland, Macintosh)". Note that de_mac is a *variant* of the *ch* layout, there is no de_mac variant for the german layout. I think the right command would be localectl set-x11-keymap ch evdev de_mac. evdev is needed because the order is layout model variant, according to the man page.

Comment 2 Fedora Program Management 2021-04-29 17:01:49 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Peter Hutterer 2022-03-25 04:06:12 UTC
I think this was answered in comment #1, please reopen if that's still an issue.


Note You need to log in before you can comment on or make changes to this bug.