How can I enable/disable gnome extensions from command line?

I made a animated gif of what I'm trying to do from the terminal to explain it better. (I'm not trying to enable or disable just one extension)

enter image description here

I looked at gnome-tweaks -h but it doesn't have the option I'm looking for.

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -t, --test            Enable test and debug code
  -l, --load            Load all tweaks
  -p [/, /usr], --prefix=[/, /usr]
                        Installation prefix (for gsettings schema, themes,
  -v, --verbose         Print the names of settings modified
  -d, --debug           Enable debug output


gsettings set org.gnome.shell disable-user-extensions true

to disable all the extensions enabled by the user (it will remember which of the extensions are currently enabled, won't disable extensions individually).

Similarly, run

gsettings set org.gnome.shell disable-user-extensions false

to enable the extensions.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.