I am developing a GUI wxPython application for 800x480 screen resolution and below is the screen resolution that my desktop can support:
# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.0*
800x600 0.0
640x480 0.0
How can I set programmatically screen resolution to 800x480?