05-27-2024, 08:43 PM
The resolution is detected in the X11 startup script by the fbset command
/home/pi/.xinitrc
Example:
pi@kef:~ $ fbset -s | awk '$1 == "geometry" { print $2","$3 }'
1366,768
/home/pi/.xinitrc
Example:
pi@kef:~ $ fbset -s | awk '$1 == "geometry" { print $2","$3 }'
1366,768