Night colour configuration insists on contacting location.services.mozilla.com, even if I choose the option “sunset & sunrise at manual location”.
Any workaround to setup night colour without internet access ?
Night colour configuration insists on contacting location.services.mozilla.com, even if I choose the option “sunset & sunrise at manual location”.
Any workaround to setup night colour without internet access ?
Which desktop environment? Can it be satisfied with a redirect to localhost?
echo '127.0.0.1 location.services.mozilla.com' >> /etc/hosts
For KDE, I found the following bug report…
https://bugs.kde.org/show_bug.cgi?id=485086
Sorry, I should have mentioned it.
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.23.47-default (64-bit)
Graphics Platform: X11
It don’t.
But I found a workaround.
Disclaimer : I decline any responsibility if your laptop looses its way to home
vi ~/.config/kded5rc
around line 80,
change
[Module-colorcorrectlocationupdater]
autoload=true
to
[Module-colorcorrectlocationupdater]
autoload=false
Don’t forget to reboot.
Yes, but, that Bug fix is only for KDE Plasma 6 –
Yes, I know, but even for my Leap install I use Plasma 6 (as I suspect many do). In any case the config described above should be sufficient to inhibit the issue.
We had no idea that:
is being used for the KDE Night Color feature. We have it configured using, “Custom Times”.
Since discovering this “time check” side effect, we have added this to /etc/hosts:
# disallow night color access
0.0.0.0 location.services.mozilla.com
Why use hosts instead of the config file setting? Just in case the KDE Plasma folks have decided to use this “internet time check” somewhere else within KDE Plasma.
And in case you’re curious, but haven’t executed that URL, the following is a screenshot (browser) of the response. Funny that Dark Mode still turns On and Off at the configured times. I might further test using tcpdump.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.