Help with Redshift

I have a problem with Redshift - thing is it refuses to close when I click on "Quit" in the desktop icons menu and when I reboot/Shut down screen turns crazy for a second before going off

I tried this options:

the command "redshift -O 3500" works and it's not a problem but problem is that it refused to revert the change until I restart my system and then it all works like I never used redshift (Thank God)

I also sent feedback because it said it crashed unexpectedly (multiple times it crashed and kept spamming me maybe as many times I clicked "Quit" when it wouldn't stop)

This is what I also got as a report:

I don't want redshift to start on login I just want to know I can enable it on/off manually without it scaring the life out of me when I turn my system off and screen acts like it will break (seriously) - is there a solution or an alternative app that helps with blue screen light ?

Redshift, by default, depends on 'geoclue2' and this is tripping you up because redshift doesn't seem to be able to find it running on your system.

Use the -l option as explained here:

The second error is completely alien to me:
Could not connect to wayland display, exiting
Which is weird because redshift does not support wayland at all (according to this and this ). I assume this is a bug.

Anyway, according to the errormessage, your problem should be solved if you use the '-l' commandline option which should lift the dependency on 'geoclue2'

EDIT:
Geoclue uses Mozilla Location Service, that has been discontinued.

EDIT2:
The wayland warning issue can be found on the issue tracker of redshift here:

4 Likes

Well I did try this and wayland got mentioned again for some reason after I set the correct LAT:LON - in terminal it said it changed but in app when I open "Info" my location is still 0.0, 0.0 so I don't know if it worked

Terminal after the -l command
Could not connect to wayland display, exiting.
Failed to start adjustment method wayland.
Trying next method...
Using method `randr'.
Waiting for initial location to become available...
Location: [my location]

And it keeps on working in terminal until I exit it. Like it seems as the solution should work but for some reason it keeps "running" and not enabling it in the redshift itself - in any case thank you for the link, it really should be the best solution so I will flag it as that

If it doesn't work, you might check the validity of your config files. You can also add your location in the configfile which seems to work better.

In the previous message I added a link to the 'issues' page of redshift. A lot of this is discussed by some people including the author of the software.
There is a lot of information on that page that you might find helpful.

2 Likes

I've just finished reading the linked thread - I guess I will try the confingfile option and see if I manage to get it working haha

Have a nice day and thanks a bunch for your help ! :grin:

2 Likes

Using RedShift from command line

The GUI of RedShift has very limited options, and you can not set the color temperature in a permanent way. However, Redshift also has some command line options: open in a terminal window: redshift -h to see the options.

Simply running the command:

redshift -O 3700

Will set your screen permanently to "night".

Neutral temperature is:

redshift -O 6500

Adding the (first) command to your Startup Applications will apply the setting on log in. (Dash > Startup Applications > Add)

I have never had luck from the command line.
Copy and paste this to pluma and save in your /home/your user name/> .config folder
as redshift.conf

[redshift]
temp-day=3500
temp-night=3500
transition=1
gamma=0.8
location-provider=manual
adjustment-method=randr

[manual]
lat=-44.5
lon=88.1

[randr]
screen=0
screen=1

I keep mine the same day and night but 6500 is considered neutral and 3700 for night. You will have to look up and enter your own latitude and longitude. Then just save it in .config (a hidden folder) and start it from the applications>accessorizes> redshift menu. Once started check auto start and it will eventually close on your panel. This has always worked for me across multiple OS's and desktops. Again as you can see I keep mine the same day or night.

3 Likes

Thank you soo so much @jymm ! You just made my day !

1 Like

I use xsct. There is no transition, but I don't care.
I have three redshift icons on my panel, the middle one was made with Gimp.
They are in /usr/share/icons/hicolor/scalable/apps

redhift

Install it and try
xsct 5000
or
xsct 6500 ( default )

2 Likes

Thanks for the suggestion - I just might switch the redshift with this since I've read that the redshift got discontinued here:
https://forums.linuxmint.com/viewtopic.php?t=422415&sid=50889dcb085867bee6e32ce76aa84882

1 Like

Sorry Alarik, that was a different program than this redshift so I deleted the post. It looks like the last update was 4 years ago.

2 Likes

No problem @jymm I was just making a replay to point it out because for a second I got my hopes up that the news were not so dark (pun intended :yum: )

All is well and thank you again for help and quick responses !

1 Like

Just to make an update - I just made decision to switch to gammastep because it is a redshift fork so the same terminal commands worked and I got it running for more info see:

There is the most up-to-date in app center as well so it's like one click away from install and you can also replace reshift right after as well while you're at the app center :grin:

1 Like