I originally thought this was related to the points Wayne made (on
-book, I think) about gtk-engines as a firefox dependency, but now
I'm not so sure.
I've built from firefox-4 to firefox-8.0 on older systems, and not
had any problems with the colours of text in menus and popup boxes.
But with gtk+-2.28 and glib-2.30.1 I've got black menus that
highlight when moused over (or, when clicked, for the menu bar), and
the text in popups (the one that comes up to ask if I want to open a
download with something, or save it, together with where to save it,
and any of the dialogs to edit preferences) come up with black text
on a black background. Feels a bit like plans for a hyperspace
bypass. Oh, and clicking them toggles ticks or selection buttons,
but doesn't make the text visible.
Previously, I had one of Default, Emacs, Raleigh in .gtkrc-2.0 and
any of them were adequate to get the arrow keys etc working with an
unpatched gtk+-2 (thanks for that, Andy).
After adding gtk-engines, and then rebuilding firefox, none of the
new themes makes a significant difference - they might change the
colours of text in the drop-down menus (hard to tell, but some seem
more yellow or blue than others), but I still have black-on-black
text on the popups.
Firefox is working enough to google this, and I see similar reports
back to firefox-4, so I guess that a newer version of gtk+-2 is the
cause ?
Someone suggested launching firefox with
env GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc firefox
and claimed he'd tested this with the Redmond and Simple themes. I
don't have the Simple theme, but I do have Redmond (from
gtk-engines) and it doesn't work for me.
Other people have suggested creating
~/.mozilla/firefox/.../chrome/userContent.css [ where ... is the
directory name appropriate to this install - I share /home between
builds, fortunately only the one directory has been updated
recently so manually identifying it was straightforward]. The
suggested content (from the arch wiki, I think), to make input boxes
black text on white, was
input {
-moz-appearance: none !important;
background-color: white;
color: black;
}
textarea {
-moz-appearance: none !important;
background-color: white;
color: black;
}
Again, this makes zero difference. What really worries me is that
there are similar reports for other gtk+-2 applications. Help,
please !
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page