Bug 1093592 - redshift doesn't work after geoclue2 update
redshift doesn't work after geoclue2 update
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Tejas Guruswamy
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-16 21:52 UTC by Dany Marcoux
Modified: 2022-06-08 22:16 UTC (History)
7 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
redshift error (26.60 KB, image/png)
2018-05-16 21:52 UTC, Dany Marcoux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dany Marcoux 2018-05-16 21:52:59 UTC
Created attachment 770512 [details]
redshift error

Hello,

I updated to the latest snapshot (2018 05 15) and since then, redshift with geoclue2 doesn't work. After launching, it displays an error (see attachment). This wasn't happening with the previous snapshot I had, but I'm not sure which one. The issue seems to arise due to changes within the recent revisions of the geoclue2 package, so as far as 2 months ago. So by looking at the snapshots, I suspect it is in one of those:

- 2018 03 04
- 2018 04 24
- 2018 05 11
- 2018 05 13

The workaround is to provide the latitude and longitude manually with the option -l.
Comment 1 Łukasz Konieczny 2018-06-18 09:14:19 UTC
I have the same problem. I'm using KDE Plasma with redshift plasmoid. I have tried to run geoclue from services manager in YaST and then i had the popup window with message that there is no install section in description file of geoclue service. I have looked into /usr/lib/systemd/system/geoclue.service and indeed there is no [Install] section.
Comment 2 Dany Marcoux 2018-08-22 19:30:41 UTC
I have found a fix for this. The file '/etc/geoclue/geoclue.conf' needs to have the following lines:

    [redshift]
    allowed=true
    system=false
    users=

Source: https://wiki.archlinux.org/index.php/redshift#Automatic_location_based_on_GeoClue2
Comment 3 robert spitzenpfeil 2019-05-05 21:59:56 UTC
Currently it's not working for me.

The location service URL given in the config files throws an error when pointed at with a web browser. This may go away spontaneously, but still...

https://location.services.mozilla.com/v1/geolocate?key=geoclue

---
{"error":{"code":403,"message":"You have exceeded your daily limit.","errors":[{"domain":"usageLimits","message":"You have exceeded your daily limit.","reason":"dailyLimitExceeded"}]}}
---

https://gitlab.freedesktop.org/geoclue/geoclue/issues/113


You can put in other keys, right now "test" seems to work, but that's not a permanent solution.

For the time being I'll just provide coordinates to redshift manually.
Comment 4 Moritz Duge 2022-06-08 18:06:29 UTC
Since version 15.4 openSUSE-LEAP is affected too.
(was working fine until 15.3)

See: bug 1200355