[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caps lock
- To: "Zvi Har'El" <rl(at-nospam)math.technion.ac.il>
- Subject: Re: Caps lock
- From: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>
- Date: Sun, 4 Nov 2001 11:16:35 +0200 (IST)
- Cc: Israeli Linux Hackers List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.GSO.4.33.0111041012470.24773-100000@leeor.math.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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