Dude. This is awesome for the AppVMs. My eyes are no longer bleeding from reading standard print size font on a 15" 4k screen nor bleeding from scaling in xrandr.
Where do I need to type these commands into ?
I dont know where, the terminal is not doing anything?
a more comprehensive approach to cover all bases is to set proper dpi for X server, Xft, gsettings (if gnome-settings-daemon runs), xsettings (IIRC Debian template needs that), dom0 desktop environment (KDE, Xfce) and use hidpi themes/window decorations.
Since I switched to the Fedora-26 template (still on R3.2) the scaling-factor and text-scaling-factor has no effect anymore.
The only way I found to get a reasonable view is to change the default 96 dpi setting of Xft.dpi in /etc/X11/Xresources (in the TemplateVM).
Regards,
Markus