insert in 1bash before TEAMVIEWER="NO" # YES NO
this:
xrandr --fb 1024x768 (or whatever resolution do you need)
works for both Teamviwer and VNC
perfect! you can also just run the command from guake to change on the fly. Working great with VNC, any way we can get this implemented in the next update?