Since 14.04 default keyboard switch key is Super+Space
I preparing sample system for clone on hundreds of pc's and want to assign another default keys to switch layout with command line.
I cannot find where this setting is defined in 14.04.
I search /etc
, dconf
, gconf
but cannot find any appropriate configuration in fresh install of Ubuntu 14.04.
Also I want to manage this setting with chef for supporting idempotent configuration in future. So I need to know where it's stored.
Help me to find where it's stored.
Best Answer
You can change this setting by going to System Settings -> Keyboard, then go to the Shortcuts tab and choose Typing on the left. The setting you're looking for is Switch to next source.
This setting is stored by GSettings. I think these settings are stored in
~/.config/dconf/user
, but this is a database file managed by some applications and I would not touch it. Better to usedconf
to change the setting if you would like to do it via the command line.You can use
dconf watch /
to see settings that are being changed while you change Ubuntu's system settings via the GUI. E.g., if I run this command, then change the keyboard switcher to Super+Tab via the GUI, that command outputs:So, you could change this switch to Super+Tab (as an example) via the command line by issuing the command