21.3 xfce is there a way to cut blue at night from display  [Solved]

Message
Author
User avatar
krism3
Posts: 169
Joined: Tue May 30, 2023 11:22 am

21.3 xfce is there a way to cut blue at night from display

#1 Post by krism3 »

I tried installing redshift from the repos but that doesn't seem to go anywhere (I did check autostart)

Thanks!
Nite!
- Thinkpad P15s Gen1 20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 500GB M.2.
- MX23(primary OS), Win 10 22H2 w WuMgr. HP laserjets M254dw & P1606dn, Epson 2480 scanner. Backup by Terabyte.

User avatar
m_pav
Developer
Posts: 1731
Joined: Sun Aug 06, 2006 3:02 pm

Re: 21.3 xfce is there a way to cut blue at night from display

#2 Post 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.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
krism3
Posts: 169
Joined: Tue May 30, 2023 11:22 am

Re: 21.3 xfce is there a way to cut blue at night from display

#3 Post 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!
- Thinkpad P15s Gen1 20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 500GB M.2.
- MX23(primary OS), Win 10 22H2 w WuMgr. HP laserjets M254dw & P1606dn, Epson 2480 scanner. Backup by Terabyte.

User avatar
FullScale4Me
Posts: 1005
Joined: Fri Jan 08, 2021 11:30 pm

Re: 21.3 xfce is there a way to cut blue at night from display

#4 Post 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.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
krism3
Posts: 169
Joined: Tue May 30, 2023 11:22 am

Re: 21.3 xfce is there a way to cut blue at night from display  [Solved]

#5 Post by krism3 »

yes.
approx for Boston, MA

Code: Select all

redshift-gtk -l 42.36:-71.06
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
You do not have the required permissions to view the files attached to this post.
- Thinkpad P15s Gen1 20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 500GB M.2.
- MX23(primary OS), Win 10 22H2 w WuMgr. HP laserjets M254dw & P1606dn, Epson 2480 scanner. Backup by Terabyte.

User avatar
hebelwirkung
Posts: 217
Joined: Wed Jun 10, 2020 2:54 pm

Re: 21.3 xfce is there a way to cut blue at night from display

#6 Post 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 :happy:

User avatar
argonaut459
Posts: 505
Joined: Tue Oct 04, 2022 11:49 am

Re: 21.3 xfce is there a way to cut blue at night from display

#7 Post by argonaut459 »

If I do like Hebelwirkung said, I don't need geoclue anymore, right?
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

User avatar
hebelwirkung
Posts: 217
Joined: Wed Jun 10, 2020 2:54 pm

Re: 21.3 xfce is there a way to cut blue at night from display

#8 Post 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?

User avatar
krism3
Posts: 169
Joined: Tue May 30, 2023 11:22 am

Re: 21.3 xfce is there a way to cut blue at night from display

#9 Post 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.
- Thinkpad P15s Gen1 20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 500GB M.2.
- MX23(primary OS), Win 10 22H2 w WuMgr. HP laserjets M254dw & P1606dn, Epson 2480 scanner. Backup by Terabyte.

MXRobo
Posts: 1818
Joined: Thu Nov 14, 2019 12:09 pm

Re: 21.3 xfce is there a way to cut blue at night from display

#10 Post 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.

Post Reply

Return to “XFCE Desktop Environment”