utmapp / utmapp/UTM

Bad keyboard mapping in Linux with macOS virtualization

Open
#5,284 5 comments 1 reaction 0 assignees View on GitHub
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.

![Capture d’écran du 2023-05-06 10-08-26](https://user-images.githubusercontent.com/2520948/236673581-8b058012-690b-4afd-86bf-ba33bbcad86f.png)

![Capture d’écran du 2023-05-06 10-08-41](https://user-images.githubusercontent.com/2520948/236673583-daf52138-f6f2-4997-af52-492672fec0c4.png)

![Capture d’écran 2023-05-07 à 13 04 35](https://user-images.githubusercontent.com/2520948/236673658-c9d283b2-fd66-48ec-b81b-d33465554f62.png)

![Capture d’écran du 2023-05-06 10-08-41](https://user-images.githubusercontent.com/2520948/236674586-ab4f9acd-cfcb-4a80-bcb5-2aa929373aad.png)

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.