Redshift Tray: A No-Frills GUI For The Excellent Redshift

Overview

Redshift Tray is a no-frills GUI for the excellent screen temperature adjustment tool Redshift by Jon Lund Steffensen. Redshift Tray allows you to:

  • Quickly enable/disable Redshift: double-click the tray icon
  • Force a full nighttime temperature adjustment, no matter what the actual time is
  • Pause the temperature adjustment for x minutes via Right Control + End
  • Adjust the screen brightness via Right Control + PgUp|Home|PgDn
  • Optionally update your current coordinates every time you enable Redshift (e.g. when traveling)

It also includes a set of optional hotkeys. Admittedly, these are entirely based on my personal preferences, but since this program is put together in AutoHotkey, it’s easy to add your own hotkeys and remove the ones you think are rubbish.

Getting started

  1. Download Redshift Tray from the releases page (redshift-tray.zip) and extract it to a folder you really like.
  2. Run rstray.exe and you’ll see a handsome icon pop up in the notification area next to your clock. Now right-click it and choose Settings. The text file rstray.ini that shows up in your editor contains all the settings for Redshift Tray.
    • For accurate coordinates, you can set them yourself, otherwise it uses your IP and the ipapi service (one time only). Use a search engine, Maps, Wikipedia, or whatever and jot down your coordinates behind longitude= and latitude=.
    • During the day, the color temperature should match the light from outside, typically around 5500K-6500K. The light has a higher temperature on an overcast day. Redshift assumes that your screen will produce light at a color of 6500K when no color correction is applied by the program. Thus, 6500K is the neutral temperature. The daytemp setting helps you set this value (e.g. daytemp=6500).
    • At night, the color temperature should be set to match the lamps in your room. This is typically a low temperature at around 3000K-4000K. The nighttemp setting helps you out here (e.g. nighttemp=4000).
    • You can temporarily disable Redshift’s color adjustment for a few (or a whole lotta) minutes. Set the amount of those hella blue minutes with the pauseminutes setting.
    • Traveling with your laptop? You can set traveling=1 after which the coordinates will be updated every time Redshift is enabled. It'll keep its mouth shut if there's no Internet connection, though.
    • If you get annoyed by the fact that your mouse cursor does not assume the same color temperature, set colorizecursor=1 and Redshift Tray will write MouseTrails=-1 to HKCU\Control Panel\Mouse in your registry to fix this. You'll need to save and exit the config file, then restart Windows or log off to get this working.
    • The setting optionalhotkeys=1 will enable the extra set of hotkeys (right-click the tray icon and choose Hotkeys to see a list), while (big surprise) optionalhotkeys=0 disables them. The Hotkeys List dialog’s yes/no buttons control this setting.
    • If you want to use the (default and/or optional) hotkeys when a program that runs as admin (has elevated privileges) is the active window, set runasadmin=1 so that Redshift Tray will try to run as admin, too. If this scenario doesn’t really occur on your system, leave the damn thing alone.
  3. Now save the settings file and close it. Redshift Tray will restart with the settings you’ve defined.
  4. If you’d like Redshift Tray to automatically run at startup, right-click the tray icon again and click Autorun, so that this option is checked. This setting just creates or removes a value in the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run.

You. Are. Done!

Credits

User login