# linux: Fix wrong keys are reported when using German layout \(\#31193\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ee4e43f1b6b347f271fb8bd1c4f8bc6db319f223)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ee4e43f1b6b347f271fb8bd1c4f8bc6db319f223

Requested commit: ee4e43f1b6b347f271fb8bd1c4f8bc6db319f223

Commit: ee4e43f1b6b347f271fb8bd1c4f8bc6db319f223

Tree: bd8e44db37793ce44f2cc45d7212196ab36ad7ab

Author: 张小白

Committer: GitHub

## Message

```
linux: Fix wrong keys are reported when using German layout (#31193)

Part of #31174

Because the keyboard layout parameter wasn’t set correctly, characters
don’t show up properly when using the German layout at launch.

To reproduce:
Switch to the German layout, launch Zed, and press the `7` key. it
should output `7`, but instead it outputs `è`.


Release Notes:

- N/A
```

## Parents

- [d61e1e24a7c4c83e011758cc931747eda9e918fe](https://git.cafe/gitcafe/zed/commit/d61e1e24a7c4c83e011758cc931747eda9e918fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ee4e43f1b6b347f271fb8bd1c4f8bc6db319f223?format=markdown)
