How to decrease space between indicators in GNOME Shell?

As with some Gnome extensions, installing doesn't work if the extension says it does not support that version of Gnome - even if it does work. So to install it:

  • Download the extension from the extension homepage:
    https://bitbucket.org/mathematicalcoffee/status-area-horizontal-spacing-gnome-shell-extension/downloads/gnome3.8_status-area-horizontal-spacing@mathematical.coffee.gmail.com.zip

  • Extract the [email protected] folder to ~/.local/share/gnome-shell/extensions/[email protected]/

  • Run gedit ~/.local/share/gnome-shell/extensions/[email protected]/metadata.json, and edit the shell-version to include 3.10:

       "shell-version": [
        "3.4", 
        "3.6", 
        "3.8",
        "3.10"
      ], 
    
  • Enable the extension from Gnome Tweak Tool. This method works with quite alot of extensions, but does not always work. You may need to restart the shell with Alt+F2+r

You can also modify the theme to have a different spacing - this can be done by finding the theme's directory (e.g. /usr/share/themes/ZukitwoGreen/gnome-shell, ~/.local/share/themes/ZukitwoGreen/gnome-shell), and editing the gnome-shell.css file to have a different hpadding (you can use find and replace) - e.g. mine is:

-natural-hpadding: 4px;
-minimum-hpadding: 4px;

I think this is also available as a option under the 'Elegance colours' customizable theme.