[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Caps lock



On Sun, 4 Nov 2001, Zvi Har'El wrote:

> Shalom rav,
>
> I am using Tzafrir's suggestion to set a Hebrew keyboard using setxkbmap. The
> only difference with my setup, is since I don't have a scroll-lock led in my
> Laptop, and furthermore, I don't use the caps-lock key, I decided to use the
> caps-lock led for this purpose, as follows:
>
>     setxkbmap -option grp:shift_toggle,grp_led:caps,grp:switch -model pc104 \
>         -rules xfree86 il
>
> One problem: I still need to disable the caps-lock key, which I have always
> done using
>
>     xmodmap -e 'clear lock'
>
> It seems that this has to be done **after**  setxkbmap, since the latter is
> seemingly issues its own set of xmodmaps. My question is: can I give setxkbmap
> another option which will do the 'clear lock' as well?
>

You can turn it into a group modifier by adding 'grp:caps_toggle' or into
a left-control, using 'ctrl:nocaps'

I'm not sure if there is any pre-built option to totally eliminate it, but
you can probably create one. See the samples in
/usr/X11R6/lib/X11/xkb/symbols/group ("caps_toggle")
/usr/X11R6/lib/X11/xkb/symbols/ctrl  ("nocaps")
/usr/X11R6/lib/X11/xkb/symbols/lock  ("group")

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


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