更改

跳转至: 导航搜索

Orange Pi CM4

添加338字节, 2023年9月13日 (三) 14:51
桌面版镜像旋转显示和触摸方向的方法
<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>
|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''set_lcd_rotate.sh脚本主要做四件事:'''</p></li></ol></li></ol>
<!-- -->
<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></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>
<span id="edp屏幕的使用方法"></span>
 
== eDP屏幕的使用方法 ==
8,460
个编辑

导航菜单