4

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)

5
  • Do have more than one keyboard layout installed? I do not know if there is the option when only one layout is installed...
    – mazienho
    Commented Mar 28, 2016 at 22:05
  • yes there are two keyboard layouts currently present. Edit: I can change layout with mouse - everything works great Commented Mar 28, 2016 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) Commented Mar 29, 2016 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
    Commented Mar 30, 2016 at 16:57
  • I didn't change any other shortcuts, however I tried resetting with the command you suggested. Still no switch input source. Commented Mar 31, 2016 at 13:29

1 Answer 1

1

It seems that the correct scheme where to find the switch-input key is:
org.gnome.desktop.wm.keybindings

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.

1
  • Cannot check if answer is valid. Switched to OS X Commented Aug 5, 2016 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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