Choose style:

Author Topic: To those who use their computer at night...  (Read 2910 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyle

  • Member
  • ***
  • Posts: 140
  • Karma: 13
  • Microshaft cannot compete...
    • View Profile
  • Peppermint version(s): 7 (x64)
To those who use their computer at night...
« on: July 08, 2016, 07:02:53 am »
There is an application called Redshift that is a open-source software that is similar to the proprietary software f.lux. Both of them are helpful if you use your computer in a dark enviornment (I.E at night or a dark room setting). Redshift automatically changes your screens color temperature according to your surroundings. This is helpful because it blocks out the "bad light" that keeps you awake at night when you use your computer before night. It is also useful during the day, because it still blocks out "bad light" that can irritate your eyes when using your computer for long periods of time or if you suffer migranes/headaches. It is easy to set up and is lightweight and is based on GTK. For me, it uses about 50MB of RAM. To install gtk-redshift follow the directions below...

First make sure your system is up to date:

Code: [Select]
sudo apt-get update
sudo apt-get upgrade

Then install gtk-redshift:

Code: [Select]
sudo apt-get install gtk-redshift

Once it is done installing. You are free to launch the program and it will automatically adjust your brightness according to the time of where you live. You can set it to autostart so it will constantly have control of your screens color temperature (I recommend this for those who user their computers for long periods of time in an indoor setting). That's it! If you have any questions/concerns feel free to ask!

P.S: I have no affiliation to the mentioned software creators, I am simply sharing a great program and providing a newbie friendly guide on how to use it!
[] Dell Latitude E6400 []
[] CPU: Intel Core 2 Duo P8600 [] RAM: 4GB DDR2 [] HDD: 1TB 5400RPM WD Black []

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: To those who use their computer at night...
« Reply #1 on: July 08, 2016, 07:21:39 am »
Cheers Kyle, very useful tutorial :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bloch

  • Member
  • ***
  • Posts: 112
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: To those who use their computer at night...
« Reply #2 on: July 09, 2016, 12:25:01 pm »
Thanks, Kyle.

Offline Kyle

  • Member
  • ***
  • Posts: 140
  • Karma: 13
  • Microshaft cannot compete...
    • View Profile
  • Peppermint version(s): 7 (x64)
Re: To those who use their computer at night...
« Reply #3 on: July 11, 2016, 04:08:19 pm »
Thanks, Kyle.

Cheers Kyle, very useful tutorial :)

Glad I could help!  :)
[] Dell Latitude E6400 []
[] CPU: Intel Core 2 Duo P8600 [] RAM: 4GB DDR2 [] HDD: 1TB 5400RPM WD Black []

Online murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1997
  • Karma: 344
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: To those who use their computer at night...
« Reply #4 on: July 28, 2016, 08:19:55 am »
This is good, it'll probably save my eyesight in the long run since I do most of my work at night.

I need some help getting it to autostart properly. It's trying to connect to the location server before my wifi connection is up and then it just gets stuck on "Period: unknown". That means it can't figure out what time of day it is so it won't do anything.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: To those who use their computer at night...
« Reply #5 on: July 28, 2016, 08:36:31 am »
Stick a delay in it's autostart command

So if it normally autostarts with the command
Code: [Select]
redshift
instead make it read
Code: [Select]
bash -c "sleep 10 ; redshift"
(which adds a 10 second delay to its startup .. adjust to requirements)

If you don't know where it's autostart file is, let us know.
« Last Edit: July 28, 2016, 08:44:00 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1997
  • Karma: 344
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: To those who use their computer at night...
« Reply #6 on: July 28, 2016, 08:46:37 am »
Thanks, just done it:

Code: [Select]
Exec=sh -c 'sleep 60 ; /usr/bin/redshift-gtk'

to be on the safe side, 10 wasn't enough.

Offline Elemec

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 5
    • View Profile
  • Peppermint version(s): Peppermint OS 7
Re: To those who use their computer at night...
« Reply #7 on: October 06, 2016, 11:27:00 am »
Seems pretty helpful! I use my computer for really long periods if i'm able to, so this will come in handy.

Offline farms

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 64 Bit
Re: To those who use their computer at night...
« Reply #8 on: December 15, 2016, 02:37:49 am »
Thanks since coming over from Windows  this was one of the few things  I was missing.