← Back to team overview

desktop-packages team mailing list archive

[Bug 1458220] Re: [master] system keyboard layout not honored

 

Launchpad has imported 15 comments from the remote bug at
https://bugs.mageia.org/show_bug.cgi?id=15357.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-02-25T11:15:43+00:00 Rémi Verschelde wrote:

Testing sddm 0.11.0 on Mageia 5 pre-RC, I see that there is an issue
with the keyboard layout. "en_US" is preselected and is the only
available option, I can't use the "fr" keyboard layout even though my
system locale is French.

Reproducible:

Steps to Reproduce:

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/0

------------------------------------------------------------------------
On 2015-02-25T12:12:58+00:00 Rémi Verschelde wrote:

This would be this upstream bug: https://github.com/sddm/sddm/issues/202

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/1

------------------------------------------------------------------------
On 2015-02-25T12:14:43+00:00 Rémi Verschelde wrote:

I have the same behaviour as some reported on the upstream bug report by
the way: the flag is initially "us", but as soon as I start typing my
password, it switches to "fr".

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/2

------------------------------------------------------------------------
On 2015-02-25T21:03:44+00:00 Doktor5000 wrote:

Hmmm I think we had similar patch for this, will recheck as it was fixed.
Patch was added here:
http://svnweb.mageia.org/packages?view=revision&revision=797925
and was merged upstream in 0.11:
http://svnweb.mageia.org/packages?view=revision&revision=800515

Seems that was a different issue.


For me, also only en_US is preselected, and once I select my username and begin typing, it automatically switches to de_DE including the correct flag. Although I don't have some german special characters, I'll check again for the keyboard layout.

Do you have either 
/etc/locale.conf
/etc/vconsole.conf
or something in /etc/X11/xorg.conf.d/ ?

What does localectl show?

As our tools don't run localectl, it will probably show nothing, which might be the cause of the bug as mentioned in https://github.com/sddm/sddm/issues/202
Will need to check how Colin fixed similar issues for GNOME et al.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/3

------------------------------------------------------------------------
On 2015-02-25T21:17:34+00:00 Rémi Verschelde wrote:

