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.
> >
> Why not?  They (or similars) are the standard recommened way for all I
> know.  Have you tried them?

What you miss here is a decent "switch" option: one that will allow you
to temporarily switch layout even using a key from the left side of the
keyboard. I would recommend "grp:win_switch" instead of "grp:switch" (if
you don't have an old keyboard without the "microsoft" keys, or you have
no better use for them).

As for toggling (permanently switching to a different layout):
"grp:shift_toggle" (using both shifts has the disatvantage that it
requires both hands. "grp:alt_shift_toggle" collieds with some keyboard
combinations (e.g: "replace" in emacs). You can also try
"grp:win_switch_toggle".

-- 
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]

Reply via email to