The keyboard layout is set in a GNOME specific way

Bug #2058503 reported by corrado venturini
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
ubuntu-desktop-provision
Fix Released
Low
Unassigned

Bug Description

Installing Xubuntu from ISO dated 2024-03-20 02:02 I select English language and Italian keyboard but keyboard remains English.
In attached screenshot in the field try keyboard i entered all keys of the top row of the keyboard and you can see the result is wrong. I entered all keys without and with shift.
Entering the same keys with an italian keyboard the result is the following:
1234567890'ì!"£$%&/()=?^

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
corrado venturini (corradoventu) wrote :

Looking at the 'writable' partition of the USB disk used for install I see 2 crash files.
attaching the zip file

Revision history for this message
corrado venturini (corradoventu) wrote :

attaching /var/log/installer

Revision history for this message
corrado venturini (corradoventu) wrote :

Note: in the installed system keyboard is ok.

Changed in ubuntu-desktop-provision:
importance: Undecided → Low
Revision history for this message
Dennis Loose (dloose) wrote :

I'm wondering if this issue is specific to non-gnome based flavors. Subiquity changes the live session's keyboard settings via gsettings here:
https://github.com/canonical/subiquity/blob/ubuntu/noble/subiquity/server/controllers/keyboard.py#L249-L258
I suspect this doesn't work on Xubuntu.

Changed in ubuntu-desktop-provision:
status: New → Triaged
Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

It looks like bug 2060387 is the same issue on a GNOME desktop environment (Ubuntu). @corradoventu, do you confirm?

So it might not be specific to the flavor, but I wasn't able to reproduce the issue when I tried.

Revision history for this message
corrado venturini (corradoventu) wrote :

Yes, same problem.
found the problem installing Xubuntu from ISO dated 20240409
and installing Ubuntu from ISO 20240407 and 20240408
Attaching screenshot from Xubuntu 20240409

Revision history for this message
Dennis Loose (dloose) wrote :

I can also reproduce it now with the latest Ubuntu iso (20240409), so it's not a flavor-specific problem.

Revision history for this message
Dennis Loose (dloose) wrote :

Fixing bug 2060387 won't help resolve this issue for flavors that don't use gsettings. So this is a separate issue after all

Revision history for this message
Sebastien Bacher (seb128) wrote :

bug 2060387 was another issue between the classic snap env and the new GNOME which landed in Noble, the current report is about the fact that calling `gsettings set org.gnome.desktop.input-sources sources` (which the installer is currently doing) is probably not going to have the desired effect for other desktop environments

summary: - Xubuntu install English lang don't accept Italian keyboard
+ The keyboard layout is set in a GNOME specific way
Revision history for this message
Dennis Loose (dloose) wrote :

Added a corresponding setxkbmap call here:
https://github.com/canonical/ubuntu-desktop-provision/pull/632

Changed in ubuntu-desktop-provision:
status: Triaged → Fix Committed
Olivier Gayot (ogayot)
Changed in subiquity:
status: New → Invalid
Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: Fix Committed → Fix Released
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.