Bad keyboard mapping in Linux with macOS virtualization
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
When creating a new Linux VM using the built-in Apple virtualization, the keyboard mapping is incorrect.
I use an Apple French mapping keyboard. And UTM will map the **#**/**@** key to the **<**/**>** key located next to the left SHIFT. The top key **#**/**@** under ESC is unrecognized. No problem in other virtualization like Parallels, VMware or in UTM using QEMU instead of the Apple virtualization.
On the screenshot below, the mapping is correct, but doesn't match to the real behavior.




**Configuration**
* Until UTM Version: 4.2.5
* macOS Version: from macOS 11 to macOS 13
* Mac Chip (Intel, M1, ...): Intel
``` XML
Backend
Apple
ConfigurationVersion
4
Display
HeightPixels
1200
PixelsPerInch
80
WidthPixels
1920
Drive
Identifier
039CA56B-8098-4D17-A649-C35F8D3037C7
ImageName
039CA56B-8098-4D17-A649-C35F8D3037C7.img
ReadOnly
Information
Icon
linux
IconCustom
Name
Ubuntu Jammy Jellyfish
UUID
1E7D631B-24C7-438A-8D49-BEB2F061A675
Network
MacAddress
e2:6d:cc:32:01:fb
Mode
Shared
Serial
System
Architecture
x86_64
Boot
EfiVariableStoragePath
efi_vars.fd
OperatingSystem
Linux
UEFIBoot
CPUCount
0
MemorySize
4096
Virtualization
Audio
Balloon
ClipboardSharing
Entropy
Keyboard
Pointer
Rosetta
```
Contributor guide
Assessment
This issue has not been assessed yet.