http://bugzilla.suse.com/show_bug.cgi?id=1046436
http://bugzilla.suse.com/show_bug.cgi?id=1046436#c80
--- Comment #80 from Frederic Crozat
(In reply to Frederic Crozat from comment #75)
If we don't do it as install time, we are loosing information from the install. Currently, it tries to call localectl set-x11-keymap with all parameters (layout model variant and options)
Just relying on calling at runtime localectl set-keymap will just set the "default" computed by the kbd-model-map, which is not enough.
Frederic, console keyboard mappings are now generated from the X11 keyboard layouts with layout, mode, variant and options. Therefore they now have strange names like "de-latin1-nodeadkeys". This name is used in /etc/vconsole.conf. Therefore one just needs to run
localectl set-keymap <this-possibly-strange-name>
It then gets written to /etc/vconsole.conf, Linux console keyboard is set and X11 keybaord config snippet written.
Looks at yast2 code (yast-country to be precise), it is still calling: "/usr/bin/localectl --no-convert set-x11-keymap #{args.join(' ')}" and will try to set the various options for X11 (not sure where it will get the data from). If we don't expose those options in YaST nor the installer anymore, that's fine, but yast2-country might still need some cleanup -- You are receiving this mail because: You are on the CC list for the bug.