X2go font size

From n0r1sk software solutions
Jump to: navigation, search

last edit 05.04.2012 by Mario

x2go and to small or to big font size

If you are using x2go sometimes you will see that the fonts in the x2go client are often to small or to big. This happens because the x2go client isn't using the correct screen resolution dpi. I'am using the Windows version of the client, maybe in the Linux version this doesn't happen.

Fix

Open up /usr/bin/x2gostartagent and make an edit around line 231.

<source lang=bash> if [ "$X2GODPI" == "" ]; then

       #X2GODPIOPTION_=""
       X2GODPIOPTION_="-dpi 96"

else

       #X2GODPIOPTION_="-dpi $X2GODPI"
       X2GODPIOPTION_="-dpi 96"

fi </source>