Page 1 of 1
21.3 xfce is there a way to cut blue at night from display
Posted: Mon Jun 26, 2023 11:56 pm
by krism3
I tried installing redshift from the repos but that doesn't seem to go anywhere (I did check autostart)
Thanks!
Nite!
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 12:20 am
by m_pav
Redshift is under Utility in MX Package Installer. Always look in MXPI under the Popular Applications tab first for software you wish to install because increasingly, many app developers are being nongs about including SysVinit support in their packaged applications. Some of these packages will be in the Popular Application tab where we've added a little magic to ensure they work with our default SysVinit.
The work of Redshift is often misunderstood because it doesn't make the blue go away during daytime hours.
Description from Synaptic.
The color temperature is set according to the position of the sun. A
different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly
from night to daytime temperature to allow your eyes to slowly
adapt.
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 1:10 am
by krism3
m_pav wrote: Tue Jun 27, 2023 12:20 am
Redshift is under Utility in MX Package Installer.
Always look in MXPI under the Popular Applications tab
first for software you wish to install because increasingly, many app developers are being nongs about including SysVinit support in their packaged applications. Some of these packages will be in the Popular Application tab where we've added a little magic to ensure they work with our default SysVinit.
The work of Redshift is often misunderstood because it doesn't make the blue go away during daytime hours.
Description from Synaptic.
The color temperature is set according to the position of the sun. A
different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly
from night to daytime temperature to allow your eyes to slowly
adapt.
I had installed it from Enabled repos, so I uninstalled it from there and removed it from startup and added it from Popular apps, ran it and then added it to startups and rebooted but I still don't see any effect (I have used redshift in other linux distros so I know what it looks like) and I see no place to set location or time.
I have test tomorrow so will not return to this until tomorrow eve.
THANKS!!!!!
Nite. Is there a gnome night display app that we can install and how? Or any alternative.
Thanks!
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 1:34 am
by FullScale4Me
krism3 wrote: Tue Jun 27, 2023 1:10 am
I had installed it from Enabled repos, so I uninstalled it from there and removed it from startup and added it from Popular apps, ran it and then added it to startups and rebooted but I still don't see any effect (I have used redshift in other linux distros so I know what it looks like) and I see no place to set location or time.
I have test tomorrow so will not return to this until tomorrow eve.
THANKS!!!!!
Nite. Is there a gnome night display app that we can install and how? Or any alternative.
Thanks!
If one does apt info redshift
Code: Select all
Package: redshift
Homepage: http://jonls.dk/redshift/
Description: Adjusts the color temperature of your screen. The color
temperature is set according to the position of the sun. A different
color temperature is set during night and daytime. During twilight and
early morning, the color temperature transitions smoothly from night
to daytime temperature to allow your eyes to slowly adapt.
The above is trimed slightly from the full apt info output.
From that:
http://jonls.dk/redshift/#status-icon
Start the program redshift-gtk instead of redshift, with the same arguments as you would pass to redshift. This will create an icon for Redshift in the system tray. The icon will allow you to toggle Redshift on and off.
Re: 21.3 xfce is there a way to cut blue at night from display [Solved]
Posted: Tue Jun 27, 2023 3:32 am
by krism3
yes.
approx for Boston, MA
and that command has to be put in Session and Startup / Application Autostart tab - add that and then reboot.
THANKS!
Screenshot_2023-06-27_03-19-46.jpg
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 3:37 am
by hebelwirkung
For whatever reason, while sometimes redshift automatically fetches your location data, sometimes it doesn't. If it doesn't, you can set them manually:
In Session and Startup, add redshift as a startup app if it isn't already listed. The command is redshift-gtk.
Get your location data, i.e. longitude value and latitude value. You can obtain the data here:
https://www.gps-coordinates.net/
Just enter your location; you'll have latitude and longitude displayed. Copy both values.
Amend your startup command entry for redshift, like so:
redshift-gtk -l latitude:longitude -t 6500:3500
(obviously, for "latitude" and "longitude", enter - without quotation marks! - the values you obtained in the step above.)
You may have to restart your system to get this to take effect.
EDIT: Just saw
@krism3 posted something similar - view my post as an elaboration featuring a certain obsession with details

Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 7:52 am
by argonaut459
If I do like Hebelwirkung said, I don't need geoclue anymore, right?
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 8:58 am
by hebelwirkung
argonaut459 wrote: Tue Jun 27, 2023 7:52 am
If I do like Hebelwirkung said, I don't need geoclue anymore, right?
I don't - no pun intended - have a clue, tbh. Not sure whether there's anything in geoclue that is needed by redshift, other than providing location data. Shows you how little I understand under-the-hood stuff ... Why not try it out? Delete geoclue, reboot, see what happens, and if what happens is Not Good, reinstall it?
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 11:56 am
by krism3
apparently my redshift never had a clue - when I first ran it it said "unknown" for location.
don't forget to put a minus sign for western longitude. (see my example above for Boston, MA, USA) Else you get wrong results.
Very much liking MX Xfce 21.3 . it's not Ubuntu based like much of the other stuff I have run, so I have had to ask a lot of questions, but nice and easy.
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 12:01 pm
by MXRobo
For the uber paranoid, geoclue or not, either way, one degree longitude equals approximately: 60 miles or 96km and 4 minutes, so you can easily keep your approximate latitude (north to south position with east-west lines) and enter a different longitude.
1° longitude =~ 4minutes, 60 mile (rough rule of thumb), 90 km
15° longitude =~ 1 hour, 900 mile, 1350 km, but this would only delay/advance the redshift by 1 hour.
So, 5° or 10°, would only delay/advance the redshift by 20 or 40 minutes, yet change you location by 300 miles (450 km) or 600 miles (900 km).
These setting can place you in another country. Distances are very approx as it obviously depends on your latitude.
To test during the day, temporarily change you longitude by 180 degrees to put you on the dark side of the….
And I suspect that pun was intended – good one.
Redshift alternatives:
viewtopic.php?p=725749#p725749
And links in links.
Personal favorite (after trying most of them) is sct, simple and is compatible with xrandr - if using something for the display (maybe wayland or not wayland, I don't have a clue), but MX uses what is compatible – and works on HDMI too, create simple immediate keyboard shortcuts – very lightweight.
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 12:09 pm
by krism3
Does it do it by exact longitude? or time zone?
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Tue Jun 27, 2023 10:34 pm
by MXRobo
sct? neither.
The links for sct are in my post, but search, you'll find many instructions and it's so simple and
very light weight.
https://manpages.ubuntu.com/manpages/ja ... sct.1.html
sct - set screen color temperature
It's ran from the terminal and provides instant results
simple immediate keyboard shortcuts
Keyboard>Application Shortcuts – say assign
sct 3000 to "Super+Alt+3" or whatever.
sct resets it, as does
sct 6500
Use any setting, i'd install in and try typing
sct 2000 in the terminal and see if you like it,
again reset as above.
Available from either Synaptic PM or MXPI>Enabled Repos.
Don't type
sct 1
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 3:34 am
by darknetmatrix
xsct is a simple terminal prog to set your screen-temp
simply after install in a terminal xsct *
*= the screen color temperature
more info:
https://darknetmatrix.blogspot.com/2021 ... creen.html
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 5:24 am
by crownhouse
When I use redshift I usually write a small config file (there is an example in the redshift man page), where I set the coordinates of my location. Doesn't need geoclue and works well.
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 1:11 pm
by krism3
sorry: pointer to "redshift man" page? TNX
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 3:06 pm
by Antediluvian
krism3 wrote: Wed Jun 28, 2023 1:11 pm
sorry: pointer to "redshift man" page? TNX
Open a terminal. Type in
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 3:12 pm
by krism3
THANKS!!! or in my case
::

Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Wed Jun 28, 2023 3:55 pm
by crownhouse
krism3 wrote: Wed Jun 28, 2023 3:12 pm
THANKS!!! or in my case
::
Its actually the same man page ;-)
man is short for manual and with most commands in the terminal you can type "man
command" (without the quotes) and get information about the command and all its flags and arguments, i.e., what one can do with it.
In redshifts man page (man redshift) you find a section CONFIGURATION FILE and later a section EXAMPLE, where is an example for Kopenhagen. If you change lat and lon for the latitude and longitude of your home it should work.
I don't know if you need advice in how to create the config-file, if so, feel free :-)
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Thu Jun 29, 2023 8:50 pm
by krism3
I believe that is all I need for now. Works fine! THANKS!!!
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Sun Sep 17, 2023 12:20 am
by count-72-on-fingers
hebelwirkung wrote: Tue Jun 27, 2023 3:37 am
For whatever reason, while sometimes redshift automatically fetches your location data, sometimes it doesn't. If it doesn't, you can set them manually:
In Session and Startup, add redshift as a startup app if it isn't already listed. The command is redshift-gtk.
Get your location data, i.e. longitude value and latitude value. You can obtain the data here:
https://www.gps-coordinates.net/
Just enter your location; you'll have latitude and longitude displayed. Copy both values.
Amend your startup command entry for redshift, like so:
redshift-gtk -l latitude:longitude -t 6500:3500
(obviously, for "latitude" and "longitude", enter - without quotation marks! - the values you obtained in the step above.)
You may have to restart your system to get this to take effect.
Hello
I have just migrated a few of my machines over to MX 23 (from another distribution), and wanted to install Redshift.
I use the same procedure as outlined above, with one slight difference, I enter the following:
"/usr/bin/redshift -l 48.85:2.36 -t 5500:3700"
The location given here as an example is Paris, France. You can obtain your location latitude and longitude values from OpenStreetMap (
https://www.openstreetmap.org).
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Sun Sep 17, 2023 12:53 am
by davidy
Had the same problem last December. Installed f.lux from github, and then redshift via synaptic. I get 2 options for the same purpose in the same gui but I chose f.lux simply because it made it happen.
F.lux:
Code: Select all
cd /tmp
git clone "https://github.com/xflux-gui/fluxgui.git"
cd fluxgui
./download-xflux.py
Code: Select all
sudo ./setup.py install --record installed.txt
Now install redshift via synaptic then just run it with:
Set lat/lon etc. in preferences. Been working perfect ever since.
Finally figured out how to enter code
I notice there is no settings from the redshift-gtk tray icon. Anyways, I removed the redshift-gtk completely in synaptic and removed the redshift startup item in Session and left the flux startup item in session alone making sure it pointed to "fluxgui". Fluxgui gives you the abiity to easily set the thing and after setting your lat/lon just pick a nighttime color you prefer and you're done.
Re: 21.3 xfce is there a way to cut blue at night from display
Posted: Sun Sep 17, 2023 2:06 pm
by FinalFox420
I also recommend xsct.
Unbeatable simplicity.
'apt info xsct'
The xsct tool sets the color temperature of the screen via xrandr like
redshift. Unlike redshift, it is only 80 lines of C and will not change
the screen temperature automatically.