[Solved] Accelerator keys independent of keyboard layer

From: Sharon Dagan (rlinuz_at_nonexisting.hamakor.org.il)
Date: Wed 18 Aug 2004 - 17:37:03 IDT


Hi All,

To fix the problem where unbound accelerators produce the character, add
'preserve[Control] = Control;' to the type 'IGNOREACCEL' in
'xkb/types/pc', as follows:

xkb/types/pc
  ...
  type "IGNOREACCEL" {
        modifiers = Control+Shift+Alt;
        preserve[Control] = Control; // this line is new
        map[none] = Level1;
        map[Shift] = Level2;
        map[Control] = Level3;
        map[Control+Shift] = Level3;
        map[Alt] = Level3;
        map[Alt+Shift] = Level3;
        level_name[Level1] = "Base";
        level_name[Level2] = "Shift";
        level_name[Level3] = "IgnoredAccelerator";
   };

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Wed 18 Aug 2004 - 17:52:24 IDT