[FreeNX-kNX] setting xterm fonts

KLGMAIL klrumpf at gmail.com
Thu Jun 19 17:30:02 UTC 2008


Danke Florian,

sorry I am such a newbie with this stuff

My Freenx 1.5.0-60 does source /home/user.../.Xdefaults because I can 
changed the colour via .Xdefaults. But will not find the 8859-15 fonts I 
want, surely because I haven't configured them (for FreeNX that is). When in 
the Freenx session xfontsel only shows a few fonts, when I log in with Xming 
it fnds tons of fonts and when I set one in .Xdefaults all the chars 
including the Euro work fine.

In this Debian Etch 4.0 /etc/X11/Xressources is a directory path with just 
one file x11-common in it, it contains
*********
ks359751:/etc/X11/Xresources# vi x11-common
  1 ! $Id$
  2
  3 ! load color-specific resources for clients that have them
  4 #ifdef COLOR
  5 *customization: -color
  6 #endif
  7
  8 ! make Xaw (Athena widget set) clients understand the delete key
  9 ! this causes problems with some non-Xaw apps, use with care
 10 ! *Text.translations: #override ~Shift ~Meta <Key>Delete: 
delete-next-charac    ter()
********end

Regards, Karl

Karl-L. Rumpf
T. 658 986 949
Málaga, Spain
klrumpf at gmail.com
www.outsourceitforless.com
----- Original Message ----- 
From: "Florian Schmidt" <fschmidt at gmx.at>
To: <freenx-knx at kde.org>
Sent: Tuesday, June 17, 2008 11:12 AM
Subject: Re: [FreeNX-kNX] setting xterm fonts


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
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:
  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________ 




More information about the FreeNX-kNX mailing list