25

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

Is this possible?

0

2 Answers 2

26

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
    Commented Apr 14, 2019 at 12:41
  • 1
    @DKBose, OP is asking for commands.
    – vanadium
    Commented Apr 14, 2019 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
    Commented Apr 14, 2019 at 16:06
  • 1
    Best to do this at extensions.gnome.org/local
    – heynnema
    Commented Apr 14, 2019 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
    Commented Apr 14, 2019 at 17:02
26

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
    Commented Oct 23, 2020 at 8:25

You must log in to answer this question.

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