3 ms·
Thank you. > It can cover your two main ones and pick the others from a menu. This won't work - I need to change languages from the keyboard. In any case I
by dotancohen 5y ago
Thank you.
> It can cover your two main ones and pick the others from a menu.
This won't work - I need to change languages from the keyboard. In any case I hardly ever touch the mouse.
Thank you for checking, though. I'll file a feature request with Gnome and mention how KDE does it.
- necovek 5y agoWhat I used to do in the past was simply use the Shift + Shift support provided by XKB directly. LShift+RShift went one way through a list of layouts, and RShift+LShift went the other way: for the two most used layouts, I just switched left and right, and then I could find others. For your exact usecase, you can simply set setxkbmap to be executed on particular key presses instead (eg. "setxkbmap dk" will set a Danish layout; there are many more options and you can combine it with other things — this is basically used internally by all those layout switchers).
- dotancohen 5y agoThank you very much! This seems to be exactly what I need to switch to any desktop.