Ubuntu – Change Ubuntu Onboard Keyboard Layout from Terminal

keyboardkeyboard-layout

I am planning to change the layout of my keyboard from Small to Compact on terminal. I used onboard --layout=Small.onboard but it was not changing.

enter image description here

Can you help me to get the correct snippet to change the layout of my keyboard?

Best Answer

To make it small:

gsettings set org.onboard layout '/usr/share/onboard/layouts/Small.onboard'

To make it compact (which is default):

gsettings reset org.onboard layout
Related Question