Bug#560814: console-setup: Wrong toggle when three keyboard layout are set
Frans Pop, le Mon 14 Dec 2009 16:36:04 +0100, a écrit :
> On Monday 14 December 2009, Anton Zinoviev wrote:
> > Now I see that maybe this is not the best possible cycle. Do you think
> > that it will be an improvement if I change the layout switch cycle to be
> > first->second->first->third->first->second->first->third-> and so on?
>
> Following the rule of least surprise I think it should simply be first ->
> second -> third -> first -> etc.
Again, that's not possible. Since the Linux kernel permits to
toggle only one modifier at a time, only power-of-two cycles can be
implemented. By extension, anything that divides a power-of-two can also
be used, but that still excludes cycles with an odd length.
Samuel
Reply to: