문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
linux:xrandr [2013/08/25 17:48] kwon37xi [듀얼 모니터] |
linux:xrandr [2023/11/22 09:45] (현재) kwon37xi [XRandr] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== XRandr ====== | ====== XRandr ====== | ||
- | * Linux 화면 해상도 정보 보기/ | + | * Linux 화면 |
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * xrandr 명령을 로그인시 마다 실행하고자 한다면 '' | ||
+ | * [[linux: | ||
===== 해상도 변경 ===== | ===== 해상도 변경 ===== | ||
줄 9: | 줄 12: | ||
# 모니터가 두 대 이상일 때 그냥 해상도만 지정하면 Mirror방식(동일 화면)으로 됨 | # 모니터가 두 대 이상일 때 그냥 해상도만 지정하면 Mirror방식(동일 화면)으로 됨 | ||
xrandr --output VGA1 --mode 1024x768 --rate 60 | xrandr --output VGA1 --mode 1024x768 --rate 60 | ||
+ | </ | ||
+ | |||
+ | ===== 모니터 주사율(refresh rate hz) 설정 ===== | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | xrandr --output DP-1-1 --mode 3840x2160 --rate 60.00 | ||
</ | </ | ||
줄 24: | 줄 34: | ||
# Laptop 화면을 Primary로 | # Laptop 화면을 Primary로 | ||
xrandr --output LVDS1 --primary | xrandr --output LVDS1 --primary | ||
+ | </ | ||
+ | |||
+ | ===== Scale / HiDPI ===== | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | <code sh> | ||
+ | xrandr \ | ||
+ | --output DP-4 --primary --pos 0x0 --scale 2x2 \ | ||
+ | --output DP-2 --pos 3840x0 --scale 2x2 \ | ||
+ | --output eDP-1-1 --off | ||
+ | </ | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | xrandr --dpi 120 | ||
+ | </ | ||
+ | * The recommended values are 96 (default value), 120 (25% higher), 144 (50% higher), 168 (75% higher) and 192 (100% higher). | ||
+ | |||
+ | ===== 밝기 조절 - brightness ===== | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | xrandr -q | grep " connected" | ||
+ | # 목록에서 모니터 이름 확인 | ||
+ | |||
+ | xrandr --output LVDS1 --brightness 0.5 # 1.0 이 max | ||
</ | </ | ||
===== arandr ===== | ===== arandr ===== | ||
+ | * https:// | ||
* **arandr**은 xrandr의 GUI 버전이다. | * **arandr**은 xrandr의 GUI 버전이다. | ||
* 화면을 설정한 뒤에 '' | * 화면을 설정한 뒤에 '' | ||
+ | ===== autorandr ===== | ||
+ | * https:// | ||
+ | * 하드웨어 자동인식으로 '' | ||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |