Hi all,

first I am sorry for my very poor knowledge of english language.

So, I need on my Linux (Debian Woody with XFree 4.1) change keyboard
with left Alt-Shift. Related part of my XF86Config:


Option "XkbRules"   "xfree86"
Option "XkbModel"   "pc105"
Option "XkbLayout"  "czsk"  # This is Czech and Slovak keymap
Option "XkbVariant" "us_cz_qwerty"
Option "XkbCompat"  "group_led"
Option "XkbOptions"  "grp:alt_shift_toggle" #Is this correct?

When XFree started, I can change keyboard to Czech with left
Alt-Shift for first time. But I can't go back to US keyboard. This is only
possible with Scroll Lock kye.

I try write little script in Bash (runnning in IceWM with Alt-Shift keys),
which change keyboard with setxkbmap commands:

/usr/bin/X11/setxkbmap -symbols 'czsk(us_cz_qwerty)' -compat group_led
/usr/bin/X11/setxkbmap -symbols 'czsk(cz_us_qwerty)' -compat group_led

Script working only for first change keyboard too. I don't understand why.

Can you help me?

Best regards,

Lumir Jasiok

--
|--------------------------------------------------------|

  Lumír Jasiok          Student VSB-TU Ostrava
  email:                [EMAIL PROTECTED]
  MOTTO:                Unix je user-friendly, ale sve
                        pratele si vybira.
|--------------------------------------------------------|


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to