Bug#590534: gdm3 changes xkb options

Tanguy Ortolo tanguy+debian at ortolo.eu
Sat Oct 30 16:44:05 UTC 2010


retitle 590534 gdm3: changes xkb options
thanks

Hello,

I was affected by the same bug, so I tried to find out what was wrong.
I am using no GNOME stuff, not even a gnome-settings-daemon, except
gdm3 to log in. I have no /etc/X11/xorg.conf, and in my
/etc/default/keyboard, I have:
    XKBOPTIONS="compose:menu,terminate:ctrl_alt_bksp"

This gets exported correctly by udev:
    % grep XKB /dev/.udev/db/input:event*
    /dev/.udev/db/input:event0:E:XKBOPTIONS=compose:menu,terminate:ctrl_alt_bksp

When I start a session with startx, I get the expected keyboard setup:
    % setxkbmap -print
    xkb_keymap {
            xkb_keycodes  { include "evdev+aliases(azerty)" };
            xkb_types     { include "complete"  };
            xkb_compat    { include "complete"  };
            xkb_symbols   { include "pc+fr(oss)+inet(evdev)+compose(menu)+terminate(ctrl_alt_bksp)" };
            xkb_geometry  { include "pc(pc105)" };
    };

But when I start my session with gdm3, the options compose(menu)
and terminate(ctrl_alt_bksp) disappear:
    % setxkbmap -print
    xkb_keymap {
            xkb_keycodes  { include "evdev+aliases(azerty)" };
            xkb_types     { include "complete"  };
            xkb_compat    { include "complete"  };
            xkb_symbols   { include "pc+fr(oss)+inet(evdev)" };
            xkb_geometry  { include "pc(pc105)" };
    };

So it looks like gdm3 is:
* interpreting what it can from udev or xkb configuration: geometry and
  layout;
* discarding the remaining: compose(menu) and terminate(ctrl_alt_bksp);
* overriding the xkb configuration with what it could understand;
* not setting the initial xkb configuration back after login.

I think the appropriate behaviour for a display manager should be not to
touch to the keyboard configuration at all, unless explicitely told to
do so.

Regards,

-- 
 ,--.
: /` )   Tanguy Ortolo
| `-'    Debian maintainer
 \_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101030/e193af6f/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list