3

I have installed redshift using apt-get.

I started it up in a terminal window, and then accidentally killed the terminal. Redshift did not stop running itself. My screen is most certainly still under the influence of redshift.

I open Linux Mint system monitor, and I could not find anything that I thought was redshift. Certainly not anything named redshift.

So how do I go about killing redshift?

  • Do ps -A | grep redshift to see if it is still running. If yes than you also get the Process ID (the first number) than do sudo kill -9 <Process ID>. There are certainly faster and beautiful one-liners to kill a process by name ;) but this should do it also – derHugo Oct 4 '17 at 5:00
  • the process name must not be redshift, because the grep did not return anything. But redshift is most certainly still running. – ScottF Oct 4 '17 at 21:16
5

I found the clue in this answer.

Seems that redshift is not running anymore since you killed the terminal BUT the last screen settings keep being there constantly.

So you have to reset your screen manually. I'm citing:

You have two options:

Try to set the colour temperature of your screen back, manually, to 6500 (via the button menu that most screens have)

or

Reinstall Redshift; don't run the interface, but set the temperature from command line:

redshift -O 6500 

Then uninstall redshift again.

Either one of these options should work.

So in your case if you want to keep redshift anyway you don't have to reinstall and uninstall it. Just use the command

redshift -O 6500

to reset the display color.

  • This is correct. Because yesterday I noticed I WAS able to find the redshift process while the terminal was open. – ScottF Oct 5 '17 at 14:46
1

use redshift -h to see all the available flag but there is no such flag to stop or kill it. The way I have killed the process is below

pidof redshift
kill -9 id_from_previous_command

id_from_previous_command will be the id of the process
-9 is for killing the process immediately

  • This actually works. – andDevW Jul 8 at 17:14
  • Glad it helped, I have uninstalled RedShift completely and now using Ubuntu's native functionality for a night light – Sam Kaz Jul 9 at 0:30
0

Just Type

redshift -x 

it get your Screen Color to Normal

I am Also Searching for this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.