Redshift

Redshift is a utility to automatically change the colour temperature of your screen based on your location.

Install redshift and the geolocation (geoclue) service with:

sudo pacman -S redshift geoclue2

Troubleshooting geoclue

Sometimes the geoclue agent may not start. It should start as a systemd service, check the status of the service with sudo systemctl status geoclue.service.

Failed to query location: Forbidden means that the location provider (Mozilla by default) has rejected the location query. Try hard coding the location services url to the following in /etc/geoclue/geoclue.conf.

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

Alternatively, try explicitly allowing redshift access to the geoclue agent by adding the following to /etc/geoclue/geoclue.conf

[redshift]
allowed=true
system=false
users=

Content properties

  • Type: Note
  • Category: Software
  • Tags: productivity, linux
  • Custom slug: None

This is a preview of a simpler page design that I'm working on over the next little bit. I've finally added a (click it!) but there's still a few pages left to be converted so don't worry if things don't look quite right just yet πŸ™

Content on blog pages use the CC-BY-SA license. The source code and notes use the MIT license. Unsure? Mention me on Mastodon.