To change the screen orientation of the display module to portrait mode, connect to the module with G2Link, click on View Files in Explorer, double-click on the Config folder, then double-click on the init.d folder. In that folder, the file called “qml-viewer” can be edited to enable a rotated display using an editor such as NotePad++ or GWD Text Editor.
NOTE: Do *NOT* use Wordpad to edit this file! Wordpad mangles the end-of-line characters and renders the file useless.
In the file “qml-viewer”, find the line:
Remove the leading ‘#’ character to uncomment the line. Save the file, then in G2Link, click Restart QML Viewer to restart the QML Viewer on the display module.
Make sure G2Link is not running, then bring up a terminal emulator on the port connected to the DEBUG connector on the display module development kit. If needed, login in as root, no password.
Use the “cd” command to change directory to:
Then use “vi” to edit the file “qml-viewer”, making the same change as outlined above. You will then need to exit the shell, restart G2Link, then restart the QML Viewer as described above.