Raspberry Pi Set custom display resolution
Task: Set custom screen size and use it on small monitor
Solution:
Use next commands:
Get current display name and resolution:
$xrandr -q
Set custom screen size:
$xrandr --output HDMI-1 --mode 1360x768 --panning 4096x2048
Restore default screen size (to 1360x768 which is my default size):
$xrandr -s 1360x768
Done.