A minimal Python GUI to control screen color temperature using Redshift, with a simple slider interface.
- Adjust color temperature with a horizontal slider (3000K–6500K)
- Instant effect on slider release
- Optional autostart on system login
- Built with
tkinter, lightweight and dependency-free
- Python 3
- Redshift
- Linux (X11-based desktop environment, e.g. GNOME Xorg. This won't work on Wayland based GNOME.)
-
Install Redshift (if not already installed):
sudo apt install redshift
-
Clone this repository:
git clone https://github.com/yourusername/redshift-gui-slider.git cd redshift-gui-slider chmod +x redshift-gui.py -
Run the script manually:
./redshift-gui.py
-
(Optional) Enable autostart on login:
mkdir -p ~/.config/autostart cp redshift-gui.desktop ~/.config/autostart/
Ensure the Exec= path in redshift-gui.desktop matches your script location.
When the slider is released:
redshift -x # Reset Redshift
redshift -O <temp> # Apply selected color temperature
- Default: 4500K
- Range: 3000K to 6500K
MIT License -- free to use, modify, and distribute.