You are not logged in.
Hmm, the above "works" for dark theme, but has the strange side-effect of taking firefox out of default applications, browser eligibility.
The alternative of inserting the following into /etc/profile.d/mozilla-comon.sh works better:
export MOZ_ALLOW_GTK_DARK_THEME=true
...dropping the firefox.desktop override, and then rebooting.
Last edited by dekellum (2016-09-23 20:00:37)
Offline
As of recent updates (gdm 3.22.1-1, etc.) the above referenced /etc/profile.d/mozilla-comon.sh is no longer being read. As I've had no luck with export's in .xinitrc/.xprofile, I found I had to resort to this:
~/.pam_environment
MOZ_ALLOW_GTK_DARK_THEME=true
Offline
For me, since at least firefox 50.1.0, and possibly earlier, electrolysis (e10s) is enabled by default, and as was warned in above linked Mozilla bug reports, the CSS modification no longer works to get default-white form content fields, etc. Electrolysis may still be disabled to get the old behavior working, in about:config:
browser.tabs.remote.autostart = false
browser.tabs.remote.autostart.2 = false
As I saw some other quirky behavior, unrelated to colors, with Electrolysis enabled I'm opting for this for now. Maybe in a month or so I'll try to free myself of this now 3 band-aid solution and see what is still broken.
Offline