사용자 도구

사이트 도구


linux:xrandr

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:xrandr [2020/10/18 21:46]
kwon37xi
linux:xrandr [2023/11/22 09:45] (현재)
kwon37xi [XRandr]
줄 2: 줄 2:
   * Linux 화면 / display / monitor 해상도 정보 보기/조정 툴   * Linux 화면 / display / monitor 해상도 정보 보기/조정 툴
   * [[https://wiki.ubuntu.com/X/Config/Resolution|X/Config/Resolution - Ubuntu Wiki]]   * [[https://wiki.ubuntu.com/X/Config/Resolution|X/Config/Resolution - Ubuntu Wiki]]
 +  * [[https://wiki.gentoo.org/wiki/Xrandr|Xrandr - Gentoo Wiki]]
   * xrandr 명령을 로그인시 마다 실행하고자 한다면 ''$HOME/.xsessionrc'' 파일에 넣어둔다.   * xrandr 명령을 로그인시 마다 실행하고자 한다면 ''$HOME/.xsessionrc'' 파일에 넣어둔다.
 +  * [[linux:gnome-randr|gnome-randr]]
  
 ===== 해상도 변경 ===== ===== 해상도 변경 =====
줄 10: 줄 12:
 # 모니터가 두 대 이상일 때 그냥 해상도만 지정하면 Mirror방식(동일 화면)으로 됨 # 모니터가 두 대 이상일 때 그냥 해상도만 지정하면 Mirror방식(동일 화면)으로 됨
 xrandr --output VGA1 --mode 1024x768 --rate 60 xrandr --output VGA1 --mode 1024x768 --rate 60
 +</code>
 +
 +===== 모니터 주사율(refresh rate hz) 설정 =====
 +  * [[https://askubuntu.com/questions/433855/how-to-make-custom-refresh-rate-stay-saved|nvidia - How to make custom refresh rate stay saved? - Ask Ubuntu]]
 +
 +<code sh>
 +xrandr --output DP-1-1 --mode 3840x2160 --rate 60.00
 </code> </code>
  
줄 29: 줄 38:
 ===== Scale / HiDPI ===== ===== Scale / HiDPI =====
   * [[https://askubuntu.com/questions/1193940/setting-monitor-scaling-to-200-with-xrandr|xorg - Setting monitor scaling to 200% with xrandr - Ask Ubuntu]]   * [[https://askubuntu.com/questions/1193940/setting-monitor-scaling-to-200-with-xrandr|xorg - Setting monitor scaling to 200% with xrandr - Ask Ubuntu]]
-  * ''--scale 2x2''+  * ''%%--%%scale 2x2''
 <code sh> <code sh>
 xrandr \ xrandr \
줄 43: 줄 52:
 </code> </code>
   * The recommended values are 96 (default value), 120 (25% higher), 144 (50% higher), 168 (75% higher) and 192 (100% higher).   * The recommended values are 96 (default value), 120 (25% higher), 144 (50% higher), 168 (75% higher) and 192 (100% higher).
 +
 +===== 밝기 조절 - brightness =====
 +  * [[https://askubuntu.com/questions/149054/how-to-change-lcd-brightness-from-command-line-or-via-script|How to change LCD brightness from command line (or via script)? - Ask Ubuntu]]
 +
 +<code sh>
 +xrandr -q | grep " connected"
 +# 목록에서 모니터 이름 확인
 +
 +xrandr --output LVDS1 --brightness 0.5 # 1.0 이 max
 +</code>
  
 ===== arandr ===== ===== arandr =====
줄 54: 줄 73:
  
 ===== 참조 ===== ===== 참조 =====
 +  * [[https://www.maketecheasier.com/change-screen-resolution-ubuntu/|How to Change the Screen Resolution in Ubuntu - Make Tech Easier]] : xrandr 의 다양한 사용법 
 +  * [[https://askubuntu.com/questions/281509/how-do-i-change-the-screen-resolution-using-ubuntu-command-line|How do I change the screen resolution using Ubuntu command line? - Ask Ubuntu]] 
 +  * [[https://www.baeldung.com/linux/adjust-screen-resolution|Adjusting Screen Resolution in Linux | Baeldung on Linux]]
linux/xrandr.1603025188.txt.gz · 마지막으로 수정됨: 2020/10/18 21:46 저자 kwon37xi