4 ms·
Install gnome-tweaks, you can choose from a list of hotkey alternatives in Keyboard & Mouse | Additional Layout Options | Switching to another layout It can co
by outsomnia 5y ago
Install gnome-tweaks, you can choose from a list of hotkey alternatives in Keyboard & Mouse | Additional Layout Options | Switching to another layout
It can cover your two main ones and pick the others from a menu.
- dotancohen 5y agoThank 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.