Left Alt-Shift XkbOptions

Lumír Jasiok <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <[email protected]>
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.
|--------------------------------------------------------|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.