On 04/26/2012 07:06 AM, Dan Hitt wrote:
> (2) how can i change the mapping of the caps-lock key?
>
I use this to convert capslock into a compose key:
if [ "$(setxkbmap -query | grep -c 'compose:caps')" != "1" ]; then
setxkbmap -rules evdev \
-model thinkpad60 \
-layout us \
-option compose:caps
fi
Put a variation in your $HOME/GNUstep/Library/WindowMaker/autostart
script after adapting it to your specific needs.
I am too lazy now to reread the man page for setxkbmap in order to
provide a ready made recipe. But probably something like "-option
control:caps" could work (to be verified).
> (In the old old days we used xmodmap or similar,
> but i'd like to do this in a standard way.)
>
I fear there is no standard way for such low level keymap modifications
in Window Maker, so that one necessarily still has to rely on the old
old ways of the old old days.
One can bind functions to key strokes via the respective WPrefs keyboard
tab, but this doesn't work for the low level key mapping.
Best regards,
Paul
--
To unsubscribe, send mail to [email protected].