Hi,
> I'd like to use ScrollLock to alternate between two different keyboard
> maps (English and one with lots of accented characters that are placed
> on various symbol keys).
To make some key a keyboard map switcher you have to tie a keysym
ISO_Next_Group to that key.
There are many such switchers already defined in
X11R6/lib/X11/xkb/symbols/group.
One can choose an appropriate switcher using XkbOptions option in XF86Config,
e.g.
Option "XkbOptions" "grp:rctrl_toggle"
Unfortunately the key you want is unusual for such task and there isn't such
switcher in xkb/symbols/group file. But you can use the file for examples.
And you can use the file xkb/rules/xfree86 as examples of XkbOptions.
You need to take any switcher inside xkb/symbols/group, copy it, change
the name of key (in 'angle brackets') to <SCLK> and give it new name
(in quotes after 'xkb_symbols' word) e.g. "sclk_toggle".
Then if you want it be selectable with XkbOptions, just add new string into
xkb/rules/xfree86, a string like
grp:sclk_toggle = +group(sclk_toggle)
(I hope you will find an appropriate place for it :-)
And now you can write in your XF86Config file
Option "XkbOptions" "grp:sclk_toggle"
and get the keyboard map switcher on ScrollLock key
--
Ivan U. Pascal | e-mail: [EMAIL PROTECTED]
Administrator of | Tomsk State University
University Network | Tomsk, Russia
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86