Open Chuck-McDerp opened 3 years ago
How were you able to set it to your new config file to begin with? I am trying to change mine to run during the day as well. I am a new linux(ubuntu) user and the commands I've tried ~/.config/redshift/redshift.conf or sudo {XDG_CONFIG_HOME}/redshift/redshift.conf, are saying command not found
How were you able to set it to your new config file to begin with? I am trying to change mine to run during the day as well. I am a new linux(ubuntu) user and the commands I've tried ~/.config/redshift/redshift.conf or sudo {XDG_CONFIG_HOME}/redshift/redshift.conf, are saying command not found
That because the config files does not exist by default, you need to create it. Open up a text file and name it "redshift.conf" and place it in ~/.config/redshift/ However since .config is hidden, you can go in your terminal and imput "cd ~/.config/redshift" and then "touch redshift.conf" To create the file there manually. You can also skip this last step and instead write your entire configuration file from the terminal with "echo [Write your entire configuration here minus the brackets] > redshift.conf" though you do need to do the cd one first.
When I put in "cd ~/.config/redshift", it says "no such file or directory". I did make the file, and it's in my home folder, but it's called redshift.conf.
When I put in "cd ~/.config/redshift", it says "no such file or directory". I did make the file, and it's in my home folder, but it's called redshift.conf.
Very well, then what you can do is back in your console and type in "redshift -c /home/[your profile name without the brackets]/redshift.conf" it should then run the settings from it at that point.... if it feels like it that is, in my case it just keeps reverting back to default.
@Chuck-McDerp Having the same issue here. Did you find a way to fix this?
I had to put the config file at ~/.config/redshift.conf
for it to take effect. I discovered this by running either info redshift
or man redshift.conf
and noticed this sentence:
A configuration file with the name 'redshift.conf' can optionally be placed in '~/.config/'.
I assume this means I have a different version than others. I'm running redshift 1.10 from the Ubuntu repositories.
Also, @kimberlymeno18, it looks like you just need to create the redshift directory with mkdir ~/.config/redshift
. However, if you're running a version like mine, then your config file is in the right place already, at ~/.config/redshift.conf
.
No matter what I do, redshift always refuses to do anything other than default as it always reverts back to it. Even by manually setting it up with a config file, now redshift causes my display to blink every 2 seconds between the default 6500K and my set 4600K
Manually setting it up in the terminal does not work as it also just reverts back after 2 seconds, trying to change location to manual, or anything to do with the configuration will freeze the terminal just like in issue #769
What can I possibly do to force it to abandon the default?
Current config file setup: [redshift] temp-day=4600 temp-night=4500 fade=1 location-provider=manual adjustment-method=randr [manual] lat=45.50 lon=73.84
Software versions: