"toggle" mode for keyboard layout switching
## Submitted by Vladimir
Assigned to **Alexander Iliev**
**[Link to original bug (#6241)](https://bugzilla.xfce.org/show_bug.cgi?id=6241)**
## Description
Hello!
What about adding a "toggle" mode to xkb-plugin? I mean such a mode, when pressing a key combination which should change current layout, xkb-plugin would not cycle between all the layouts present, but instead would cycle only between two the most recently used.
For example, if I have 3 keyboard layouts (let's say, "ru","uk","us") and I type almost all the time using just 2 of them (let's say, "ru" and "us"), it would be very very convenient for me to switch between only two of them using a key combination. It would be especially useful when "blind" typing. The possibility to change the current layout to the 3rd one ("uk" in this case) still remains by using a mouse.
There could be even 3 different keyboard shortcuts to fast-switch to some certain layout, but this is a secondary ability, though still useful too.
You could meet a similar behaviour in KKBSwitch (a 3d-party keyboard layout switcher for KDE3). It seemed to be very popular among users. I had been using it for some time too, and I would like to see such a functionality (if it is possible, of course) in Xfce's xkb-plugin.
I hope, other users share my desire too. :)
Thanks.
Vladimir.
issue