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

Re: Where to get Hebrew Xkb keymap ?



On Sun, Nov 25, 2001, Yedidyah Bar-David wrote about "Re: Where to get Hebrew Xkb keymap ?":
> The hebrew map on 7.[12] is already good (as well as probably all
> distros that use XFree 4.1).
> There was some recent discussion in linux-il or ivrix-discuss (I don't
> remember), so look in the archives for details.

It was on ivrix-discuss, if I remember correctly.

Anyway, you can simply run

   setxkbmap -compat "group_led" -symbols "us(pc101)+il+group(shift_toggle)+group(switch)"

or the equivalent

   setxkbmap -options grp:shift_toggle,grp_led:scroll,grp:switch -model pc101 -rules xfree86 il

(replace pc104 by pc104 if your keyboard has those extra "Windows" keys).
This command sets up your right ALT key to temporarily switch to Hebrew mode
while the ALT is depressed. Pressing both shift keys at the same time will
lock in Hebrew mode, until the two shift keys are depressed again (if you
want a Windows-like Alt-shift Hebrew lock, replace shift_toggle by
alt_shift_toggle, if I remember correctly).
The Scroll-Lock LED will be used to tell you when Hebrew mode is on (either
temporarily or locked); If you don't like it for various reasons, you can
use the caps-lock LED, for example, by changing the "grp_led:scroll" in the
second command into grp_led:caps

Running either of these commands will let you type Hebrew into Mozilla
windows, for example. To be able to type ISO-8859-8 Hebrew into xterm windows,
gimp, and other programs that use simple Xlib keysym-to-string conversions,
I suggest you also set
	LC_CTYPE=he_IL

P.S. If you want, you can also take the options string from the second
command, and put it in your XF86Config.4 file, to make it your XFree86's
default (personally I prefer not to do it, and put the setxkbmap command in
my personal .xsession).

-- 
Nadav Har'El                        |      Sunday, Nov 25 2001, 10 Kislev 5762
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |The space between my ears was
http://nadav.harel.org.il           |intentionally left blank.

=================================================================
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