Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-2007, 08:54 AM
Yvan
 
Posts: n/a
Default setxkbmap problem

I have old (from 1985) IBM keyboard (from old AT - 286). I jist switched
from Debian sid (last updated one year ago) to Debian etch.

I remember I had trouble setting keyboard layouts back than, and I have
again now.

For some reason I had to do following to be able to switch layouts with
alt-shift:

$ setxkbmap -layout de,ru -variant basic,winkeys -option \
-option lv3:ralt_switch,grp:lwin_toggle
$ setxkbmap -layout us,sr,yu -variant ,,basic \
-option lv3:ralt_switch,grp:alt_shift_toggle -option grp_led:scroll


Now it does not work anymore. (sr and yu are gone now, I have cs
instead).

I can use following:

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?





--
___ ____
/__/ / \ ** Registrovani korisnik Linuksa #291606 **
/ / \/ /\ \ ** Registered Linux user #291606 **
/__/\____/--\__\ ** http://counter.li.org/ **
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #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/ **
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:53 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.