==============================
EDIT 2018-10-09, updated to v2, needed a fix, see info here:
http://murga-linux.com/puppy/viewtopic. ... 94#1006894
Attachments below replaced with the new version
==============================
EDIT 2018-11-09, updated to v3, bug fix and other changes, see info here:
http://murga-linux.com/puppy/viewtopic. ... 48#1009548
Attachments below replaced with the new version
==============================
Inspired by Mike Walsh's "Brightness & colour temperature control for desktop PCs", here's a more extended version that supports redshift's automatic day and night colour transition (if in "Auto mode")
If Auto mode is not selected, then it works just the same as Mike's version (e.g. ScreenControl_redshift-v1.4)
Similar apps already existing, e.g:
https://sourceforge.net/projects/redshiftgui/
Or (more simple, python based):
https://github.com/mlsteele/redshift-gui
This portable version uses yad (notification icon and sliders to adjust the values) and the redshift command line utility.
Both (yad and redshift) I compiled on Debian Wheezy, tested (and works) on Puppy Lucid, Raring, Slacko, Tahr, Stretch (and should work also on later Puppy versions)
EDIT: Also on Debiandog, Xenialdog, Bionicdog
Also separate "wary" version attached, works on Wary or other older puppies with minimal Xorg version.
From the Help (right-click on the icon):
Portable: includes yad (v 0.38 ) and redshift (v 1.11) (self-extractable script) so NOT needed to have yad and redshift installed.*** Redshift Manual mode and Auto mode ***
- Manual: First time run, the Manual mode is enabled.
Left click the icon and adjust color temp. and brightness.
- Auto: Right-click the icon and select 'Redshift Auto mode'.
The timezone and time must be correctly set to make this work well.
First time run, it will get your geo location (the coordinates: latitude, longitude)
A network connection is required for that.
The file $HOME/.rshift/geo-info contains this info.
Remove it if you travel to another country or city.
(then it will be re-configured again)
Left click on the icon to adjust day and night color temp.
To get back to Manual Mode, click 'Redshift Auto mode' again.
EDIT: With v3 it also includes "box_splash" for the auto-mode info dialog
Required is "curl" for getting geo location (but should be installed by default in most systems)
Extract 32 or 64 bit attached tar.gz and just click on e.g. rshift-portable-32 and the icon should appear in the system-tray.
To have it loaded at boot/logon, place it in ~/Startup
Any suggestions for improvement are welcome !
EDIT: screenshot attached replaced according to new v3
Fred