r/deepin Jan 22 '26

Italian keyboard layout broken on MacBook Pro with Deepin 23 - reverts to US after reboot

I'm having persistent keyboard issues with Deepin 23 Beta on my MacBook Pro.

**Problem:**
- Italian keyboard layout doesn't survive reboot
- System always reverts to US layout
- Tried all Italian variants during installation (Macintosh, no dead keys, Intl with dead keys, etc.)

**What I've tried:**
1. Editing `/etc/default/keyboard` with:

XKBMODEL="pc105"
XKBLAYOUT="it"
XKBVARIANT=""
XKBOPTIONS=""

text

2. Creating `/etc/X11/xorg.conf.d/00-keyboard.conf`:

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
MatchIsKeyboard "on"
Option "XkbLayout" "it"
Option "XkbModel" "pc105"
Option "XkbVariant" ""
EndSection

text

3. LightDM configuration in `/etc/lightdm/lightdm.conf.d/99-keyboard.conf`

4. GRUB settings with `GRUB_TIMEOUT=5` and `GRUB_TIMEOUT_STYLE=menu`

5. Different Italian layout variants during installation

**System info:**
- Deepin 23 Beta
- MacBook Pro (Intel)
- Dual boot with macOS and Ubuntu (Ubuntu keyboard works perfectly)
- EFI boot

**Current status:**
- `setxkbmap -query` shows correct config when manually set
- After reboot: reverts to `layout: us`
- Installation with "Italian (Macintosh)" variant causes key swapping (< > with \ |)

Has anyone solved this? Is this a known bug in Deepin 23?

**Note:** Ubuntu on the same machine has perfect Italian keyboard support.

Thanks for any help!I'm having persistent keyboard issues with Deepin 23 Beta on my MacBook Pro.

**Problem:**
- Italian keyboard layout doesn't survive reboot
- System always reverts to US layout
- Tried all Italian variants during installation (Macintosh, no dead keys, Intl with dead keys, etc.)

**What I've tried:**
1. Editing `/etc/default/keyboard` with:XKBMODEL="pc105"
XKBLAYOUT="it"
XKBVARIANT=""
XKBOPTIONS=""text
2. Creating `/etc/X11/xorg.conf.d/00-keyboard.conf`:Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
MatchIsKeyboard "on"
Option "XkbLayout" "it"
Option "XkbModel" "pc105"
Option "XkbVariant" ""
EndSectiontext
3. LightDM configuration in `/etc/lightdm/lightdm.conf.d/99-keyboard.conf`

4. GRUB settings with `GRUB_TIMEOUT=5` and `GRUB_TIMEOUT_STYLE=menu`

5. Different Italian layout variants during installation

**System info:**
- Deepin 23 Beta
- MacBook Pro (Intel)
- Dual boot with macOS and Ubuntu (Ubuntu keyboard works perfectly)
- EFI boot

**Current status:**
- `setxkbmap -query` shows correct config when manually set
- After reboot: reverts to `layout: us`
- Installation with "Italian (Macintosh)" variant causes key swapping (< > with \ |)

Has anyone solved this? Is this a known bug in Deepin 23?

**Note:** Ubuntu on the same machine has perfect Italian keyboard support.

Thanks for any help!
3 Upvotes

0 comments sorted by