I'd like to change the resolution of my monitor, connected via HDMI from a Banana Pro.
I get a list of available monitor resolutions by the following command:
cat /sys/class/graphics/fb0/modes
and then pick one of them that I want to use, say:
D:1280x720p-50
(1280x720p, 50 Hz refresh rate)
I've edited the /etc/rc.local file to include
echo D:1280x720p-50 > /sys/class/graphics/fb0/mode
Saved the file, rebooted - no change from the default resolution.