DPI scaling in Workstation

Hello everyone,

I am trying to change DPI scaling for Whonix Workstation on Qubes OS. Therefore I used the templateVM and first changed /etc/xdg/Xresources (added Xft.dpi: 288) but this did not change anything. Then I changed /etc/xdg/xsettingsd (added Xft/DPI 294912) but this also did not change anything. To test these new settings I started a disposable Whonix Workstation AppVM. The scaling did not change, but I could verify my values in Xresources and xsettingsd on the started disposable Whonix Workstation AppVM.

Do you have an idea how I can change the scaling for Whonix Workstation templateVM so that it takes effect?

The target is to have an improved appearance of Tor browser (Whonix Workstation disposable AppVM) on a HiDPI display without affecting anonymity. Because changing window size or zoom level of Tor browser after it is started would have an impact to anonymity as far as I know.

Thank you.

Resources:
Platform-specific Desktop Tips
XSettingsRegistry
Contents/dpi-scaling.md at master · Qubes-Community/Contents · GitHub

1 Like

This is very most likely a Qubes specific issue and unspecific to Qubes-Whonix.

Try to accomplish the same graphic settings with a Qubes Debian template based App Qube.

Does’t work? → Qubes support

As per Free Support Principle.

1 Like

Just chiming in to say that this doesn’t seem to be an issue with Qubes as I can do it in fedora. It’s just in whonix where I can’t get it to work.

I tried what OP mentioned and then I also installed xfce4-settings-manager and ran it and no display-related settings would work. I tried changing the DPI follong the non-Qubes-Whonix settings and that didn’t work either.

1 Like

How about Debian in Qubes?

1 Like

If it worked fine the way it does in a typical Debian-based VM, I wouldn’t have posted there.

Unlike the Debian template AppVM, Whonix doesn’t come with the settings manager that allows me to set the font DPI setting. I attempted to install xfce4-settings package in order to customize this setting, and even though the settings manager opens, changing the custom DPI setting and the font size in the Appearance settings has no effect.

I’ve also tried running commands in order to set these settings manually, however this also doesn’t work.

gsettings set org.gnome.desktop.interface text-scaling-factor $1
xfconf-query -c xsettings -p /Xft/DPI -s $1

There’s no working solution that I could find online.

1 Like