Active clock-applet necessary?

Asked by Tobias Baldauf

Hi!

I was wondering if it was possible to modify Redshift's dependency on the clock-applet in such a way that no active applet is necessary.

Redshift reads its location-settings from gconf. So, wouldn't it suffice for a user to set the geolocation once via the clock-applet so that it gets stored in gconf? After that, the applet itself is meaningless for Redshift anyway.

I'm asking because I'm using a dock (Docky & AWN) and I no longer require the classical gnome-panel clock-applet. I'd love to use Redshift, but it's strict dependency on an ACTIVE clock-applet stops me from doing so.

Docks are quite popular these days & replacing the gnome-clock-applet is quite a common action. Therefore, I'd love to see a solution for this problem.

Another way of fixing this issue would be to use a geo-location service for the user's current IP (Firefox has one built in, there's plenty on the net). This way, Redshift could also adept to a user's actual location & not just the one that is currently set as "Home" in the gnome-clock. A successful IP geo-location could simply override the predefined setting. This way, offline users won't be left out.

Question information

Language:
English Edit question
Status:
Solved
For:
Redshift Edit question
Assignee:
No assignee Edit question
Solved by:
Jon Lund Steffensen
Solved:
Last query:
Last reply:
Revision history for this message
Best Jon Lund Steffensen (jonls) said :
#1

Hi Tobias,
Yes that would be possible, however I consider the GNOME clock applet solution to be a temporary solution anyway. My idea is to implement a location provider that uses geoclue (http://www.freedesktop.org/wiki/Software/GeoClue).

Revision history for this message
Tobias Baldauf (technopagan) said :
#2

That sounds great! If you do, please consider giving people an additional option to manually tell Redshift their location. This will enable people to get Redshift working if Geoclue does not work for them or if they are concerned with their privacy and therefore shy away from geolocation-services.

Thank your for your reply & great work on Redshift!