Firefox doesn't play well with dark system themes and I want to use it and only it with a light system theme, which can be done with an environment variable, but then it will still use my default icons for the menus, which are also light and turn almost invisible.

How to open a single GTK+3 program with a different icon theme? I've only found a solution for GTK+2.

  • Is there any screenshot to show what you are actually seeing? If you mean similar to this screenshot from the bugzilla thread, how to reproduce this issue? What are the themes used for the host system and Firefox?
    – user37165
    Jul 18 '16 at 14:47
  • @clearkimura I've already described the issue, and the specific themes are irrelevant to my question: "How to launch a single GTK-3 application with a separate icon theme, like it was possible with GTK-2?"
    – user562675
    Jul 18 '16 at 14:49
  • @clearkimura You've launched Firefox with another GTK-3 window border theme. I'm asking about icons.
    – user562675
    Jul 18 '16 at 15:00

How about:

mkdir -p /home/$USER/.firefoxconfig
export XDG_CONFIG_HOME=/home/$USER/.firefoxconfig
lxappearance #or similar to select theme and icons

and then start firefox as:

XDG_CONFIG_HOME=/home/$USER/.firefoxconfig firefox

As far as I know, firefox itself does not use the folder ~/.config. If it does (or some other application for which you want to do the same as above), you might want to symlink relevant files/folders to .firefoxconfig.

  • I'm going to play around with this, I am using ~/.mozilla/firefox/theme as my XDG_CONFIG_HOME Aug 24 '16 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy