Template:WESTON DISPLAY ROTATE: Difference between revisions
From Variscite Wiki
(Created page with "<includeonly> To rotate the Weston display, edit /etc/xdg/weston/weston.ini. For example, rotate the display 90 degrees: [output] name=DSI-1 transform=90 </includeonly>") |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{#var:SOC}} | |||
| mx8qm | |||
| mx8mp= {{#vardefine:DISPLAY|LVDS-1}} | |||
| #default= {{#vardefine:DISPLAY|DSI-1}} | |||
}} | |||
To rotate the Weston display, edit /etc/xdg/weston/weston.ini. | To rotate the Weston display, edit /etc/xdg/weston/weston.ini. | ||
For example, rotate the display 90 degrees: | For example, rotate the display 90 degrees: | ||
[output] | [output] | ||
name= | name={{#VAR:DISPLAY}} | ||
transform=90 | transform=90 | ||
For more information, see the weston man pages: | |||
* https://man.archlinux.org/man/weston.ini.5.en#transform= | |||
* https://github.com/nxp-imx/weston-imx/blob/weston-imx-12.0.3/man/weston.ini.man#L521 | |||
</includeonly> | </includeonly> |