Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

redshift-gtk 1.9.1 - Period: Daytime Not Changing? #106

@ghost

Description

Hi,

redshift is not changing the Period from Daytime to Night...

I compiled 1.9.1 from source, these are the compile options I used in a build script;

sh bootstrap
./configure \
  --disable-ubuntu \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --disable-nls \
  --enable-drm \
  --enable-geoclue \
  --enable-randr \
  --enable-vidmode \
  --build=$ARCH-slackware-linux

make
LINGUAS="en" make install DESTDIR=$PKG

I have a config file at ~/.config/redshift.conf

These are the contents of the redshift.conf;

; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=3500

; 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=1.0
; It is also possible to use different settings for day and night since version 1.8.
brightness-day=1.0
brightness-night=0.9
; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.8
;gamma=0.8:0.7:0.8

; Set the location-provider: 'geoclue', 'gnome-clock', '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'
[manual]
lat=51.48
lon=0.46

; 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.
[randr]
screen=0

I'm running Openbox and in; ~/.config/openbox/autostart I lauch redshift like this;

sleep 2s && redshift-gtk -l 51.48:0.46 >/dev/null 2>&1 &

With Openbox I'm using tint2 and redshift-gtk app is placed in the sys tray, but by 7PM at night the 'Info' shows the Period: Daytime and the Color Temp: 5700, and does not change to Night when it is night time, why is this not working?

I also thought if you used location-provider=manual all you needed is your LAT:LON and it will change?

Also if I run it from the command line; redshift -l 51.48:0.46 -t 5700:3600 -g 0.8 -m randr -v it still stays on daylight even at night.

Thank you...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions