HDMI
<h3>HDMI的使用</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=a3d4b75b6e6c60f3da8cedc1dfa289aa&amp;file=file.png" alt="" /></p>
<h4>一、设置HDMI分辨率:</h4>
<pre><code class="language-shell">`xrandr --output HDMI-1 --mode 1920x1080 --rate 60`</code></pre>
<h4>二、旋转屏幕:</h4>
<pre><code class="language-shell">xrandr -o left
xrandr -o right
xrandr -o normal
xrandr -o inverted</code></pre>
<h4>三、临时添加自定义的分辨率模式</h4>
<p>①使用cvt命令创建新的分辨率:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=a8e5779dd75068d34ff2a83902f22e25&amp;file=file.png" alt="" />
②使用xrandr –newmode modeline信息(CVT命令产生的结果)创建新的mode:</p>
<pre><code class="language-shell">$xrandr --newmode &quot;800X750_60.00&quot; 48.50 800 840 920 1040 750 753 763 779 -hsync +vsync</code></pre>
<p>③使用xrandr –addmode 设备名 mode 来为设备添加新的mode:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=a51fa756f504ec80cb48ce9442c3d870&amp;file=file.png" alt="" />
④使用xrandr –out 设备名 –mode mode来使用新的分辨率模式:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=a27b144aae11552143f4fe3410635e1b&amp;file=file.png" alt="" /></p>