I created the modules out of these files:
redshift-1.12-x86_64-2_slonly.txz -> redshift-1.12-x86_64-2_slonly.xzm
redshift-gtk-1.12-2.fc29.x86_64.rpm -> redshift-gtk-1.12-2.fc29.x86_64.xzm
The redshift-gtk module is no binary but only a python3 script one, and I found no recent version for Slackware. [usm is not working for me]
Code: Select all
guest@porteus:~$ redshift -l 52.51:13.38
Using method `randr'.
Waiting for initial location to become available...
Location: 52.51 N, 13.38 E
^C
When I give it none it hangs here:
Code: Select all
guest@porteus:~$ redshift
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Using method `randr'.
Waiting for initial location to become available...
^Cpoll: Interrupted system call
Unable to get location from provider.
And the gtk python is also not working cause I only have python 2.7:
Code: Select all
guest@porteus:~$ redshift-gtk
bash: /usr/bin/redshift-gtk: /usr/bin/python3: bad interpreter: No such file or directory
guest@porteus:~$ file /usr/bin/redshift-gtk
/usr/bin/redshift-gtk: Python script, ASCII text executable
guest@porteus:~$ grep python /usr/bin/redshift-gtk
#!/usr/bin/python3
sys.path.append('/usr/lib/python3.7/site-packages')
guest@porteus:~$ l /usr/bin/python[TAB][TAB]
python python2 python2.7
python-config python2-config python2.7-config
Or anyone got redshift and redshift-gtk working?
Some extra info on bluelight filter and redshift:
https://www.addictivetips.com/ubuntu-li ... -redshift/Redshift adjusts the colour temperature of your screen according to
your surroundings. This may help your eyes if you are working in
front of the screen at night.
For more information, see:
http://jonls.dk/redshift/
If your eyes hurt late at night while using the computer it’s possible, you’ve been exposed to too much blue light. What is blue light? It’s a type of light that primarily comes from electronic devices. This type of light is bad for your sleep pattern because it imitates natural light seen during the day. Too much blue light exposure can cause sleeplessness, eye strain and is generally something that should be avoided. This day and age, more and more people use “blue light filters”. These are overlays that can change the color temperature of the screen from blue, to something more appropriate based on the time of day and location. One of the most popular filter apps on Linux is Redshift. It’s a command-line interface that lets you filter blue light on Linux.
Redshift
Redshift is a color filter overlay for the Linux desktop that removes blue light. The program asks the user where they live. With this information, Redshift figures out how bright it is outside and changes the color of the screen accordingly. This way, your screen color changes gradually throughout the day. Instead of staying the same shade of blue.
Like most blue-light filters, it doesn’t really kick in till the day winds down. This is because blue light is OK to look at during the day. It’s during nighttime that it becomes a problem. When people stare at screens with that kind of light too long, their bodies think they’re staring into natural, blue sunlight and it keeps them awake.