
私はKali Linuxを使用しており、青色光をフィルタリングしています。次のコマンドを使用します。
redshift -O 3500
しかし、約1分後、画面は再びデフォルト状態に戻りました(ブルーライトをフィルタリングしなくなりました)。日中はうまくいかないのredshift
でしょうか?
答え1
ユーザープロファイルは次の場所になければなりません。
~/.config/redshift/redshift.conf
存在しない場合は、新しく作成するか、必要に応じて編集してください。
私が書いた追加のメモを含む私のGPSの編集例:
[redshift]
; Global settings file for Redshift application.
; Location provider for solar elevation.
; ------------------------------------------------------------------------------
; Set the location-provider: 'geoclue2' or 'manual'.
; The actual provider settings are in a separate section.
location-provider=manual
; Smooth fade between temperatures when Redshift starts and stops.
; ------------------------------------------------------------------------------
; 0 causes an immediate change between screen temperatures.
; 1 gradually applies the new screen temperature over a couple of seconds.
fade=0
; Solar elevation thresholds.
; ------------------------------------------------------------------------------
; By default, Redshift will use the current elevation of the sun to determine
; whether it is daytime, night or in transition (dawn / dusk). When the sun is
; above the degrees specified with elevation-high it is considered daytime and
; below elevation-low it is considered night.
;elevation-high=3
;elevation-low=-6
; Day and night screen temperatures.
; ------------------------------------------------------------------------------
; Default temperatures in K (Kelvin):
; Day time : 6500
; Night time : 4500
temp-day=7500
temp-night=5500
; Custom dawn / dusk times.
; ------------------------------------------------------------------------------
; Instead of using the solar elevation, the time intervals of dawn and dusk can
; be specified manually. The times must be specified as HH:MM in 24-hour format.
;dawn-time=05:00
;dusk-time=16:00
; The adjustment method: 'randr', 'vidmode'.
; ------------------------------------------------------------------------------
; This has changed since the 1.12 version in favor of randr,
; formerly vidmode has mostly been used from what I read.
adjustment-method=randr
; Manual GPS of the location for solar elevation.
; ------------------------------------------------------------------------------
; Standard longitude and latitude coordinates.
[manual]
lat=xx.8111306
lon=yy.1414300
; Adjustment method settings.
; ------------------------------------------------------------------------------
; Note that the numbering starts from 0, so 1 is actually the second screen.
; This actually works for all monitors, needs clarification!
[randr]
screen=0
-v
その後、問題をデバッグするには、シェルで詳細モード()で実行することをお勧めします。
答え2
次のコマンドを使用して必要なパッケージをインストールします。
sudo apt インストール redshift geoclue-2.0
その場所の緯度/経度を見つけるには、次のURLを使用してください。
Redshift 使用法: redshift-gtk -l 緯度: 経度 -t 低温: 夜の温度
端末を開き、次のコマンドを入力して緯度(要件に応じて経度と温度)を変更します。前任者:
sudo redshift-gtk -l 266.727101:108.395286 -t 4000:3400
端末を閉じる