人生襍多

디스플레이 나이트 모드 설정 (모니터 청색광 방지) 리눅스 본문

사무용 리눅스-교육용 리눅스

디스플레이 나이트 모드 설정 (모니터 청색광 방지) 리눅스

이혁진 2019. 5. 9. 20:41

오늘은 모니터 청색광 방지하는 방법을 알아봅니다. 

처음 사용하면 모니터의 붉은 기운(?)이 조금 거슬리기는 하나, 

청색광의 유해성과

눈의 편안함, 야간 PC사용후 수면효과(?) 까지 고려한다면 당연한 설정입니다. 

 

눈도 보호하고 잠도 잘오고....

      

##. 윈도우 사용자 

 

f.lux 설치하여 사용하시면 됩니다. 

https://justgetflux.com/  에서 다운로드 받아서 사용합니다. 

 

윈도우 설명 뛰어 넘는다고........

 

##. 리눅스 사용자 

 

우분투는 18.04버전에는 이미 기능이 있습니다. 

타 버전 사용자는 redshift를 사용하시면 됩니다. 

 

##. linux mint에서 redshift 설정하기 

 

많이 사용하는 기능이 아니기에 (누가 리눅스를 데스크탑용으로 사용하나..쩝...;;;)

문서가 많이 없었으나, 간단한 기능이기에 요약 합니다. 

 

[참고] 

https://github.com/jonls/redshift/blob/master/redshift.conf.sample

https://la-nube.tistory.com/403

 

 

1. redshift 설치 

 

$ sudo apt-get install redshift redshift-gtk

이럼 끝입니다. 

 

아마도 프로그램 목록에 자동으로 들어가 있을 겁니다. 

 

2. redshift 환경설정  

 

$ touch ~/.config/redshift.conf   

으로 파일을 만들고 

 

$ vi  ~/.config/redshift.conf  

으로 파일을 편집합니다. 

 

3. redshift.conf  설정방법 

 

제가 사용중인 redshift.conf 파일로 설명하겠습니다. 

 


 

[redshift]
; Set the day and night screen temperatures
; 설정시 색온도 구분입니다. 

; Daylight = 6500, (기본인데 저한테는 조금 밝고요)
; 나머지 값들은 다름과 같습니다.

; Sunlight = 5500, Fluorescent = 4200, Halogen = 3400

temp-day=3700
temp-night=2800

; Disable the smooth fade between temperatures when Redshift starts and stops.

; 부드럽게 색온도가 바뀌는 옵션입니다. 

; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1

;; enabling smooth transition

; 부드럽게 색온도가 바뀌는 옵션입니다.  위에 꺼랑 같길레 주석처리 하였습니다. 
; transition=1

 

; 이건 그냥 이렇게 사용하는게 좋다고 하네요. 

; 오래된 머신의 경우는 vidmode
adjustment-method=randr

; Now specify the location manually
location-provider=manual

 

[manual]
; use the Internet to get your latitudes and longitudes
; below is the latitude and longitude for Delhi
; 서울 경도 위도라고 합니다.  
lat=37.6
lon=127.0


[ etc ]
; Custom dawn/dusk intervals.
; 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=6:00-7:45
; dusk-time=18:35-20:15

; Set the screen brightness. Default is 1.0.

; 저는 밝은게 싫은 어둠의 자식이라....

brightness=0.9


; It is also possible to use different settings for day and night
; since version 1.8.
brightness-day=0.9
brightness-night=0.6

 

; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.7

 

이상입니다. 

 

4. redshift 를 실행 

 

 

서서히 변해가는 화면을 알수 있습니다.

 

이상입니다. 

 

 

 

 

Comments