2012-12-05T14:31:22ZFluxBBhttps://bbs.archlinux.org/viewtopic.php?id=153873Thanks. I uncommented the entry from the Openbox autostart file and created a "~/.config/redshift.conf" file:

; Global settings
[redshift]
temp-day=6500
temp-night=3800
transition=1
gamma=1.0
location-provider=manual
adjustment-method=vidmode
; The location provider and adjustment method settings
; are in their own sections.
[manual]
lat=44.42
lon=26.10
; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
[vidmode]
screen=0

Works ok now.

The only thing that bothers me is that even if I right click the tray icon and check or uncheck "Autostart", it still starts automatically from "~/.config/autostart". But that's probably a bug or something. Oh, well... Marking it as solved.

CONFIGURATION FILERedshift will look for a configuration file in “~/.config/redshift.conf” (or in XDG_CONFIG_HOME if that has been set). A different configuration file can be loaded with the command line option “-c”. Here is an example:

; Global settings
[redshift]
temp-day=5700
temp-night=3500
transition=1
gamma=0.8:0.7:0.8
location-provider=manual
adjustment-method=vidmode
; The location provider and adjustment method settings
; are in their own sections.
[manual]
lat=55.0
lon=12.0
; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
[vidmode]
screen=1

]]>https://bbs.archlinux.org/profile.php?id=561962012-12-03T09:24:55Zhttps://bbs.archlinux.org/viewtopic.php?pid=1201363#p1201363If it's in your .config file/directory, that is open for whichever DE/WM will pick it up. Redshift is kinda tricky to get it to behave right. It needs some way of resetting itself and not reloading itself on the same X window, but if I want to run it on another X window at the same time it has to leave that option open.How do you set up a redshift.conf file? I don't see how the configuration file is supposed to be set up.]]>https://bbs.archlinux.org/profile.php?id=356642012-11-30T14:08:07Zhttps://bbs.archlinux.org/viewtopic.php?pid=1200331#p1200331I have redshift 1.7-5 installed and start it from .xinitrc and don’t have this problem, but I’m using Xfce. (I don’t start gtk-redshift but redshift.) No config file.]]>https://bbs.archlinux.org/profile.php?id=351402012-11-30T12:24:42Zhttps://bbs.archlinux.org/viewtopic.php?pid=1200302#p12003021: Remove or comment out the gtk-redshift command in ~/.config/openbox/autostart.sh2: Set up your preferences in ~/.config/redshift.conf3: Allow ~/.config/autostart/gtk-redshift.desktop to start redshift

That's what I do.

]]>https://bbs.archlinux.org/profile.php?id=561962012-11-30T09:58:58Zhttps://bbs.archlinux.org/viewtopic.php?pid=1200270#p1200270This is starting to piss me off... Rebooting the computer will get me a brand new "~/.config/autostart/gtk-redshift.desktop" file, which starts to conflict with the other instance from my autostart file (I'm using Openbox):

gtk-redshift -l 44.42:26.10 -b 1.0 -g 1.0 -t 6500:3800 -m vidmode &

The side effect of having two instances (both showing in the tray) is that the screen starts to flicker, even in broad daylight.