redshift icon indicating copy to clipboard operation
redshift copied to clipboard

Redshift Refuses to Change From Default

Open Chuck-McDerp opened this issue 5 years ago • 7 comments

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:

  • OS: Linux
  • Redshift version: 1.12
  • Distribution: Linux Mint 20 x86_64
  • Kernel: 5.4.0-54-generic
  • Redshift installed from: Bundled with Linux Mint

Chuck-McDerp avatar Nov 27 '20 16:11 Chuck-McDerp

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

kimberlymeno18 avatar Nov 30 '20 22:11 kimberlymeno18

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.

Chuck-McDerp avatar Nov 30 '20 22:11 Chuck-McDerp

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.

kimberlymeno18 avatar Dec 01 '20 00:12 kimberlymeno18

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 avatar Dec 01 '20 07:12 Chuck-McDerp

@Chuck-McDerp Having the same issue here. Did you find a way to fix this?

homeostashish avatar Dec 23 '20 08:12 homeostashish

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.

shanemd avatar Feb 02 '21 00:02 shanemd

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.

shanemd avatar Feb 02 '21 00:02 shanemd