*** This bug is a duplicate of bug 23762 ***
    https://bugs.launchpad.net/bugs/23762

Further use suggests that when Gnome's keyboard preferences applet
changes keyboard layouts, it only changes the keys mentioned directly in
a configuration file, rather than those included by reference.  Perhaps
the program should chdir() to the correct location before calling xkb?

I assume that Gnome's keyboard preferences uses XKB behind the scenes.
XKB stores its configuration files in /usr/share/X11/xkb/symbols, and
allows symbol tables to be include other symbol tables by reference.
The 'gb(dvorak)' layout includes 'us(dvorak)' then just redefines half a
dozen keys.  Similarly, 'gb(intl)' includes 'latin' and
'level3(ralt_switch)', and defines eight keys itself.  Have a look at
/usr/share/X11/xkb/symbols/gb to see what I'm talking about.

I have my XkbLayout set to gb(dvorak) in /etc/X11/xorg.conf, and two
layouts defined in keyboard preferences: UK Dvorak and UK international.
When I change layouts from Dvorak to international, the keys specified
directly in gb(intl) change to their expected meanings, but the other
keys remain those of gb(dvorak).  In other words, the settings that
should be included from 'latin' and 'level3(ralt_switch)' are ignored.
It seems very much as if the 'include' commands in the Xkb configuration
file are being ignored.

** This bug has been marked a duplicate of bug 23762
   Gnome Keyboard layout changes are lost after reboot/-start

-- 
Secondary keyboard layouts invalid after Reboot
https://bugs.launchpad.net/bugs/234368
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to