Difference between revisions of "X2go font size"

From n0r1sk software solutions
Jump to: navigation, search
(Created page with "last edit {{REVISIONDAY2}}.{{REVISIONMONTH}}.{{REVISIONYEAR}} by {{REVISIONUSER}} == X2GO and to small or to big font size == Category:General Documentation")
 
Line 2: Line 2:
  
 
== X2GO and to small or to big font size ==
 
== 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.
 +
 +
<script lang=bash>
 +
if [ "$X2GODPI" == "" ]; then
 +
        #X2GODPIOPTION_=""
 +
        X2GODPIOPTION_="-dpi 96"
 +
else
 +
        #X2GODPIOPTION_="-dpi $X2GODPI"
 +
        X2GODPIOPTION_="-dpi 96"
 +
fi
 +
</script>
  
 
[[Category:General Documentation]]
 
[[Category:General Documentation]]

Revision as of 14:40, 5 April 2012

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.

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

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

else

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

fi </script>