Friday, April 15, 2011

Gnome 3 Massive Title Bar

Seems they were planning on doing something with the title bar so made it frigging HUGE!   This might be ok on a 22" monitor but netbooks this will be an issue.   Most of the space is controlled in the main theme XML file.  So to make much much smaller run:


  • Open a terminal window
  • sudo sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
  • Close terminal window
  • Hit ALT-F2
  • type restart 
  • hit enter
This will change the title_vertical_pad from 14 (on normal font size) to 0.  Then restart the gnome-shell without you having to log-in/out or lose what your working on.

There's talk about creating a netbook theme but until they do the above will do the trick.

7 comments:

  1. Thanks, this is one of the biggest problems with gnome 3 and you have solved it for me.

    ReplyDelete
  2. Thank you so much for sharing this !!! :)
    I personally use XFCE + Compiz + KDE4 Window Decorator (since Compiz 0.9.5 does not support Emerald themes anymore) but your tip helped me on slimming down the title bar on clients laptop. Already saved it on my google docs !

    ReplyDelete
  3. This is just what I needed. Many thanx!!

    ReplyDelete
  4. it didnt work for me :( plz help. could it be because im on 12.04

    ReplyDelete
  5. thanks for solving this. for me.

    ReplyDelete