티스토리 뷰

728x90
반응형

리콜박스를 노트북으로 사용하게 되면 외부 모니터를 써야 할 때가 있다. 대게는 자동으로 잡히지만 그렇지 못한 경우도 있다. 그럴 경우 xrandr 를 사용하여 외부 모니터를 잡아주면 된다.

xrandr: X 윈도우 시스템의 RandR (Resize and Rotate) 유틸리티 이다.

콘솔에서 아래 명령어를 사용하면 사용할 수 있는 디스플레이의 목록이 나온다.

xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 69.93
1920x1080 60.00* 59.94 50.00 23.98 60.05 60.00 50.04
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected (normal left inverted right x axis y axis)
1920x1080 59.94 50.00
1280x720 59.94 50.00
1024x768 60.00
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 connected (normal left inverted right x axis y axis)
2560x1440 59.95 +
1920x1080 59.94 50.00
1280x720 59.94 50.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93

여기서 사용할 수 있는 디스플레이는 VGA-1, HDMI-1, HDMI-2, DP-1, DP-2 같은 것들이다. 모니터에 케이블이 연결되어 있는 상태이면 사용할 수 있는 해상도 목록이 나온다.

예를 들어 외부 연결된 모니터 DP-1 에 해상도 1920x1080 을 지정해 보려면 아래 명령을 사용하면 된다.

xrandr --output DP-1 --mode 1920x1080

그리고 추가적으로 노트북의 화면(HDMI-1)을 끄고 외부화면만 켜 보려면

 

xrandr --output HDMI-1 --off --output DP-1 --mode 1920x1080

정상적으로 작동이 되면 recalbox.conf 에서 다음 설정의 주석(;)을 제거하고 값을 넣어준뒤 재부팅 해야 한다.

## Prefered external screen retrieved from ssh : xrandr
system.externalscreen.prefered=DP-1
## Force selected external screen to resolution ex : 1920x1080
system.externalscreen.forceresolution=1920x1080
## Force selected external screen to frequency ex: 60.00
;system.externalscreen.forcefrequency=

외부 모니터에 대한 내용은 아래를 참고한다.

https://wiki.recalbox.com/en/tutorials/video/display-configuration/external-screen-configuration

xrandr에 대한 내용은 아래를 참고한다.

https://wiki.archlinux.org/title/xrandr

https://kwonnam.pe.kr/wiki/linux/xrandr

728x90
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함