On Fri, Nov 21, 2003 at 02:35:23PM +0200, Micha Feigin wrote: > On Fri, Nov 21, 2003 at 11:00:02AM +0200, Beni Cherniavsky wrote: > > Gil Freund wrote on 2003-11-02: > > > > > Tzafrir Cohen wrote: > > > > > > > > I figure that you have the option grp:shift_toggle , which toggles the > > > > current group when you press both shifts. > > > > > > > > In XKB terminology a "Layout" can have multiple "Groups". Those Groups > > > > are what is normally referred to as "layouts" in many other > > > > terminologies. > > > > > > > > Changing a layout is a costly operation. Changing a group requires > > > > basically one message. WindowMaker, for instance, has an option of > > > > per-window Group toggling. Implementing this with Layouts would have > > > > made switching between windows a potentially expensive operation. > > > > > > > > > > If I understand correctly the following: > > > Option "XkbOptions" "grp:switch,grp:shift_toggle,grp_led:scroll" > > > Or > > > Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll" > > > > > > Are not the optimal way to switch languages. > > > > > I use these and they work just fine with OO and CXoffice. > There are gnome and kde applets that let you also do basicly the same > thing but I would guess that they are much less optimal. They probably > have an advantage if you want more the 2 layouts (I don't know if > XknOption can handle more then two layouts).
If you have more than two layouts you'll notice that some of the combinations toggle to the next layout (or from the last to the first), whereas the others toggle to the previous (or from the first to the last). e.g: with grp_shift_toggle it will depend on which shift you pressed first. In grp:alt_shift_toggle it will depend on which alt was pressed. Generally keys in the left switch backward and in the right switch forward. I'm not sure about the meaning of "switch" or the keyboard led. -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= 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]