(In reply to Florian Hubold from comment #3)
> Do you have either 
> /etc/locale.conf
> /etc/vconsole.conf
> or something in /etc/X11/xorg.conf.d/ ?

I don't have any of those.
 
> What does localectl show?

$ localectl
   System Locale: n/a

       VC Keymap: n/a
      X11 Layout: n/a

> As our tools don't run localectl, it will probably show nothing, which might
> be the cause of the bug as mentioned in
> https://github.com/sddm/sddm/issues/202
> Will need to check how Colin fixed similar issues for GNOME et al.

That might be yet another "old cauldron" issue, Colin did implement some stuff with localectl AFAIU, so maybe sddm works fine on new installs of Mageia 5 beta 3.
I'll check that in a VM.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/4

------------------------------------------------------------------------
On 2015-02-25T21:20:22+00:00 Rémi Verschelde wrote:

I can confirm that the bug also affects a Mageia 5 beta 3 VM.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/5

------------------------------------------------------------------------
On 2015-02-25T21:32:55+00:00 Rémi Verschelde wrote:

In my Mageia 5 beta 3 VM I do have all the files you mentioned, and the
configuration look good:

$ cat /etc/locale.conf 
LANGUAGE=de_DE.UTF-8:de
LANG=de_DE.UTF-8

$ cat /etc/vconsole.conf 
KEYMAP=de-latin1
FONT=lat0-16

$ cat /etc/X11/xorg.conf.d/00-keyboard.conf 
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
        Option "XkbModel" "pc105"
        Option "XkbOptions" "compose:rwin"
EndSection

$ localectl 
   System Locale: LANG=de_DE.UTF-8
                  LANGUAGE=de_DE.UTF-8:de
       VC Keymap: de-latin1
      X11 Layout: de
       X11 Model: pc105
     X11 Options: compose:rwin


So I guess all those files and localectl output are related to Colin's fixes for the GNOME l10n issues.

Still, all that stuff does not fix the sddm flaw of showing "us"
keyboard layout and grabbing the correct one when you start typing.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/6

------------------------------------------------------------------------
On 2015-02-25T21:36:11+00:00 Rémi Verschelde wrote:

Lowering the severity as it actually works fine when you start typing (I
did not check if the first character was inputted according to the US
layout or the system one though).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/7

------------------------------------------------------------------------
On 2015-02-26T20:26:42+00:00 Doktor5000 wrote:

(In reply to Rémi Verschelde from comment #6)
> Still, all that stuff does not fix the sddm flaw of showing "us" keyboard
> layout and grabbing the correct one when you start typing.

This is confirmed by 3 people in the upstream report, best comment there.
We can't do much about this.

Added a short note to Errata: 
https://wiki.mageia.org/en/Mageia_5_Errata#sddm

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/8

------------------------------------------------------------------------
On 2015-02-26T20:38:12+00:00 Rémi Verschelde wrote:

(In reply to Florian Hubold from comment #8)
> This is confirmed by 3 people in the upstream report, best comment there.
> We can't do much about this.

Yep, let's see how upstream handles it. It's good to have our own bug
report open for Mageia users that might want to report the same issue
anyway.

> Added a short note to Errata: 
> https://wiki.mageia.org/en/Mageia_5_Errata#sddm

Thanks! :)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/9

------------------------------------------------------------------------
On 2015-04-02T11:11:05+00:00 Otto-leipala wrote:

I got it working by editing this file /usr/share/sddm/scripts/Xsetup

Added: setxkbmap XX

XX are your keyboard layout code can list availables with: localectl
list-keymaps

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/10

------------------------------------------------------------------------
On 2015-04-06T13:21:36+00:00 Doktor5000 wrote:

You do realize that we cannot hardcode the keyboard layout in the script
that is supposed to set this according to systemwide defaults?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/11

------------------------------------------------------------------------
On 2015-04-28T15:19:03+00:00 Otto-leipala wrote:

Yes i realize it,that was just my own test that suggested thing temp fix
it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/12

------------------------------------------------------------------------
On 2016-01-13T10:40:18+00:00 Rémi Verschelde wrote:

Still no progress upstream, so I pinged them in the bug report:
https://github.com/sddm/sddm/issues/202

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/14

------------------------------------------------------------------------
On 2016-01-13T20:23:41+00:00 Doktor5000 wrote:

It was suggested earlier that this might be an XCB bug, so reported that:
https://bugs.freedesktop.org/show_bug.cgi?id=93701

Reply at:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/comments/15


** Changed in: sddm (Mandriva)
       Status: Unknown => In Progress

** Changed in: sddm (Mandriva)
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1458220

Title:
  [master] system keyboard layout not honored

Status in sddm package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Confirmed
Status in sddm package in Mandriva:
  In Progress

Bug description:
  I'm on a fresh install of Kubuntu:
  Description:    Ubuntu 15.04
  Release:        15.04

  I chose German as installation language, de with nodeadkeys as
  keyboard and locale is set to de_DE.UTF-8.

  The console uses the correct keyboard, however when logging into sddm,
  the keyboard layout is set to US.

  SDDM doesn't seem to honour the keyboard configured during
  installation.

  SDDM installed is:
  ddm:
    Installiert:           0.11.0-0ubuntu10
    Installationskandidat: 0.11.0-0ubuntu10
    Versionstabelle:
   *** 0.11.0-0ubuntu10 0
          500 http://de.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
          100 /var/lib/dpkg/status

  I believe it's a bug since the keyboard layout at login window after
  installing as described above should be the default system one, german
  in the above case.

  I have tried all sorts of ways (including some ugly hacks) to get this
  resolved on a previous installation but didn't find a way. Considering
  the many moving parts to get the login manager up and running, I'm
  aware this might be filed against the wrong package. It might even be
  an installer bug.

  
  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1458220/+subscriptions