LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I install 'Redshift' properly so that it's fully integrated?
#1
Being a PC user in the evening, I'm very conscious of not getting too much blue light exposure from my screen at that time of the day, as it can interfere with the one's quality of sleep during the night.  With this in mind, I wished to have the open-source Redshift package integrated into LL, so that there is an automatic spectral shift from red to blue near to and following sunset, as with the f.lux package with Windows OS.

I downloaded & installed  redshift 1.8-0ubuntu6 & gtk-redshift using LL's synaptic package manager, but the icon for redshift that I put in the panel, fails to stay there when I click on it, and redshift generally doesn't appear to work, though it did initially (the day before) when it was installed. I have now removed it, using synaptic, and wondered if someone could advise me on how to install it properly, if you've had success with it.
Many thanks
Regards
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#2
Hi m654321

I have it successfully running including autostarting after login.

According to my notes I installed two packages:
* gtk-redshift
* geoclue-ubuntu-geoip
With these installed Redshift started successfully, but only as long as I had internet access.

To have it running independent of internet access I use a configuration file that defines my geolocation manually by handing over values for lat and lon.
More info see here under "Manual setup":
https://wiki.archlinux.org/index.php/Redshift

To troubleshoot any errors, especially if you even see Redshift starting successfully but closing shortly after that, I'd recommend to start redshift-gtk from the command line. That will usually give you the reason why it stopped working.

Hope that helps Smile

Reply
#3
@LL-user... 
Many thanks for your help -  redshift now  works.

I stuck with the first option you suggested, as  with my PC the internet is always on once LL boots up.

Does  redshift calculate my longitude/latitude location automatically, via my IP address location?

Many thanks again,
Regards
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#4
Hi Mike,

Great to hear you got it working Smile

Redshift obtains the location via the service GeoClue:
https://wiki.freedesktop.org/www/Software/GeoClue/
https://en.wikipedia.org/wiki/GeoClue


Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)