Bug 1330170

Summary: Automatically change keyboard layout to match preference of user login.
Product: [Fedora] Fedora Reporter: Leslie Satenstein <lsatenstein>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: fmuellner, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, normand, otaylor, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-16 22:16:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Leslie Satenstein 2016-04-25 13:54:39 UTC
Description of problem:

This is a request.


Version-Release number of selected component (if applicable):

FUTURE

How reproducible:

At login time


I run a bilingual system with keyboard layouts  vis

localectl status
   System Locale: LANG=en_CA.UTF-8
       VC Keymap: ca
      X11 Layout: ca,us
     X11 Variant: ,
     X11 Options: grp:menu_toggle


Two uses on my computer use the "us" layout and two usrs switch to "ca"

The login for the user shows one or the other, often not matching the user's preferences.

REQUEST

when the user clicks on his name (Gnome, xfce, etc), can the user's preferred keyboard layout be switched to match.


Justification

The French keyboard layout includes é,É, « » characters as well as relocation of other characters to other keytops. On entering passwords, if the wrong layout is in effect, the password matching the keyboard is entered but it is rejected.  

The similar situation exists for Spanish users with bilingual keyboard layouts eg for the  es,us   


It is currently not implemented. This is a request.




Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Josh Boyer 2016-05-26 19:18:44 UTC
This isn't something the kernel is responsible for.  The kernel has no way of knowing the layout of the keyboard, particularly since users can remap keys later on the fly.

Reassigning this to gdm for now, as that might possibly be able to do something like you suggest.

Comment 2 Leslie Satenstein 2016-05-27 01:00:26 UTC
Thanks Josh and Ray.

Just some extra information.

From power off to logon (F24), the us layout is activated, when via gnome setup, the fr (ca layout) was set for logon.

However

When rebooting after kernel installation or for whatever other reason,
The keyboard selection for logon was remembered.  The problem I report is from a powered off system to first login.  

Works fine with F23 and earlier versions of Fedora.

Comment 3 Jan Kurik 2016-07-26 04:52:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 4 Fedora End Of Life 2017-11-16 18:34:43 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.