As a followup to my previous post, here's a simple bash script that will rotate the screen resolution on each call. I've added a MATE keyboard shortcut (CTRL+RIGHT) to run this script. It is intended for 1366x768 screens, so it will need adapting for other screens.
#!/usr/bin/env bash

RES="$(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/')"

# xdpy results can vary by 1 or two pixels so take the first two characters
RES="${RES:0:2}"

case "$RES" in

"13")
xrandr --output LVDS-1 --panning 1600x900 --scale 1.171x1.172
;;

"16")
xrandr --output LVDS-1 --panning 1920x1080 --scale 1.406x1.406
;;

*)
xrandr --output LVDS-1 --panning 1366x768 --scale 1x1
;;

esac
#ghostbsd #freebsd #mate #bash