Bug#590534: gdm3 changes xkb

Julien Pinon jpinon at free.fr
Thu Mar 3 20:31:31 UTC 2011


Hi,

Thanks to the findings of Cyril, I built a gdm solving my problem, which
was the  miss of Compose key  when using a non-gnome  session manager. I
think this will resolve also others missing XKBOPTIONS problems, and may
avoid the need to deal with .dmrc file.

Here is the patch :

diff -Naur gdm3-2.30.5.orig/gui/simple-greeter/gdm-layouts.c gdm3-2.30.5/gui/simple-greeter/gdm-layouts.c
--- gdm3-2.30.5.orig/gui/simple-greeter/gdm-layouts.c	2010-08-11 19:40:07.000000000 +0200
+++ gdm3-2.30.5/gui/simple-greeter/gdm-layouts.c	2011-03-03 15:34:57.000000000 +0100
@@ -249,11 +249,11 @@
 
         config = xkl_config_rec_new ();
         config->model = g_strdup (initial_config->model);
+        config->options = g_strdupv (initial_config->options);
 
         if (layout == NULL) {
                 config->layouts = g_strdupv (initial_config->layouts);
                 config->variants = g_strdupv (initial_config->variants);
-                config->options = g_strdupv (initial_config->options);
         } else {
                 config->layouts = g_new0 (char *, 2);
                 config->layouts[0] = g_strdup (layout);


-- 
      __,.
    {({/-))
    |`O-O'|
    (  _) )
    || _ ||
   __|||||__
  / \ \ /   \
 |  |  |    |\
 |  |  |    ||
 |  |  |    ||





More information about the pkg-gnome-maintainers mailing list