Command to List Installed and Enabled GNOME Extensions

11,439

Solution 1

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/

Solution 2

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
Share:
11,439

Related videos on Youtube

Jason Hunter
Author by

Jason Hunter

Updated on September 18, 2022

Comments

  • Jason Hunter
    Jason Hunter over 1 year

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

    Is this possible?

  • DK Bose
    DK Bose about 5 years
    Doesn't gnome-tweaks provide an interface to enable/disable gnome extensions?
  • vanadium
    vanadium about 5 years
    @DKBose, OP is asking for commands.
  • DK Bose
    DK Bose about 5 years
    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.
  • Boris Hamanov
    Boris Hamanov about 5 years
    Best to do this at extensions.gnome.org/local
  • Boris Hamanov
    Boris Hamanov about 5 years
    @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
  • vanadium
    vanadium about 5 years
    @DKBose You are right indeed. also system wide extensions can be disabled by gnome-tweaks. Editing the post.
  • vanadium
    vanadium about 5 years
    @heynnema System wide extensions such as Ubuntu-dock and Kstatusnotifier are removed like that. Look into Software: you will find a selection of extensions that can be installed systemwide through the package management system.
  • Boris Hamanov
    Boris Hamanov about 5 years
    @vanadium as I mention... "as most are not installed by apt". So yes, sudo apt remove may work in specific cases.
  • gerlos
    gerlos over 3 years
    It's worth to mention that gnome-extensions command is available from Gnome 34.