On Wed, 02 Nov 2011 18:04:03 +0100, Heino Tiedemann wrote:
> (By the Way: wie bekommt man den String aus dem xfontsel in die
> "Zwischenablage"?)
Ruf einfach
$ xfontsel -print
auf; beim Drücken der "Quit"-Taste wird der String
dann auf stdout ausgegeben und kann so bequem heraus-
kopiert werden, siehe "man xfontsel".
> > Initialisiere Deine Schriften mit ttmkfdir und
> > stell sicher, daß in xorg.conf die Pfade auf die
> > Schriften alle drinstehen. Das sähe dann etwa so
> > aus:
> >
> > Section "Files"
> > ModulePath "/usr/local/lib/xorg/modules"
> > FontPath "/usr/local/lib/X11/fonts/misc/"
> > FontPath "/usr/local/lib/X11/fonts/TTF/"
> > FontPath "/usr/local/lib/X11/fonts/OTF"
> > FontPath "/usr/local/lib/X11/fonts/Type1/"
> > FontPath "/usr/local/lib/X11/fonts/100dpi/"
> > FontPath "/usr/local/lib/X11/fonts/75dpi/"
> > FontPath "/usr/local/share/ghostscript/fonts/"
> > # FontPath "/usr/local/share/fonts/amspsfont/type1/"
> > FontPath "/usr/local/share/fonts/cm-super/type1/"
> > # FontPath "/usr/local/lib/X11/fonts/freefont"
> > # FontPath "/usr/local/lib/X11/fonts/URW"
> > # FontPath "/usr/local/lib/X11/fonts/urwfonts-ttf"
> > # FontPath "/usr/local/lib/X11/fonts/freefont-ttf"
> > FontPath "/usr/local/lib/X11/fonts/truetype"
> > EndSection
>
>
> Naja, da hat KDE das gleiche, wie xfce:
>
>
> Section "Files"
>
>
> FontPath "/usr/local/lib/X11/fonts/misc/"
> FontPath "/usr/local/lib/X11/fonts/TTF/"
> FontPath "/usr/local/lib/X11/fonts/OTF"
> FontPath "/usr/local/lib/X11/fonts/Type1/"
> FontPath "/usr/local/lib/X11/fonts/100dpi/"
> FontPath "/usr/local/lib/X11/fonts/75dpi/"
> FontPath "/usr/local/lib/X11/fonts/local/"
> # FontPath "/usr/local/lib/X11/fonts/TrueType/"
> FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
> FontPath "/usr/local/lib/X11/fonts/freefont/"
> FontPath "/usr/local/lib/X11/fonts/URW"
> FontPath "/usr/local/lib/X11/fonts/webfonts"
>
>
> EndSection
Wichtig ist nur, daß man mal ttmkfdir über diese
ganzen Verzeichnisse hat laufen lassen.
> > Im Zweifelsfall kannst Du versuchen, dem Xfce-Terminal-
> > programm per .gtkrc die gewünschte Schriftart aus
> > KDE überzustülpen.
>
> Naja, die Schrift kommt definitiv nicht aus KDE, aber das wäre eine
> Lösung, wie sähe der eintrag aus?
Allgemein müßte
gtk-font-name="Courier 12"
oder etwas vergleichbares ausreichen. Nur glaube ich, daß
das dann für _alle_ Gtk-Programme gilt.
Bei Verwendung von Gtk-1-Programmen ist .gtkrc, für
Gtk-2-Programme hingegen .gtkrc-2.0 zu verwenden.
Also etwas genauer:
style "courier-font" {
gtk-font-name="Courier 12"
}
class "*xfterm*" style "courier-font"
Natürlich mußt Du "xfterm" durch den Namen des
Xfce-Terminalprogramms ersetzen - den kenne ich
leider nicht ausm Stegreif. Bei XFCE (man beachte
die Großbuchstaben, die auf Version 3 hinweisen)
hieß es jedenfalls noch so, war aber bloß ein
Wrapper für Xterm, wenn ich das richtig in
Erinnerung habe.
Statt "Courier 12" müßte auch die komplette
Beschreibung aus der xfontsel-Ausgabe zulässig
sein, oder vielleicht sogar "Adobe Courier 12"
(oder welche Schriftgröße Dir halt zusagt).
Falls Du die o. g. "globale Variante" benutzt, kannst Du
das Xfce-Terminal auch so starten:
$ GTK2_RC_FILES=~/.gtkrc-2.0-xfterm xfterm
Dabei enthält ~/.gtkrc-2.0-xfceterm dann nur den obigen
Einzeiler. Auch hier wieder die Annahme, daß das Terminal-
programm "xfterm" heiße; dieser Satz kein Verb. :-)
-- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Thu 03 Nov 2011 - 04:13:50 CET