9

I want a command to list all extensions currently installed. Also, a command to list all enabled extensions.

Is this possible?

12

Your locally installed gnome Shell extensions, i.e., these that are installed for your user only, can be listed with the commmand:

ls ~/.local/share/gnome-shell/extensions/

You can find out which extensions are enables by querying a dconf setting:

gsettings get org.gnome.shell enabled-extensions

System wide installed gnome-shell extensions are listed with the command

ls /usr/share/gnome-shell/extensions/
| improve this answer | |
  • Doesn't gnome-tweaks provide an interface to enable/disable gnome extensions? – DK Bose Apr 14 '19 at 12:41
  • @DKBose, OP is asking for commands. – vanadium Apr 14 '19 at 16:02
  • I was referring to the last para where you wrote "These extensions can only be disabled ..." which isn't the same as removing using sudo apt remove. – DK Bose Apr 14 '19 at 16:06
  • 1
    Best to do this at extensions.gnome.org/local – heynnema Apr 14 '19 at 17:01
  • 1
    @vanadium GNOME extensions can NOT be removed with sudo apt remove, as most are not installed by apt, but rather at extensions.gnome.org/local – heynnema Apr 14 '19 at 17:02
1

The command:

gnome-extensions list

will show all extensions enabled and disabled. To only show those extensions which are enabled use the command:

gnome-extensions list --enabled
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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