View Single Post
  #2 (permalink)  
Old 03-10-2007, 04:12 PM
Yvan
 
Posts: n/a
Default SOLVED (partially) setxkbmap problem

Nedavno Yvan pise:

> setxkbmap -model pc102 -layout us,cs,cs -variant ,latinyz,basic
> -option lv3:ralt_switch,grp:rctrl_toggle -option grp_led:scroll
>
>
> So I can use ctrl to switch layouts, but not alt-shift. In Kxkb help
> "If kxkb does not switch with keyboard shortcut when you switch it to
> some layout but switching with mouse is ok may mean that your layout
> does not contain the key assigned in shortcut."
>
> Any ideas what to do?



Strange, but I found that adding another layout solves the problem. So:

setxkbmap -model pc102 -layout us,hr,cs,cs -variant ,,basic,latinyz \
-option lv3:ralt_switch,grp:alt_shift_toggle -option grp_led:scroll

With three layouts (us,hr,cs) it will not work, but with four it will.
Go figure :-)

Just for the record if someone has the same problem.

--
___ ____
/__/ / \ ** Registrovani korisnik Linuksa #291606 **
/ / \/ /\ \ ** Registered Linux user #291606 **
/__/\____/--\__\ ** http://counter.li.org/ **
Reply With Quote