I would like to have a keyboard shortcut that goes to the next keyboard layout I have "saved". Like "windows+space" in microsoft windows and gnome.
Thank you in advance.
The shortcut is shift + capslock in mint 19.1
I'm not sure if this is what you mean, but when you open Keyboard layouts, there are shortcuts for switching between them. Default alternative shortcut is Ctrl+Alt+K.
If, like me, you don't like any of the shortcuts on the list then you can do the following:
Install the dependencies:
sudo apt install libxkbfile-dev
sudo apt install cmake
sudo apt install g++
sudo apt install git
Clone the repository:
git clone xkb-switch
Build and install:
mkdir build && cd build
sudo make install
Update the program cache
Test it's working
xkb-switch -pshould display
gb(or whatever your current layout is)
Set up your desired keyboard shortcut
Navigate to keyboard settings (System Settings -> Keyboard)
Switch to the "Shortcuts" tab and select "Custom Shortcuts" under "Categories"
Press "Add custom shortcut", and set the command to
Set the shortcut you want using the "Keyboard bindings" section (I use
Test the shortcut to make sure it's working!
Hope this helps someone, it took me ages to find this solution.