Skip to content

Instantly share code, notes, and snippets.

@bcomnes
Created December 9, 2012 07:35
Show Gist options
  • Star 45 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save bcomnes/4243805 to your computer and use it in GitHub Desktop.
Save bcomnes/4243805 to your computer and use it in GitHub Desktop.
My configuration file for Redshift. Place it in ~/.config/ Drag redshift onto the Startup Applications menu to have it boot on start
; Global settings
[redshift]
temp-day=6500K
temp-night=5000
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
location-provider=geoclue
;location-provider=manual
adjustment-method=vidmode
;brightness=1.0:0.5
; The location provider and adjustment method settings
; are in their own sections.
; This is an example lat long for Portland, OR
[manual]
lat=45.53068
lon=-122.68317
; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
;[vidmode]
;screen=1
@bcomnes
Copy link
Author

bcomnes commented Oct 1, 2019

Thanks for all the info everyone. This config is ancient but glad people have found the hints helpful

@Mario-paul
Copy link

Thanks to this file I remembered github gists were a thing. Made one of my own with the updated redshift config file settings and now I can retrieve them for new installations/distro hopping. Thanks @bcomnes! also, like @zilvins said, 2700k is perfect at night. not too blue, not too yellow.

@bcomnes
Copy link
Author

bcomnes commented Jun 21, 2021

@Mario-paul Feel free to share a link!

@Mario-paul
Copy link

@Mario-paul Feel free to share a link!

Sure! It works automatically using geoclue2, randr adjustment, and 5800k day 2700k night with smooth transition. Screen brightness and gamma adjustments are disabled but can be added by uncommenting the relevant settings. brightness has separate day and night options too as of a recent-ish redshift update.

enjoy!
https://gist.github.com/Mario-paul/b98d6215282478adf6059cde3956b5ca

@Francisco-Castillo
Copy link

Thanks! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment