I'm trying to change a setting of a gnome shell extension with a bash command. The settings controls at what monitor and at which side of the screen the dock appears, which is part of the 'dash to dock' shell extension. I've tried:
gsettings set org.gnome.shell.extensions.dash-to-dock preferred-monitor 2
this gives the error message:
No such schema 'org.gnome.shell.extensions.dash-to-dock'
As indeed, none of the settings values of the shell extension entry in dconf have 'schemas'.
How can I change the values which do not have a schema in dconf, what command do I use? Ofcourse I can change them with the gui in dconf or with the settings menu of the extension, but that's not what I want.
dconf write /org/gnome/shell/extensions/dash-to-dock 2
should do. Can't test it though, so please try. Note that if a gsettings option exists, it is preferred.gsettings
is higher level has a consistency check. It is the cli frontend to dconf. – Jacob Vlijm Mar 23 '17 at 06:24At first it didn't work for me but that's because I tried running it as root.
– Odin Mugabe Mar 24 '17 at 13:08dconf write /org/gnome/shell/extensions/dash-to-dock/preferred-monitor 2
– Odin Mugabe Mar 24 '17 at 13:21