[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291853: xkbcomp warns about <RALT> having 2 symbols



Package: xkb-data 
Version: 1.8-2
Severity: minor

The bug #291853 re-appeared in Debian Squeeze 6.0. 
The following warning is logged in /var/log/xdm.log

Fri May 27 20:02:55 2011 xdm info (pid 2288): sourcing /etc/X11/xdm/Xsetup
Fri May 27 20:03:06 2011 xdm info (pid 2288): sourcing /etc/X11/xdm/Xstartup
Fri May 27 20:03:06 2011 xdm info (pid 2311): executing session /etc/X11/xdm/Xsession
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Cause:
<RALT> description in ralt_switch contradicts the with the one in meta_alt. 

------- /usr/share/X11/xkb/symbols/level3 --------------------------------

// $XKeyboardConfig$

// these variants assign various XKB keycodes to ISO_Level3_Shift so that
// the third shift level can be reached
//
// $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
//

// the default behavior is for the right Alt key (AltGr) to generate the
// third engraved symbol
default partial modifier_keys
xkb_symbols "ralt_switch" {
  key <RALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};
------- /usr/share/X11/xkb/symbols/pc ------------------------------------

// $XKeyboardConfig$

//
// $XFree86: xc/programs/xkbcomp/symbols/pc,v 1.9 2003/06/09 19:59:46 dawes Exp $

default partial alphanumeric_keys modifier_keys 
xkb_symbols "pc105" {

    //  Fake keys for virtual<->real modifiers mapping 
    key <ALT>  {        [ NoSymbol, Alt_L       ]       };
    include "altwin(meta_alt)"
};

------- /usr/share/X11/xkb/symbols/altwin --------------------------------

// $XKeyboardConfig$

// $XFree86: xc/programs/xkbcomp/symbols/altwin,v 1.5 2003/12/03 14:09:08 pascal Exp $

partial modifier_keys 
xkb_symbols "meta_alt" {
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RALT> { type[Group1] = "TWO_LEVEL",
                 symbols[Group1] = [ Alt_R, Meta_R ] };
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
//  modifier_map Mod4   {};
};

--------------------------------------------------------------------------

System information:

Fresh Squeeze install.
Linux vega 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 GNU/Linux

ivan@vega:~$ setxkbmap -rules 'evdev' -model 'pc104' -layout 'us,bg' -variant 'custom,custom' -option 'grp:menu_toggle,grp_led:scroll' -print
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete+ledscroll(group_lock)"        };
        xkb_symbols   { include "pc+us(custom)+bg(custom):2+inet(evdev)+group(menu_toggle)"       };
        xkb_geometry  { include "pc(pc104)"     };
};

us(custom) = English/Spanish kbd without dead keys
bg(custom) = Bulgarian/Greek kbd 

 
Sincerely,
Ivan





Reply to: