--- /usr/share/X11/xkb/symbols/be 2009-07-17 16:57:17.842958375 +0200 +++ /usr/share/X11/xkb/symbols/be 2009-07-17 16:56:09.000000000 +0200 @@ -8,6 +8,7 @@ xkb_symbols "basic" { include "latin" + include "mswindows-capslock" name[Group1]="Belgium"; --- /dev/null 1970-01-01 01:00:00.000000000 +0100 +++ /usr/share/X11/xkb/symbols/mswindows-capslock 2009-07-17 16:15:01.000000000 +0200 @@ -0,0 +1,20 @@ +// $XKeyboardConfig$ + +// Replicate a "feature" of MS Windows on AZERTY keyboards +// where Caps Lock also acts as a Shift Lock on number keys. +// Include keys to in the FOUR_LEVEL_ALPHABETIC key type. + +partial alphanumeric_keys +xkb_symbols "basic" { + key { type= "FOUR_LEVEL_ALPHABETIC", [ ampersand, 1, bar, exclamdown ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ eacute, 2, at, oneeighth ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ quotedbl, 3, numbersign, sterling ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [apostrophe, 4, onequarter, dollar ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ parenleft, 5, onehalf, threeeighths ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ section, 6, asciicircum, fiveeighths ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ egrave, 7, braceleft, seveneighths ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ exclam, 8, bracketleft, trademark ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ ccedilla, 9, braceleft, plusminus ] }; + key { type= "FOUR_LEVEL_ALPHABETIC", [ agrave, 0, braceright, degree ] }; +};