3

I want to automate my Ubuntu install and for that I also want to automatically install extensions and apply my settings.

Unfortunately, if I install my extensions via the browser, I can not get my settings from the gsettings tool.

If I view my extensions using the dconf editor like described here, I can see my settings, but in gsettings the schema just does not show up. The Ubuntu default extensions do show up though.

What can I do to read and write my extensions settings from the CLI?

9
  • can you share few extensions which you want to explore via cli?
    – PRATAP
    Dec 15, 2021 at 18:11
  • 1
    @UnKNOWn for example: extensions.gnome.org/extension/1160/dash-to-panel Dec 15, 2021 at 18:14
  • askubuntu.com/q/1246650/739431 did you try this way to read the settings of the locally installed extension?
    – PRATAP
    Dec 15, 2021 at 18:43
  • @UnKNOWn Thank you! That works flawlessly! Is there any reason why this is not done automatically? Dec 15, 2021 at 19:23
  • that can be done if the extension is installed manually (not from gnome-extensions webpage) and if the extension author makes the compile commands in his install script.
    – PRATAP
    Dec 15, 2021 at 19:27

1 Answer 1

2

Below commands one by one or in a script will show you the keys of the extension dash-to-panel

mkdir -p .local/share/glib-2.0/schemas
cp .local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml .local/share/glib-2.0/schemas/
cd .local/share/glib-2.0/schemas/
glib-compile-schemas .
cd
gsettings list-recursively org.gnome.shell.extensions.dash-to-panel

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .