Score:3

Why are my gnome extensions not listed in gsettings?

in flag

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?

br flag
can you share few extensions which you want to explore via cli?
MauriceNino avatar
in flag
@UnKNOWn for example: https://extensions.gnome.org/extension/1160/dash-to-panel/
br flag
https://askubuntu.com/q/1246650/739431 did you try this way to read the settings of the locally installed extension?
MauriceNino avatar
in flag
@UnKNOWn Thank you! That works flawlessly! Is there any reason why this is not done automatically?
br flag
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.
MauriceNino avatar
in flag
@UnKNOWn Can you link me a source on how to install them manually? I had a hard time getting that to work too.
br flag
when you search for a extension in gnome-extensions site, you need to look for link of authors repository. If he as given instructions in his read me and if he really made the compile commands in his script then only it works. So its not 100% that we get compilation via manual installation.
br flag
https://github.com/home-sweet-gnome/dash-to-panel/blob/master/Makefile it has compilation commands.
MauriceNino avatar
in flag
@UnKNOWn Ah okay I understand - I will stick to the manual process then.
Score:1
br flag

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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.