-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Am 21.05.2015 um 20:05 schrieb Simon Baev: > Hello, > > I'm looking for a way to run *x2goserver* on *Ubuntu Mate 15.04* > which is living on computer with *4k monitor* attached. I changed > *DPI* settings in Control Center -> Appearance -> Fonts -> Details > to *168* to let all applications look good when I work on that > machine locally. > > When I connect to this machine using *x2goclient* running on > another Ubuntu Mate 15.04 (attached monitor has resolution of > 1680x1050, fullscreen mode) I am seeing *huge* fonts (as expected) > because it also uses dpi of 168 for that remote connection. > > *My question*: would it be possible to run *pre-connection* (and > then post-connection) script(s) to temporally change DPI to > "normal" value of 96 before and recover it back to 168 upon > completion of the x2go session? I guess it can be done by running > "*gsettings set org.mate.font-rendering dpi 96*" command but I'm > not sure where to include this command. And also I'm not sure how > to protect against abnormal session termination... what if session > will terminate without recovering DPI back to 168?
There's a setting in the X2GoClient GUI to force a DPI value, doesn't that work for you? If no, why? - -Stefan - -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVXh77AAoJEG7d9BjNvlEZRJQH+gNcUq87kxn8F3vgIL/Xi+fl 3TNNvmg70pJ+XJ9xKfRAbiVto3sNeM+48vXBgEN7PEthClmoC2t74JZnkEl95FhY K1CH2BtoUSk1SxO/PRpCasiUeP9clb5eE1rRzvutTn4CnU1/nRRoK+CnLANGLf4n 1wQ22Cz7cgcsfbQzyeIQBJ+cDFDhYoRNA0Fp7T2VJfNrPELQMkpGew+dUtAnablK IbZbl+N5TkPKx+k1SpBPXB7j5hWa8HvtYcDeF0PfFVfJMQDemlxttAIXckYCzQal leQfByY8rFcv99fN/eD8z84s0xLCG6FNgGOTwiJi7ZP8MRWC1K2uI76JuhI3lfg= =l30c -----END PGP SIGNATURE----- _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user