Using redshift without geoclue: why doesn't it allow me to specify how I'd like to have my screen color temp changed / set my position manually?

Unix & Linux Asked by mYnDstrEAm on August 20, 2020

I’d like to use the redshift to change the screen color temperature before I intend to go to sleep.

Now it looks like redshift requires me to install geoclue. But I don’t want to have that package installed. And in addition I’d like to specify the times for my screen color to be changed manually. Either by setting my position manually or by simply specifying the time it should start and end dimming.

Is there a way to change my screen color temperature like that with some other tool or with some trick maybe? I’m also interested in why that isn’t possible with redshift even though it shouldn’t matter whether it gets the data from geoclue position data or by some data entered manually.

I’m using Debian 9 with KDE.

2 Answers

Solved this via:
sudo apt-mark hold geoclue-2.0

sudo apt-get install redshift
sudo apt-get remove geoclue-2.0

and setting the location manually via the Redshift widget (KDE) by rightclicking the lightbulb icon -> Redshift Control Settings -> Advanced -> Location.

After removing geoclue Redshift itself fails to launch and says:

Failed to run Redshift
Trying location provider 'geoclue2'...
Unable to connect to GeoClue.
Unable to get location from provider.

Correct answer by mYnDstrEAm on August 20, 2020

You can totally make most of those things with redshift, and you don't really need geoclue installed. To set colors straight from command line just put:

redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m randr -v

The -l option tells redshift about your location (latitude and longitude). You can also use a config file. For example:



If you save this as redshift.conf in your $HOME/.config, redshift will read these setiings whenever started. BTW you can start redshift on startup by putting redshift & in your .xinitrc file. All the examples above are taken from man redshift, lots of information can also be found on the redshift website.

Answered by jjj on August 20, 2020

Add your own answers!

Related Questions

Recently downloaded files using wget

1  Asked on December 17, 2020 by mohammad-qodrati


watch tail -20 ls -ltr?

1  Asked on December 17, 2020 by dong-gi-kang


Route all traffic via OpenVPN

1  Asked on December 17, 2020 by ihor_dvoretskyi


Evince ‘save as’ permissions

1  Asked on December 17, 2020 by stan-shank


change LS_COLORS behaviour

1  Asked on December 16, 2020 by barud


How to adjust NVIDIA GPU fan speed on a headless node?

2  Asked on December 16, 2020 by aleksandr-dubinsky


Linux VM unresponsive

0  Asked on December 16, 2020 by ykaly


Upgrading Berkeley DB rpm in a Centos OS

1  Asked on December 16, 2020 by gr68


How to redirect all network traffic through Tor?

0  Asked on December 15, 2020 by ananthakrishna-k


Feed script variable to command that prompts for user input

1  Asked on December 15, 2020 by vishnu-sajeevan


Configuring SNMP Traps

1  Asked on December 15, 2020 by kubomd


Wrong notification system in KDE Plasma

1  Asked on December 14, 2020 by arthur-m


start chromium on startup using systemd

1  Asked on December 14, 2020


DRBD Failure: (127) Device minor not allocated

1  Asked on December 14, 2020 by tanatos-daniel


Using bash shell function inside AWK

7  Asked on December 13, 2020 by tiny


Chrome on Gnome randomly fails to go full screen

1  Asked on December 13, 2020 by mikev


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir