Blue light filter Mint 22 (Solved)

gillsman

Active Member
Joined
Jan 29, 2019
Messages
204
Reaction score
93
Credits
1,714
I have installed Linux mint 22 (clean install) previously in mint 21.3 I used sct to filter blue light, additionally I had sct toggle applet in the taskbar to make it a simple matter of clicking the icon for the presets I had entered, in mint 22 it's changed from sct to xsct meaning I have to enter values from terminal, the toggle applet doesn't work with xsct, does anyone know of a way to operate xsct without using terminal please
Thanks
 


I have zeroclue re xsct etc etc....all I know is :

Redshift​

Mozilla retired its location service: https://github.com/mozilla/ichnaea/issues/2065.

This service was used by Geoclue to give Redshift the geographical coordinates of the computer and determine local sunset and sunrise times.

Redshift can still be installed and used in manual mode by entering these coordinates in its configuration files but it's no longer useful out of the box for casual users.

apt install redshift-gtk


The Linux Mint team will consider developing an alternative. In the meantime, Redshift is no longer part of the default software selection.
------------------------------------------

There are always alternatives in Linux...


Code:
sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
sudo apt-get install fluxgui

Try that and let me know......it is installed via terminal, but has its own gui
 
Last edited:
I have installed Linux mint 22 (clean install) previously in mint 21.3 I used sct to filter blue light, additionally I had sct toggle applet in the taskbar to make it a simple matter of clicking the icon for the presets I had entered, in mint 22 it's changed from sct to xsct meaning I have to enter values from terminal, the toggle applet doesn't work with xsct, does anyone know of a way to operate xsct without using terminal please
Thanks
Yeah I will try that when i get time later on thanks. I had also used redshift before the geo locator was retired but when I found the sct toggle for sct it was so easy, it's no great hardship to type the value in terminal but I always prefer life to be as easy as possible.
I'll let you know how it goes.
 
This is what I got in the terminal when trying to install fluxgui with your code Condobloke

sudo apt-get update
sudo apt-get install fluxgui
[sudo] password for rick:
Cannot add PPA: ''This PPA does not support noble''.
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:4 https://mirror.cov.ukservers.com/linuxmint wilma InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 https://mirror.cov.ukservers.com/linuxmint wilma Release
Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease
Fetched 126 kB in 1s (121 kB/s)
Reading package lists... Done
N: Skipping acquisition of configured file 'main/binary-i386/Packages', as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package fluxgui

I think I will stick with the xsct for now, as you say the Mint dev's did say they may work on a replacement for Redshift so maybe I will wait for that.
Thanks for your assistance.
 
I think I will stick with the xsct for now
Yes, that wil be a good idea.
The mint devs sometimes move at snail pace....depending on the list of things waiting for them
Someone may come up with an alternative in the meantime
 
does anyone know of a way to operate xsct without using terminal please
Make a bash script calling xsct with the color parameters you want. Make a new Panel Launcher applet in your panel to call your script. In Mint 22, this applet duplicates the 3 standard launchers (terminal, Nemo, and Firefox) and puts them in the SystemTray on the right side of the panel. You can right-click those extra icons and choose to remove 2 of them, but choose Edit on the last one.... change the Command to your script, and click on the icon to change it to something you like better.

Remember to make your script executable. You may need 2 scripts.... one to change the color, but another one to change it back. Or you could use the toggle script below.

This example script will simply toggle between daytime and nighttime viewing:
Code:
#!/usr/bin/env bash

xsct -t
 
I use Redshift and just operate it manually.

This link tells you how.
 
I believe the geolocation API used by our home-brewed 'RedShift-lite' alternative is http://ipinfo.io...


Mike. ;)
 
Thanks to all contributors,some interesting information but at the end of the day it seems to me entering xsct + number of choice is for now the easiest option.
 
This is actually something I've been messing around with and researching. Ubuntu Studio has "Night Vision", but you can install "gummy" on every debian system:

https://github.com/Gitoffthelawn/gummy

The only thing is you need to replace the URL in the install instructions with the URL i have pasted here. You use it from the command line.

EDIT: also, assuming you are fairly new to using the linux command line, you also have to install the libraries in "apt packages" (just copy and paste all the text in that line)
 
Last edited:
This is actually something I've been messing around with and researching. Ubuntu Studio has "Night Vision",
Ubuntu 24.04 LTS has "Night Vision" which is cool. :cool:

I wish other Linux distro's offered "Night Vision" it's way better.
 


Follow Linux.org

Members online


Top