듀얼 모니터 설정을위한 xgamma -display 매개 변수


10

첫 모니터의 감마를 변경하고 싶습니다. 다른 -display매개 변수로 xgamma를 호출 할 때마다 어떻게 든 두 번째 모니터를 가리 킵니다 . 그러나 첫 번째 것을 수정하고 싶습니다 .

나는이 명령을 시도했다.

내가 사용 한 매개 변수가 -display있습니다 :0, :0.0, :0.1, :1.0, :1.1, :1. 처음 2 개만 작동합니다. 그러나 그것은 나의 두 번째 모니터를 가리 킵니다. 첫 번째가 아닙니다. 테스트 할 쉘 스크립트는 다음과 같습니다.

shiplu@KubuntuD:~$ xgamma -display :0
-> Red  1.000, Green  1.000, Blue  1.000
shiplu@KubuntuD:~$ xgamma -display :0.0
-> Red  1.000, Green  1.000, Blue  1.000
shiplu@KubuntuD:~$ xgamma -display :0.1
xgamma:  unable to open display ':0.1'
shiplu@KubuntuD:~$ xgamma -display :1.0
xgamma:  unable to open display ':1.0'
shiplu@KubuntuD:~$ xgamma -display :1.1
xgamma:  unable to open display ':1.1'
shiplu@KubuntuD:~$ xgamma -display :1
xgamma:  unable to open display ':1'

첫 번째 / 기본 모니터의 감마를 어떻게 변경합니까?

답변:


10

나는과 같은 문제가 xgamma사용할 수있는, xrandr그렇게

내 첫 모니터 :

xrandr --output VGA1 --mode 1360x768 --pos 0x0 --rotate normal --gamma 1.000:1.000:1.000

내 두 번째 모니터 :

xrandr --output LVDS1 --mode 1024x600 --pos 0x768 --rotate normal --gamma 1.100:1.000:1.000

--gamma 매개 변수는 xgamma와 같은 방식으로 작동합니다

--gamma R:G:B 
xrandr --output (some monitor) --gamma 1:1:1

대단히 감사합니다. 현재 xrandr를 사용하여 이중 몬티 어 설정을 설정하고 있습니다.
Shiplu Mokaddim 2014

6

이름별로 연결된 디스플레이 목록을 보려면 ...

$ xrandr --current |grep connected |grep -v disconnected
HDMI1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 290mm
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 880mm x 490mm

연결된 디스플레이 중 하나를 다음과 같이 지정하여 감마를 설정하십시오.

xrandr --current --output HDMI1 --gamma 0.5:0.5:0.5

참고 : 사용 --current이 필요하지 않습니다. 속도 만 향상됩니다.


--currentxrandr10 배 빠르게
WinEunuuchs2Unix
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.