31 May 2018, 10:19

@beldar

This works for me as @SUBSTRING suggested editing xinitrc

Sources: https://wiki.archlinux.org/index.php/Xrandr

ssh into box, then do the following:

cp /etc/X11/xinit/xinitrc ~/.xinitrc

It will copy ~/.xinitrc to /recalbox/share/system (/recalbox/share/system/.xinitrc)

From there you can edit it with vi/nano from ssh, or use winscp/filezilla to edit /recalbox/share/system/.xinitrc

add this to the file: (1080p as an example)
xrandr -s 1920x1080

Note if you intend to use nano you may need to export the environment variable first with:

export TERM=xterm
nano /recalbox/share/system/.xinitrc

I have linked my working .xinitrc to force 720p:

.xinitrc recalbox