On Thu, 2 Oct 2003, shlomi wrote: > Tzafrir Cohen wrote: > > > > however, if you are using this method, you shouldn't be using the KDE way > > > anymore and should use apps like kkbswitch. > > > > Which are not on the CD, unfortunetly. I fully agree, though, that kxkb > > must be rewriten to exploit the keyboard layouts of XFree 4.3 if possible. > > ("rewritten", not "extended"). > > > > yes, well, i'm working on a knoppix3.3 remaster that will include it. > > > > i'm not sure about that, but i think it doesn't matter when you are using > > > the KDE way to switch layouts. > > > > > > The kde app in knoppix3.3 have some other issues, like the annoying > > > problem ctrl+alt+k that can switch only to hebrew but not back. some ppl > > > seem to have solved it by defining an alternate key of ctrl+alt+LAMED > > > which sound like a silly solusion to me and does not work for all > > > versions. > > > > Why doesn't it work? Are there more than two layouts? > > no, even if you use only en and il it happens, and if you use some more > layouts then alt+ctrl+K can switch them all till it gets to il and then it > gets stuck ! > Sounds like a problem in the keymap file to me. but i don't know how to check > it.
Once again: kxkb works the Wrong Way: in the XKB extention of X you define a Layout which includes up to 4 Groups. The Group is what is normally concidered a "layout" in most standard terminologies. (There are also up to 64 Shift Levels in each group. Normally only two are used. But that's aside). kxkb changes the Xkb Layout on each time you change the "layout" (e.g: switch from Hebrew to English). This requires loading a complete keymap to the X server. The Right Way is simply to change the active Xkb Group on the current Xkb Layout. This only takes one X message. Until XFree 4.3 creating such custom layouts might have been more difficult. But in XFree 4.3 it can be as simple as running 'setkxbmap LANG1,LANG2,LANG3 . And there are quite a few of built-in modifiers. -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]