← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2084001] [NEW] fixconkeys-part1 malfunctions if more than one keyboard layout is active at once at installation time

 

Public bug reported:

The fixconkeys-part1 script currently uses the "layout" field of the
output of `setxkbmap -query` to determine what keyboard layout to set at
the console level, which makes the disk decryption prompt work. The
problem is it assumes this field will only ever list one keyboard
layout, when in reality it can list multiple keyboard layouts separated
by commas. When this happen, the keyboard will silently fail to be
properly set up.

To fix this, only the first keyboard layout returned by `setxkbmap
-query` should be taken into account. This isn't a perfect solution, but
it's better than the current situation and is safe.

** Affects: calamares-settings-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to calamares-settings-ubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/2084001

Title:
  fixconkeys-part1 malfunctions if more than one keyboard layout is
  active at once at installation time

Status in calamares-settings-ubuntu package in Ubuntu:
  New

Bug description:
  The fixconkeys-part1 script currently uses the "layout" field of the
  output of `setxkbmap -query` to determine what keyboard layout to set
  at the console level, which makes the disk decryption prompt work. The
  problem is it assumes this field will only ever list one keyboard
  layout, when in reality it can list multiple keyboard layouts
  separated by commas. When this happen, the keyboard will silently fail
  to be properly set up.

  To fix this, only the first keyboard layout returned by `setxkbmap
  -query` should be taken into account. This isn't a perfect solution,
  but it's better than the current situation and is safe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2084001/+subscriptions



Follow ups