Code: Select all
redshift -gtk -o
what should i change here below to make it work?
Code: Select all
* 19 * * * /usr/bin/redshift-gtk -o 3000
* 4 * * * /usr/bin/redshift-gtk -x
Code: Select all
redshift -gtk -o
Code: Select all
* 19 * * * /usr/bin/redshift-gtk -o 3000
* 4 * * * /usr/bin/redshift-gtk -x
Code: Select all
$ redshift-gtk --help
Run `redshift -h` for help
Code: Select all
@reboot sleep 10 && export DISPLAY=:0.0 && export XAUTHORITY=/home/user_name/.Xauthority && sudo -u user_name /usr/bin/redshift-gtk
Code: Select all
$ locate redshift | grep bin | xargs ls -l
lrwxrwxrwx 1 root root 12 gru 27 13:23 /usr/bin/gtk-redshift -> redshift-gtk
-rwxr-xr-x 1 root root 71912 gru 27 13:23 /usr/bin/redshift
-rwxr-xr-x 1 root root 986 gru 27 13:23 /usr/bin/redshift-gtk
Both 1000 and AZgl1500 have provided excellent solutions. Using 1000's information, I found that the following cron settings work perfectly for me with one monitor:squid wrote: ⤴Wed Feb 03, 2021 10:12 am I'm a noob, I've tried writing a cronjob/script the cronjob below isn't working but the standalone command works.Code: Select all
redshift -gtk -o
what should i change here below to make it work?Code: Select all
* 19 * * * /usr/bin/redshift-gtk -o 3000 * 4 * * * /usr/bin/redshift-gtk -x
Code: Select all
0 19 * * * export DISPLAY=:0 && /usr/bin/redshift -o 3000
0 4 * * * export DISPLAY=:0 && /usr/bin/redshift -x
Code: Select all
0 19 * * * export DISPLAY=:0.0 && /usr/bin/redshift -o 3000
0 4 * * * export DISPLAY=:0.0 && /usr/bin/redshift -x
Code: Select all
0 19 * * * export DISPLAY=:0 && /usr/bin/redshift -o 3000 -g 0.7:0.7:0.7
0 4 * * * export DISPLAY=:0 && /usr/bin/redshift -x
Code: Select all
; Global settings
[redshift]
temp-day=6200
temp-night=3500
transition=1
gamma=0.7:0.7:0.7
location-provider=manual
adjustment-method=vidmode
; The location provider and adjustment method settings
; are in their own sections. This is an example of a manual setting.
[manual]
lat=37.2
lon=-88.1
; In this example screen 0 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the first screen.
[vidmode]
screen=0