12-26-2024, 08:39 PM
(This post was last modified: 12-26-2024, 08:50 PM by steve4star.
Edit Reason: updated menu command path
)
(12-26-2024, 07:52 PM)mtavares Wrote:(12-26-2024, 07:32 PM)steve4star Wrote: You will probably need to correct the screen size in the xinit.rc file.
Code:SCREENSIZE="1920,480"
Thanks by your response. I am a newbie on this type of configuration. Where is this file located? Is it necessary to alter the config.txt or any other file before?
QJA
you will need to edit the file .xinitrc e.g.
Code:
sudo nano ~/.xinit.rc
Code:
#Force rotation for Waveshare
xrandr --output DSI-1 --rotate right --mode 320x1480
# Capture screen size
#SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
SCREENSIZE="1480,320"
Once done you can restart the local display from the web menu for peripherals.
[m]-->[configure]-->[peripherals]-->[restart]