I've just experienced the VT switching problem on RedHat 9.0.  I
remembered some post here linking it to xkb, so I tried my xkb options
one-by-one.  I hunted it down to the option `altwin:alt_win` which is
a custom thing I wrote to map the ALT keys to the Meta modifier and
the WIN keys to the Alt modifier (I like it like this).  With it, I
couldn't switch, without - I could.  Which led me to try (with the
option enabled) pressing Ctrl-Win-F1 -- it worked!  Apparently the new
XFree86 is interpretting the VT-switching sequences after all XKB
mappings.

However all the standard altwin:* options seem to map ALT to Alt, so
this doesn't expolain the problem for others.  Perhaps on Mandrake
9.1, where it was widely reported the default options do map ALT to
something different?


P.S. Here are my customizations:

$ cat /usr/X11R6/lib/X11/xkb/symbols/meta
// alternative definition for the extra keys on 104-key "Windows95"
// keyboards: Meta on ALT keys and Alt on WIN keys.
partial modifier_keys
xkb_symbols "alt_win" {
    key <LALT> {        [       Meta_L          ]       };
    key <RALT> {        [       Meta_R          ]       };
    key <LWIN> {        [       Alt_L           ]       };
    key <RWIN> {        [       Alt_R           ]       };
    key <MENU> {        [       Menu            ]       };

    // modifier mappings
    modifier_map Mod1   { Meta_L, Meta_R };
    modifier_map Mod4   { Alt_L, Alt_R };
};

$ grep alt_win /usr/X11R6/lib/X11/xkb/rules/xfree86
  altwin:alt_win        =       +meta(alt_win)

-- 
Beni Cherniavsky <[EMAIL PROTECTED]>

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to