canonical / lightdm

Display Manager
GNU General Public License v3.0
845 stars 139 forks source link

lightdm_set_layout function causes "options" key get removed from xkb configuration #374

Open bfin00 opened 3 months ago

bfin00 commented 3 months ago

After using lightdm_set_layout function in greeter, xkb configurration is overrided and user is not able to switch kb by shortcuts after login So, before using it i have:

[darina@localhost ~]$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     us,ru
variant:    ,
options:    grp:alt_shift_toggle

After:

rules:      evdev
model:      pc105
layout:     us,ru
variant:    ,

I believe that here xkl_config->options must also be defined (at least it solved the problem for me)