I believe this bug still exists.

When lightdm starts and before I log in, it sets my layout to:
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+inet(evdev)"     };
        xkb_geometry  { include "pc(pc105)"     };
};

With `xinit xterm`, I correctly get my system defaults, which are:
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete+ledscroll(group_lock)"        };
        xkb_symbols   { include 
"pc+us+gr:2+inet(evdev)+group(alt_shift_toggle)"        };
        xkb_geometry  { include "pc(pc105)"     };
};

This results in (at least) all Greek users having a broken keyboard layout by 
default, except for the one created by ubiquity.
Note that "us,gr" is necessary for Greek users to type both Greek and English 
characters, we do have to use 2 layouts, so taking only the first one is 
incorrect.

My /etc/default/keyboard contains:
XKBMODEL="pc105"
XKBLAYOUT="us,gr"
XKBVARIANT=","
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


See also LP bug #1016409

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

Title:
  Doesn't know system default layout/variant

Status in Light Display Manager:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released

Bug description:
  lightdm_get_layout does not return the correct system default keyboard
  layout/variant.

  For that, pitti says we need to access
  xkl_config->layouts[0]/xkl_config->variants[0].

  Currently, we just grab the first layout returned from
  xkl_config_registry_foreach_layout, which only returns the available
  layouts, not the configured layouts.  So "us" will always be first
  there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/919200/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to