15

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

Is this possible?

0
16

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/
8
  • 1
    Doesn't gnome-tweaks provide an interface to enable/disable gnome extensions?
    – DK Bose
    Apr 14 '19 at 12:41
  • 1
    @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
11

This 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
1
  • 2
    It's worth to mention that gnome-extensions command is available from Gnome 34.
    – gerlos
    Oct 23 '20 at 8:25

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.