両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:xrandr [2025/05/03 09:35] – [参考文献] ともやん | linux:xrandr [2025/05/03 11:59] (現在) – [仮想デスクトップサイズの変更] ともやん |
---|
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#FF8700"><b>$</b></font> <font color="#26A269">xrandr</font> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result_hlong><html><pre> | <WRAP color_result_hlong><html><pre> |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#FF8700"><b>$</b></font> <font color="#26A269">man</font> xrandr <font color="#12488B"><b>|</b></font> <font color="#26A269">bat</font> <font color="#A347BA">-l</font> man <font color="#A347BA">--style=plain</font> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">man</font> xrandr <font color="#12488B"><b>|</b></font> <font color="#26A269">bat</font> <font color="#A347BA">-l</font> man <font color="#A347BA">--style=plain</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result_long><html><pre> | <WRAP color_result_long><html><pre> |
</WRAP> | </WRAP> |
| |
{{page>hardware:video_resolutions}} | ===== 仮想デスクトップサイズの変更 ===== |
| ''Wayland'' ではなく ''GNOME on Xorg'' でログインする必要がある🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| Screen 0: minimum 16 x 16, current 1366 x 768, maximum 32767 x 32767 |
| LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm |
| 1366x768 59.80*+ |
| 1024x768 59.92 |
| 800x600 59.86 |
| 640x480 59.38 |
| 320x240 59.52 |
| 1152x720 59.75 |
| 960x600 59.63 |
| 928x580 59.88 |
| 800x500 59.50 |
| 768x480 59.90 |
| 720x480 59.71 |
| 640x400 59.95 |
| 320x200 58.96 |
| 1280x720 59.86 |
| 1024x576 59.90 |
| 864x486 59.92 |
| 720x400 59.55 |
| 640x350 59.77 |
| </pre></html></WRAP> |
| </WRAP> |
| |
| 解像度が 1366x768 の画面にスケール 1.23 倍 (1681 x 945) で出力する場合🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> <font color="#A347BA">--output</font> LVDS1 <font color="#A347BA">--mode</font> 1366x768 <font color="#A347BA">--scale</font> 1.23 |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| Screen 0: minimum 8 x 8, <b class=DiYE>current 1681 x 945</b>, maximum 32767 x 32767 |
| LVDS1 connected primary 1681x945+0+0 (normal left inverted right x axis y axis) 340mm x 190mm |
| 1366x768 60.00*+ |
| 1280x720 59.74 |
| 1024x768 60.00 |
| 1024x576 60.00 59.90 59.82 |
| 960x540 60.00 59.63 59.82 |
| 800x600 60.32 56.25 |
| 864x486 60.00 59.92 59.57 |
| 640x480 59.94 |
| 720x405 59.51 60.00 58.99 |
| 680x384 60.00 |
| 640x360 59.84 59.32 60.00 |
| DP1 disconnected (normal left inverted right x axis y axis) |
| HDMI1 disconnected (normal left inverted right x axis y axis) |
| VGA1 disconnected (normal left inverted right x axis y axis) |
| VIRTUAL1 disconnected (normal left inverted right x axis y axis) |
| </pre></html></WRAP> |
| </WRAP> |
| |
| 解像度が 1366x768 の画面にパンニング 1600x1200 で出力する場合🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> <font color="#A347BA">--output</font> LVDS1 <font color="#A347BA">--mode</font> 1366x768 <font color="#A347BA">--panning</font> 1600x1200 |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">xrandr</font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| Screen 0: minimum 8 x 8, <b class=DiYE>current 1600 x 1200</b>, maximum 32767 x 32767 |
| LVDS1 connected primary 1600x1200+0+0 (normal left inverted right x axis y axis) 340mm x 190mm panning 1600x1200+0+0 |
| 1366x768 60.00*+ |
| 1280x720 59.74 |
| 1024x768 60.00 |
| 1024x576 60.00 59.90 59.82 |
| 960x540 60.00 59.63 59.82 |
| 800x600 60.32 56.25 |
| 864x486 60.00 59.92 59.57 |
| 640x480 59.94 |
| 720x405 59.51 60.00 58.99 |
| 680x384 60.00 |
| 640x360 59.84 59.32 60.00 |
| DP1 disconnected (normal left inverted right x axis y axis) |
| HDMI1 disconnected (normal left inverted right x axis y axis) |
| VGA1 disconnected (normal left inverted right x axis y axis) |
| VIRTUAL1 disconnected (normal left inverted right x axis y axis) |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ===== ビデオ解像度 ===== |
| {{page>hardware:video_resolutions&permalink&noheader}} |
| |
===== 参考文献 ===== | ===== 参考文献 ===== |
[[arc>Xrandr|xrandr - ArchWiki]]\\ | [[arc>Xrandr|xrandr - ArchWiki]]\\ |
[[https://christianhujer.github.io/Xrandr-Virtual-Desktop-Size/|Xrandr to modify Virtual Desktop Size – Christian Hujer – Agilist and Software Craftsman on Humanity, Management, Strategy and Technology.]]\\ | [[https://christianhujer.github.io/Xrandr-Virtual-Desktop-Size/|Xrandr to modify Virtual Desktop Size – Christian Hujer – Agilist and Software Craftsman on Humanity, Management, Strategy and Technology.]]\\ |
| [[https://askubuntu.com/questions/752743/ubuntu-16-04-skylake-6th-generation-screen-flickering|kernel - Ubuntu 16.04 Skylake 6th Generation Screen Flickering - Ask Ubuntu]]\\ |
| |