On Wed, May 6, 2009 at 9:46 AM, Gregory Smirnov <[email protected]> wrote:
> 2009/5/6 mobidyc <[email protected]>: > > Peter Hutterer a écrit : > >> On Tue, May 05, 2009 at 11:51:12PM +0200, mobidyc wrote: > >> > >>> Hello, > >>> > >>> I want to modify the layout for an azerty keyboard. > >>> actually when the CAPSLOCK is active, i can't write numbers like the > >>> SHIFT key let me do this. > >>> > >> > >> setxkbmap -option "caps:shiftlock" might do what you want. Note that > this also > >> changes the capslock behaviour so it's cancelled by hitting shift. > >> > > I can't use this option because it acts like the SHIFT key was all the > > time pressed thus I can't select what I want with the mouse. > > I want to do one of the two following way : > > - modify the CAPSLOCK behaviour so it writes the upper left symbol of > > the number keys, like it does for the letters. > > - modify the upper right symbol of the number keys to be the same than > > the upper left symbol. > > > > all modifications I made in the xkb/symbols/<file> are not working and I > > really don't know how to do what I want. > > > This is special Windows input mode that effects only first row in PC > keyboard (1-0-=). > I managed to make it work by adding new type (xkb/types) and then > modifying symbols (xkb/symbols). However I don't have this > configuration any more. > > The main difference was that Linux symbols has 2 default groups, and > new type used 4 groups. > AltGr switches to group + 1; CapsLock to group 3. > What did you add in xkb/types ? do you have any documentation about setting this file ? because i really don't know how to interpret this : virtual_modifiers Alt; virtual_modifiers LevelThree; type "PC_BREAK" { modifiers = Control; map[None] = Level1; map[Control] = Level2; level_name[Level1] = "Base"; level_name[Level2] = "Control"; }; thanks for you help, Mobidyc
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
