[X2Go-Dev] Bug#913: Bug#913: Same issue Linux Gnome 3
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Mon Aug 2 08:15:01 CEST 2021
Hi Matt,
On Di 20 Jul 2021 14:53:21 CEST, Matt G wrote:
> It appears to be DPI unaware.
>
> My fix for Gnome 3 at 200% on Debian Bullseye:
>
> 1. Create a copy of the .desktop to home directory
> # $ cp /usr/share/applications/x2goclient.desktop
> ~/.local/share/applications/
>
> 2. Change exec= in ~/.local/share/applications/x2goclient.desktop
> Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=1 x2goclient
>
> I found this recommendation in https://doc.qt.io/qt-5/highdpi.html
> "To get an application designed for low DPI values running on high
> resolution monitors quickly, consider one of the following:"
> "set the QT_AUTO_SCREEN_SCALE_FACTOR environment variable to 1."
>
> Thanks to akik in the #x2go IRC channel for pointing me in the right
> direction.
thanks for providing this bit of info. I just tested this from an i3
desktop locally and it fails on a 4k display by whatever reason.
What works for me, though, is:
```
env QT_SCALE_FACTOR=2 x2goclient
```
However, the overall fix will be making X2Go Client HiDPI aware.
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <https://lists.x2go.org/pipermail/x2go-dev/attachments/20210802/ad3c3427/attachment-0001.sig>
More information about the x2go-dev
mailing list