Hi all,
I am using IMX8MM with yocto 5.4.70 xwayland. I want to rotate display on the fly means without restarting weston service by making changes in weston.ini. Can someone will provide a lead? Mayo Clinic Portal
Thanks & Regards,
Ajita
Hello,
To achieve on the fly display rotation without restarting the Weston service on an IMX8MM platform running Yocto 5.4.70 with XWayland, you can use the Weston's `weston-transform` tool. This tool allows you to manipulate the transformation properties of an output while Weston is running.
For example, to rotate the display 90 degrees clockwise, you can use the following command:
weston-transform -r 90
Replace `90` with the desired rotation angle. Make sure to specify the correct output name if you have multiple outputs.
By utilizing `weston-transform`, you can dynamically apply display rotation without needing to modify the weston.ini configuration or restarting the Weston service. This is useful for situations where you need real-time adjustments to the display orientation.
If this information helps you, please mark the answer as the best.