Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!


This is a GNOME shell extension that reduces the horizontal spacing between status area icons (top-right of the panel: volume indicator, etc). (Tested in GNOME 3.2, 3.4, 3.6, 3.8).

Status area before (default 12px hpadding):

original (12px padding)

Status area after (6px hpadding):

after with 6px padding


One-click install from link here.

Manual install: download the files (go to 'Downloads' and select the zip file). Start gnome-tweak-tool and select 'Shell Extensions > Install Shell Extension > (zip file you just downloaded)'.



Edit extension.js and change the line:

const HPADDING = 6;

to whatever spacing you want. The original GNOME-shell value is 12px, and the default for this plugin is 6px. At least 6px is recommended.

GNOME 3.4+

You can configure it via the website, or using the gnome-shell-extension-prefs command.


If you do not want to use the extension, you can modify /usr/share/gnome-shell/theme/gnome-shell.css: change the -natural-hpadding property of .panel-button, i.e.:

.panel-button {
    -natural-hpadding: 12px;

could become

.panel-button {
    -natural-hpadding: 6px;

to change the padding to 6 pixels. If you change this below 6 pixels, you will also have to modify the -minimum-hpadding value to accommodate it.

However this will be lost every time you change themes, upgrade gnome-shell, etc.


Branches are as follows:

  • 'default' branch is for development.
  • 'gnome3.2' branch is for GNOME 3.2. Configure it by editing extension.js.
  • 'gnome3.4' branch is for GNOME 3.4+ (3.6, 3.8) Configure using gnome-shell-extension-prefs.
  • 'stable' branch: obsolete (renamed to 'gnome3.2').

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.