Swiss keyboard layout with Apple keyboard (period instead of comma)

Bug #1043336 reported by Michael Tanner
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It is a known bug that two keys on an Apple keyboard are swapped. There is another bug which occurs on Swiss keyboards with an Apple model.
In Switzerland people have a period instead of a comma on their numpad. Also there is something weird with the default mapping of the upper left key below "ESC".
To correct this there is a workaround with xmodmap:

keycode 91 = period period
keycode 94 = section degree

I think this is not the best solution so I report this as a new bug.

Michael Tanner (thonixx)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :

For a temporary layout switch fix:

echo 0 | sudo tee /sys/module/hid_apple/parameters/iso_layout

for a definitive fix, insert into /etc/modprobe.d/hid_apple.conf:

options hid_apple iso_layout=0

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Michael Tanner (thonixx) wrote :

Why did you close the bug report? I think it is not fixed if I have to insert a line into a file so that it works.

Revision history for this message
ceg (ceg) wrote :

The hid_apple module will have set iso_layout=0 for some locales (all non-US?).

Changed in gnome-control-center (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
ceg (ceg) wrote :

set it _automatically_ of course

Revision history for this message
Michael Tanner (thonixx) wrote :

Luca, this does not work. The wrong keys are not fixed with that.

Revision history for this message
Michael Tanner (thonixx) wrote :

ceg, do you have updates?

Revision history for this message
ceg (ceg) wrote :

No updates, manually setting iso_layout=0 fixed the swapped keys for me, so someone still needs to fix that module.

Revision history for this message
Michael Tanner (thonixx) wrote :

It still persists in the newest Ubuntu 13.10 release. Someone needsd to still fix it.

Revision history for this message
Michael Tanner (thonixx) wrote :

Still there after two years. Is there no one interested in it? Unfortunately I don't have any knowledge to create a fix by myself.

Revision history for this message
Simon Collis (zippy72) wrote :

I can confirm that I have tried this tonight on 18.04.1 LTS with a Portuguese layout Apple wired keyboard, and iso_layout=0 doesn't fix the problem for me either

Revision history for this message
Simon Collis (zippy72) wrote :

Correction - it did fix it after a reboot.

Revision history for this message
Lukas von Blarer (luksak) wrote :

For me executing

echo 0 | sudo tee /sys/module/hid_apple/parameters/iso_layout

Fixes the issue temporarily.

Inserting this into /etc/modprobe.d/hid_apple.conf:

options hid_apple iso_layout=0

Doesn't fix the issue after reboot:

cat /sys/module/hid_apple/parameters/iso_layout
1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.