Template:WESTON DISPLAY ROTATE: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(6 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: | 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> |