Howto: Better integrate Firefox with dark themes
July 18, 2007 at 2:57 pm | In tips and tricks, xubuntu | 2 CommentsHere’s the problem: in some themes (in my case, Murrina Aero) the menubar has a dark background. In other programs, the text of the menubar is white. In Firefox, however, it’s gray and unreadable. Here’s a quick fix to make the menus easier to read:
1) Open up Firefox, and type about:config in the address bar. Once loaded, right click and go to New > String. When asked to type in the preference name, type in ui.menutext. Hit OK. Now type in #ffffff.
Restart Firefox. The menu will be easier to read, but now we’ve run into another problem: your submenus and right-click menus have also turned white, and they’re unreadable. Fear not, there’s a fix for this too:
2) Go to Xfce Menu > File Manager (Thunar). Once there, click View > Show Hidden Files. Then navigate to .mozilla/firefox/xxxxxxxx.default/. (Note: xxxxxxxx changes for each system. For instance, mine is x3s7t788.)
3) Now go to the chrome folder. Under there is a file called userChrome.css. Open it up and paste in the following at the end of the file:
menupopup > menu, popup, menuitem {
color: black !important;
}
Save the file and exit.
4) Restart Firefox. Now your menu bar will be readable, as well as the submenus.
Known bugs:
This still doesn’t affect the right-click menu of about:config. No big problem, though, since any configuration you do in there can also be placed in .mozilla/firefox/xxxxxxxx.default/prefs.js.
Special thanks to this guide on creating Office XP style menus for Firefox 2 for helping how to figure this out.
Enjoy!
Special thanks to the
2 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
[...] primera de ellas es modificar el fichero “userChrome.css” del [...]
Pingback by Ubuntu Life » Blog Archive » Como integrar esteticamente Firefox con temas negros/oscuros — January 10, 2008 #
[...] primera de ellas es modificar el fichero “userChrome.css” del [...]
Pingback by Como integrar esteticamente Firefox con temas negros/oscuros at MacroBlog.Net — January 12, 2008 #