Redshift fails to run without .service files
Redshift is a proper example of what happens when developers expect the OS to run some specific program. In this case,redshift
expects.service
files to be present, and simply fails without them:
$ redshift
Trying location provider `geoclue'...
Unable to obtain master client: The name org.freedesktop.Geoclue.Master was not provided by any .service files
Failed to start provider geoclue.
Trying next provider...
Trying location provider `manual'...
Latitude and longitude must be set.
-
I use it like this
redshift -l long:lat -m randr
how about a wrapper script that uses the fine services at RIPE https://github.com/RIPE-NCC/whois/wiki/geolocation