搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can I update the color scheme Firefox detects from the system without relogin/temporarily?

  • 1 回覆
  • 1 有這個問題
  • 21 次檢視
  • 最近回覆由 xerus

more options

I am on KDE Neon, a Ubuntu derivative, really happy that Firefox is able to detect my system color scheme and adapt to be light or dark respectively. But there is a problem: If I switch between the light/dark theme in the system settings, Firefox stays with the original one until I log out and back in.

I could see two solutions to this: - Find out why Firefox doesn't immediately detect the color scheme update and fix that - Trick Firefox into thinking the system has a different scheme temporarily, probably via some command-line magic

I know that I can manually change the theme, but then I have to change it back later in both my System and Firefox, which I am trying to avoid, so I am searching for something automatable.

I am on KDE Neon, a Ubuntu derivative, really happy that Firefox is able to detect my system color scheme and adapt to be light or dark respectively. But there is a problem: If I switch between the light/dark theme in the system settings, Firefox stays with the original one until I log out and back in. I could see two solutions to this: - Find out why Firefox doesn't immediately detect the color scheme update and fix that - Trick Firefox into thinking the system has a different scheme temporarily, probably via some command-line magic I know that I can manually change the theme, but then I have to change it back later in both my System and Firefox, which I am trying to avoid, so I am searching for something automatable.

所有回覆 (1)

more options

What would already help with this is knowing how it detects the color scheme - maybe I can manipulate some variable to trick it?