Fix Firefox dark text input on Ubuntu 18 with dark themes

Screenshot-from-2018-06-20-21-36-57
Screenshot-from-2018-06-20-21-34-49

1. Create a desktop icon:

2. Fill the following content & save the file.

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=env GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc GTK_THEME=Adwaita:light /usr/bin/firefox
Name=Firefox
Comment=Firefox
Icon=firefox

3. Right-click on the Firefox icon you just created on your desktop and click:

4. Double-click the Firefox and click Trust and Launch (you only need to do this once).

5. Done, enjoy the dark color text on white text inputs.

Screenshot-from-2018-06-20-21-53-17

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marc Liu

Marc Liu

More from Medium

The Browser

Sailfish OS — Meego’s legacy

All About Oop in C++(blog #02)

Weather App Code …