brent
Posts: 255
Joined: Tue Apr 11, 2017 2:31 am
Location: desert usa

[SOLVED]: Redshift software question; settings won't hold

Fri Mar 09, 2018 1:17 am

Hi y'all. Recently replaced my LCD. It's bigger, but offensively bright. I've exhausted the Acer settings and turned to Redshift.

This loop goes to infinity:

Code: Select all

$ redshift -b -v DAY 0.6
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Brightness values must be between 0.1 and 1.0.
 $ redshift -p
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Period: Daytime
Color temperature: 5500K
Brightness: 1.00
I set the brightness to decrease (0.6) but Redshift does not believe 0.6 is a number between 0.1 and 1.0.
It reverts to 1.0.

"redshift -b -v DAY 0.6" is the correct command if I understand redshift --help (I like EVERYTHING verbose BTW if I can get it).

Saw other distro blogs that say to edit the .conf file or create a brightness.sh script.

I wanted to get DEV opinion(s) before trying this on my own.

Thank you for any answer and have a great weekend, Brent


EDIT/WONDERFUL! Now night has fallen in the desert. Redshift has toned it down to muted pinks and dimmed the whites. It's quite amazing....Solus Project's own Nightlight does this in muted orange and it feels like Halloween (no offense Solus, it IS easier on the eyeballs which was your goal). But Redshift must be adjusting gamma or backlight.

For some mysterious reason redshift -p still shows Brightness at max: 1.0

Question remains: how do I tone it down in the DAY? The terminal -help commands aren't working for me.

Thank you, and thanks for packaging--this is good software. Need to dial down this overly-bright Acer for the daytime.
Last edited by brent on Fri Mar 09, 2018 1:40 pm, edited 1 time in total.

User avatar
kyrios
Posts: 2162
Joined: Thu Sep 22, 2016 4:20 pm

Re: Redshift software question; settings won't hold

Fri Mar 09, 2018 10:49 am

brent wrote:
Fri Mar 09, 2018 1:17 am
Question remains: how do I tone it down in the DAY? The terminal -help commands aren't working for me.

Thank you, and thanks for packaging--this is good software. Need to dial down this overly-bright Acer for the daytime.

Personally, I directly edit ~/.config/redshift.conf. Since the config file is well documented, I find it much easier & quicker.
FWIW, here is my config file, I just removed lat & lon
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
;temp-day=5700
;temp-night=3500
temp-day=4800
temp-night=3550

; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1

; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
;gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6

; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual

; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=XXXX
lon=XXXX

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the
; second screen. If this option is not specified, Redshift will try
; to adjust _all_ screens.
[randr]
;screen=0

brent
Posts: 255
Joined: Tue Apr 11, 2017 2:31 am
Location: desert usa

Re: Redshift software question; settings won't hold

Fri Mar 09, 2018 1:39 pm

kyrios wrote:
Fri Mar 09, 2018 10:49 am


Personally, I directly edit ~/.config/redshift.conf. Since the config file is well documented, I find it much easier & quicker.
FWIW, here is my config file, I just removed lat & lon


WOW, exactly what I needed. Thanks for taking the time and sharing, Kyrios. Happy Friday to you!---Brent

Return to “Other Questions”