Changing icon spacing within Application Indicator Complete.

If at all possible, I'd like to space them with about 1-3px between each one.

enter image description here

https://launchpad.net/indicator-applet [Website]

I'm using 12.04, and in GNOME Classic (No Effects). I'm working from a netbook (1024x600), and am trying to fit everything into one panel for the sake of screen conservation. Ironically, my netbook is often without reliable net access, and so a way to simply edit a config file or the like would be ideal, as opposed to downloading patches, modified packages, etc., but anything would be helpful. Even pointing me in the direction of how to start rebuilding the indicator to meet my needs (if need-be) would be welcome.

Does anyone know of a method that would serve my purpose?

EDIT: I've downloaded v0.4.93 from the site mentioned above, and took a look inside the archive. Couldn't find anything clearly alluding to object placement/size and such. Maybe just a pointer on where to find those params would do?

EDIT 2: Some more info on my WM/DE: I'm pretty sure GNOME classic is gtk2 not gtk3, and equally sure my windows manager is metacity, as opposed to compiz. "equally sure" meaning i could be horribly wrong, but when I edit the metacity css file for my theme (which ive switched to "Adawaita"), it takes effect after logout/login. My inability to modify the spacing persists. Im gonna see if i can contact someone involved in its dev to get their input, will post results here if fruitful.

  • Is this answer any help? askubuntu.com/questions/69576/… – fossfreedom May 29 '12 at 8:17
  • @fossfreedom Thanks, and at first glance I thought it would help, but it seems those are individual applets, and different from the "Indicator Applet Complete" in that they are added to the panel seperately. I could be wrong, as I wasnt around for that ver. of Ubuntu. correct me if I'm wrong. – PeaTearGriffin May 29 '12 at 8:21
  • Possible duplicate? askubuntu.com/questions/46187/… – fossfreedom May 29 '12 at 19:34
  • @fossfreedom it offers some interesting solutions that -failing jasmines' solution below- I may try, but its my understanding that much has changed between Maverick and Precise, in respect to the DE/WM. Thanks for the link. – PeaTearGriffin May 29 '12 at 21:28

Go to:

/usr/share/themes/"your theme"/gtk-3.0/gtk-widgets.css


-GtkMenuItem-horizontal-padding: 0;


/* default */
* {

The /* default */ comment is optional, so look for * {.

  • this would a great answer if you can add a picture showing (before and after) the change to the css file. – fossfreedom Aug 3 '12 at 14:01
  • This doesn't work. – JonasCz Apr 27 '18 at 19:59

Locate unity.css and gnome-panel.css in your theme folder:

/usr/share/themes/"your theme name"/gtk-3.0/apps/

try to add the line

padding: 0 2px;

to certain css selectors, such as .unity-panel or PanelApplet.

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.