Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 5684  / 2 Years ago, sun, february 13, 2022, 10:29:11

It seems redshift doesn't run without an active internet connection. If so, is there some way it could be run when there's no connection to the Internet?


More From » indicator

 Answers
7

Update: Please note that a fix is now on its way. You can either wait until it arrives in the official repositories or apply it yourself by following the advice in post #53 and on in the bug report.






As Anwar pointed out, Redshift fetches its geolocation data online by default. There is a workaround, though:



Manual configuration of geolocation data






a.) Using a config file



From the project's homepage:




Redshift will look for a configuration file in “~/.config/redshift.conf”. Here is an example:



; Global settings
[redshift]
temp-day=5700
temp-night=3500
transition=1
gamma=0.8:0.7:0.8
location-provider=manual
adjustment-method=vidmode

; The location provider and adjustment method settings
; are in their own sections.
[manual]
lat=55.0
lon=12.0

; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
[vidmode]
screen=1`



Look for the directory provided above. If the configuration file doesn't exist, create one and append any custom options you like.



You will want to include location-provider=manual and modify lat= and long= with your location. This dialog will help you determine your coordinates.






b.) Using command-line arguments



Launch Startup Applications:



enter image description here



Find the Redshift entry in the startup app list and hit Edit. Under command enter the following string:



gtk-redshift -l LAT:LONG


Where LAT and LONG correspond with your coordinates. Hit save, then relog to activate Redshift.


[#35241] Tuesday, February 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionpromoti

Total Points: 14
Total Questions: 112
Total Answers: 113

Location: Tonga
Member since Tue, Nov 30, 2021
2 Years ago
;