On Fri, Apr 23, 2004 at 04:59:36PM -0400, Mathieu Nantel wrote:
> I'm switching between french canadian and US english here once in a while. I'm
> running LTSP, but AFAIK this has nothing to do with LTSP's config. I just
> switch keyboard layout in Gnome's Keyboard config panel. I'm getting a funny
> X11 error, but it still does work.
You can switch keyboard with ltsp.conf (LTSP4), like this:
-- list of my lts.conf ------------------------
# Keyboards
# XkbSymboles = "us(pc101)"
XkbRules = "xfree86"
XkbModel = "pc101"
# XkbLayout = "us"
XkbLayout = "cz,us"
XkbCompat = "group_led"
XkbOptions = "grp:ctrl_shift_toggle,grp:switch"
--- end of listing ----------------------------
This is example of switching between czech and english keyboard on the
LTSP client.
For this you have to make some changes in
/opt/ltsp/i386/etc/build_x4_cfg. See the list of diff file:
---- list of diff file -------------
24c24
< # echo "Building the /tmp/XF86Config-4 file" >/dev/tty
---
> echo "Building the /tmp/XF86Config-4 file" >/dev/tty
43d42
< InputDevice "Mouse1" "AlwaysCore"
124,138d122
< #----- BEGIN - changes for using more keymaps together -----
< # Example of specification keymaps in lts.conf:
< # XkbLayout = "cs,us"
< # XkbSymboles = "us(pc101)"
< # XkbRules = "xfree86"
< # XkbModel = "pc101"
< # XkbLayout = "cz,us"
< # XkbCompat = "group_led"
< # XkbOptions = "grp:ctrl_shift_toggle,grp:switch"
< #
< Option "XkbRules" "${XKBRULES}"
< Option "XkbCompat" "${XKBCOMPAT}"
< Option "XkbOptions" "${XKBOPTIONS}"
< #------ END ----------------------------------
<
----------- end of list ------------
--
S pozdravem
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ondrej Rusek
GYmnazium BOzeny Nemcove, Hradec Kralove, Czech
[EMAIL PROTECTED], http://www.gybon.cz/~rusek
--------------------------------------------------
X-terminals in school - http://www.gybon.cz/edunix
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net