Back in the days when I ran XP full-time, I used to use f.Lux for night-time use. For those of you who don't know what this very useful app does, it basically turns your monitor to a warmer, reddish hue during the hours of darkness.
Why? I hear you say. As it happens, research has shown that the blue-white light emitted by computer monitors tends to adversely affect your sleep patterns. Reddish light, on the other hand, does not.....and your sleep should be as restful as usual.
Well, it works for me.....
When I moved to Puppy, I found that f.Lux, although available for Pup, was command-line only.....and a total PITA to set-up, at that. Searching around revealed the equivalent app called RedShiftGUI (which to my mind, in fact works better).
I originally used only 32-bit Pups, despite the fact that my old Compaq desktop has always been 64-bit capable. I discovered the .pet for RedShift, in stu90's thread, from here:-
http://www.murga-linux.com/puppy/viewtopic.php?t=59285
However, the link for this one is now dead. Pelo, however, alerted me to the fact that it was still available from the German repositories, further down in the same thread, and I have been using it regularly ever since, in all my 32-bitzers.
Recently, I've started using the two 64-bit 'flagship' Pups; Tahr64, and Slacko64. Even with 32-bit compatability libs, the 32-bit version won't work. RedShift was available through the PPM.....but it still wouldn't work. So I searched around for a 64-bit version, and found it at GitHub, here:-
https://github.com/maoserr/redshiftgui/downloads
The 64-bit .deb package installs into Tahr64 without a murmur. However, upon starting it for the first time in the terminal (I've got into the habit of always doing this with new apps, to see what problems might crop up), it returns the following error:-
Code: Select all
root# /usr/bin/redshiftgui
Error: PM:[opt_parse_map] Map empty.
https://github.com/maoserr/redshiftgui/issues/13
The given 'fix' is to locate the hidden config file .redshiftgrc in the user's home folder. Well, that's Ubuntu; in Puppy, the config file is located in /root. (To show it, use the 'eye' icon in the ROX menu bar). If you open the config file with Geany, you'll find the following:-
Code: Select all
min
temps=6500:3600
latlon=52.779999:0.430000
speed=1
method=Auto
map=177.00|100.00;3.00|100.00;-6.00|0.00;-174.00|0.00;
What you need to do is to replace each of the 'pipe' symbols ('|') in line 6 with a comma (','), so that it reads like this:-
Code: Select all
min
temps=6500:3600
latlon=52.779999:0.430000
speed=1
method=Auto
map=177.00,100.00;3.00,100.00;-6.00,0.00;-174.00,0.00;
http://www.murga-linux.com/puppy/viewto ... 421#868421
To set it up, simply follow the instructions I outlined for step in the same post.
Sweet dreams, everybody!
Mike.