I have a problem with switching elementaryOS Freya layout. Shortcut is default (Alt+Space), but when you press it - it opens menu window instead of changing layout. I though a good solution would be to change keyboard layout, however that does not seem an easy task.

I tried looking into System settings > Keyboard > Universal access - however there is no Next layout line. I tried seeting it manually with commands like:

gsettings set org.pantheon.desktop.gala.keybindings switch-input-source "['Caps_Lock']"

Responds with:

No such key 'switch-input-source'

In dconf - after you navigate to gala.keybindings - there is no line for layouts whatsoever.

Ideas where to continue? Thanks in advance

Edit: it is a deal breaker for me since it really plunges my productivity (laptop does not have numpad and I am frequently change layouts)

  • Do have more than one keyboard layout installed? I do not know if there is the option when only one layout is installed... – mazienho Mar 28 '16 at 22:05
  • yes there are two keyboard layouts currently present. Edit: I can change layout with mouse - everything works great – zygimantasdev Mar 28 '16 at 22:08
  • edit2: I want to mention that I still cannot change it with keyboard which makes using elementaryOS hard. (since I need to change layout frequently) – zygimantasdev Mar 29 '16 at 20:37
  • Did you change any other keys in the "keybindings scheme"? If not you can try to reset all the entries with gsettings reset-recursively org.pantheon.desktop.gala.keybindings. Maybe after that you get the key "switch-input-source" back and you can change it the "normal way". – mazienho Mar 30 '16 at 16:57
  • I didn't change any other shortcuts, however I tried resetting with the command you suggested. Still no switch input source. – zygimantasdev Mar 31 '16 at 13:29

It seems that the correct scheme where to find the switch-input key is:

I successfully changed the keyboard input keybinding with the following command:
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Super>f']"

Now, if I press Super+F it changes my keyboard layout.

  • Cannot check if answer is valid. Switched to OS X – zygimantasdev Aug 5 '16 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.