I hate GUIs that do things behind my back. I prefer to switch by hand.
Please see the attached script. I have been using it for years, it is
started from xinit. It switches per-display, as I need it to. In each
language, the normal Ralt-Shift switches to the alternate language, the
default being always us (can't type commands in Hebrew usually, you
know). Bugs: No indicator for the current encoding. Hint: use
Unicode-Hebrew for OpenOffice and Mozilla, ISO for terminals unless
everything is set up for unicode on your machine. The script is known to
work with Debian, Slackware, NetBSD (with mods), Knoppix at least.
enjoy,
Peter
-- Attached file included as plaintext by Listar --
-- File: polyxkb
-- Desc: polyxkb
#!/usr/bin/env wish
#
# switch keyboard languages
#
# [EMAIL PROTECTED] 2000-
#
## one button per encoding (can be serveal per language)
button .b1 -text "Default (us)" \
-command {ks us ""} -anchor w
button .b2 -text "German (de)" \
-command {ks us,de "grp:alt_shift_toggle"} -anchor w
button .b3 -text "Hungarian (hu)" \
-command {ks us,hu "grp:alt_shift_toggle"} -anchor w
button .b4 -text "Romanian (ro)" \
-command {ks us,ro "grp:alt_shift_toggle"} -anchor w
button .b5 -text "Israeli (il) Unicode" \
-command {ks us,il "grp:alt_shift_toggle"} -anchor w
button .b6 -text "Israeli (il) ISO" \
-command {ks us,il "grp:alt_shift_toggle"; km} -anchor w
pack .b1 .b2 .b3 .b4 .b5 .b6 -side top -fill both -anchor w
## helper
proc ks { lay opt } {
exec setxkbmap -rules xfree86 -model pc105 -layout $lay -option "$opt"
}
proc km { } {
exec xmodmap /home/plp/.xmodmap-hebrew
}
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]