[FreeNX-kNX] setting xterm fonts

Florian Schmidt fschmidt at gmx.at
Tue Jun 17 09:12:41 UTC 2008


Hi,

by default freenx doesn't source /etc/X11/Xressources. This causes some applications to crash (e.g.: xclearcase). For this problem we wrote a little batch:

--- nxnode      2008-06-02 15:18:48.000000000 +0200
+++ /usr/bin/nxnode     2008-06-04 10:56:43.000000000 +0200
@@ -321,6 +322,7 @@
        fi

        echo "Xft.dpi: 96" | DISPLAY=:$display xrdb -merge >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1
+       [ -e /etc/X11/Xresources ] && xrdb -display :$display -merge /etc/X11/Xresources >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1

        #
        # Startup the application

this sources the /etc/X11/Xressources file. Maybe this patch can help.

Cheers,
Florian

--previous message--
Hi all, I have a question, I have now set up Freenx on a Debian 4.0 Etch and
it is working in the Custom config. I have selected an existing font with
xfontsel and added that string to .Xdefaults...xterm*font: -b&h- etc etc. I
have also set backgroun coulour etc. Freenx sets the colours correctly but
does not change the font. I also have Qming for contrast and it set colours
and font correctly.

Anyone can help?

Regards, Karl
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the FreeNX-kNX mailing list