I have an app which does some rendering which should scale with the ‘text-scaling-factor’. That is, it needs access to the value which is returned by gsettings get org.gnome.desktop.interface text-scaling-factor
. I know how to do this in code when running the app locally, but I would like to get access to this value when I ssh to a remote machine and then display the app’s window locally. So the local machine has a text-scaling-factor which may be different from the text-scaling-factor of the remote machine, and I want the local value, not the value on the remote machine on which the app runs.
Is there any way to do this (without manually running the above gsettings
command on the local, displaying machine)?