打开主菜单

Wiki-Orange Pi β

更改

Orange Pi 3B

添加346字节, 2023年8月3日 (四) 15:39
桌面版镜像旋转显示和触摸方向的方法
<ol style="list-style-type: lower-alpha;">
<li><p>'''None''': 不旋转</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''set_lcd_rotate.sh none'''</p>|}</li>
<li><p>'''Left''': 向左旋转90度</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''set_lcd_rotate.sh left'''</p>|}</li>
<li><p>'''Inverted''': 上下翻转,相当于旋转180度</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''set_lcd_rotate.sh inverted'''</p>|}</li>
<li><p>'''Right''': 向右旋转90度</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''set_lcd_rotate.sh right'''</p>
<p>'''set_lcd_rotate.sh脚本主要做四件事:'''</p></li></ol>|}
</li></ol>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big><p>'''set_lcd_rotate.sh脚本主要做四件事:'''</p>
 
<!-- -->
<ol style="list-style-type: decimal;">
<li><p>'''旋转framebuffer显示的方向'''</p></li>
<li><p>'''旋转触摸的方向'''</p></li>
<li><p>'''关闭开机logo'''</p></li>
<li><p>'''重启系统'''</p><p>'''旋转触摸的方向是通过在/usr/share/X11/xorg.conf.d/40-libinput.conf中加入Option &quot;TransformationMatrix&quot; &quot;x x x x x x x x x&quot;这行配置来实现的。其中&quot;x x x x x x x x x&quot;不同的方向配置不同。'''</p></li></ol>
 
<p>'''旋转触摸的方向是通过在/usr/share/X11/xorg.conf.d/40-libinput.conf中加入Option &quot;TransformationMatrix&quot; &quot;x x x x x x x x x&quot;这行配置来实现的。其中&quot;x x x x x x x x x&quot;不同的方向配置不同。'''</p></big>
|}
</li></ol>
<!-- -->
<ol start="7" style="list-style-type: decimal;">
<li><p>触摸旋转参考资料</p>
{| class="wikitable" style="width:800px;" |-| <p>[https://wiki.ubuntu.com/X/InputCoordinateTransformation '''https://wiki.ubuntu.com/X/InputCoordinateTransformation''']</p>|}</li></ol>
== 开关机logo使用说明 ==
8,460
个编辑