2014-05-22 5 views
1

저는 Dell Dimension M6500에서 우분투 14.04 LTS를 믿을 만하며 2 대의 모니터가 자동으로 위치를 잡으려고합니다.위치 2는 xrandr로 로그인 할 때 모니터합니다

그래픽 카드 : 쿼드로 FX 2800M NVIDIA 드라이버 버전 : 나는

xrandr를 DP-0 --left-의 --output 라인을 넣어

331.38 LVDS-0

로 작동 다양한 파일에서 명령 행 : .profile에,있는 .xsession,의 .xinitrc, /etc/X11/Xsession.d/45custom_xrandr-settings

는 전에 잠이 넣어 배치를 통해 그것을 실행하려고

라인

xrandr를 -q

>>는 LVDS-0 & xrandr를 -q가 >>을 에

일 xrandr.log DP-0---left의 --output 을 xrandr를 xrandr.log. 프로필 파일을보고 다시 자리 잡기가 발생했음을 보여 주지만 아무 것도 볼 수 없기 전에 되돌아갔습니다!

아이디어가 있으십니까?

답변

0

나는 이것이 약간 오래된 것을 알고 있지만 해결책을 찾고있는 중에이 게시물을 발견 했으므로 도움이 될 것이라고 생각했습니다. (로그 아웃을

display-setup-script=/usr/bin/setup_monitors 

다시 시작 데스크탑 환경 :

/usr/bin/setup_monitors라는 스크립트를 확인하고 할 sudo chmod +x /usr/bin/setup_monitors

다음을 추가하여 /etc/lightdm/lightdm.conf에 그런 setup_monitors

#!/bin/sh 
# you might want to uncomment the following line or 
# something like it as well 
# xrandr --output DP-0 --mode 1920x1080 --noprimary --pos 1920x0 
xrandr --output DP-0 --left-of LVDS-0 

이 추가/컴퓨터를 다시 시작하십시오) 작동해야합니다.