Set the text color in Gnome-globalmenu

I installed Gnome-globalmenu. This litte gem acts like the top panel in OS X. So the menubar of the window that is active is showed in the top panel. But when you have a light colored panel, the white tekst is difficult to read.

The solution:

 

Change the text color in Gnome-globalmenu:
GlobalMenu’s text is determined by your desktop theme. If you want to change it do the following:
- add this code to ~/.gtk-2.0
(note: ”~” is your home directory, and to be able to see .gtk-2.0 there you’ll need to press ctrl-h or select View -> Show Hidden Files)

Code:
  style "menu_item"
 {
   fg[NORMAL] = "#000000"
 }
widget_class "**"				style "menu_item"
  style "menubar"
 {
   fg[NORMAL] = "#FFFFFF"
 }
widget_class "**" 				style "menubar"

#FFFFFF is white, and is the colour that will be used for ”File Edit View…”
#000000 is black, and is what will be used in the drop down menus, eg. ”New Open Close Save…”

Change the colours to whatever you want. Just use 6 characters, where each character is one of ”0123456789ABCDEF”
The first pair of characters is for red, the second for green, and the third for blue.

Note: this will also change the menu clour in Firefox (which is not compatible with GlobalMenu) so you may want to change your firefox theme to suit (Tools -> Addons -> Themes in Firefox)

Thanks to Ayoli http://ubuntuforums.org/member.php?u=122327
for showing me how to do this 
If anyone finds this helpful please thank him, not me.

Leave a Reply

You must be logged in to post a comment.