Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fonts in Xterm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
micder
n00b
n00b


Joined: 18 Feb 2003
Posts: 23
Location: Terneuzen-nl

PostPosted: Sat Apr 19, 2003 11:44 am    Post subject: Fonts in Xterm Reply with quote

Heb in KDE een Xterm met mogelijkheid fontgrootte te kiezen.
De fonts van de applicaties - o.a. OpenOffice - in Fluxbox zijn OK.
Kan de truetype fonts - geinstalleerd in KDE - gebruiken.
Heb echter geen idee hoe ik de fonts in Xterm - onder Fluxbox - kan beinvloeden.
Elke hint is welkom.
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 19, 2003 12:07 pm    Post subject: Reply with quote

man Xterm
Back to top
View user's profile Send private message
micder
n00b
n00b


Joined: 18 Feb 2003
Posts: 23
Location: Terneuzen-nl

PostPosted: Sat Apr 19, 2003 12:52 pm    Post subject: Reply with quote

Yinchie wrote:
man Xterm


Dank je.
Als ik in een xterm
xterm -fa -adobe-helvetica-medium-r-normal-*-12-120-*-*-*-*-*-*
krijg ik een nieuw console met het gewenste lettertype.
Maar hoe definieer ik dat een Xterm by default het gewenste lettertype krijgt?
Iets in .Xinitrc?
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 19, 2003 12:55 pm    Post subject: Reply with quote

Ik weet niet hoe dat zit met Xterm omdat ik Xterm nooit gebruik maar Eterm.
Back to top
View user's profile Send private message
Damasz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 91
Location: Groningen, the Netherlands

PostPosted: Sat Apr 19, 2003 1:27 pm    Post subject: Reply with quote

Xterm haalt zijn settings uit ~/.Xresources.
Voorbeeld:
Code:

XTerm*font: fixed
XTerm*scrollBar: false
XTerm*cursorColor: rgb:33/88/aa
XTerm*title: Terminal
XTerm*saveLines: 256
XTerm*foreground: rgb:cc/cc/cc


Ik gebruik zelf aterm omdat die heel snel is. Bovendien kan aterm transparante terminals aan. 8)
Back to top
View user's profile Send private message
micder
n00b
n00b


Joined: 18 Feb 2003
Posts: 23
Location: Terneuzen-nl

PostPosted: Sat Apr 19, 2003 2:16 pm    Post subject: Reply with quote

Dank je
en hoe specificeer je de fontsize?
Ik wordt niet goed van die kleine lettertjes 8O
Back to top
View user's profile Send private message
Damasz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 91
Location: Groningen, the Netherlands

PostPosted: Sun Apr 20, 2003 3:09 pm    Post subject: Reply with quote

Je kan volgens mij de fontsize niet los specificeren, dit moet je doen door een ander font te kiezen, probeer bijvoorbeeld eens:
Code:
xterm -fn fixed
xterm -fn 10x20
xterm -fn 12x24

Fonts die je hier kan proberen kun je vinden in (op mijn systeem in elk geval):
/usr/lib/X11/fonts/misc/fonts.alias

Kijk ook eens in de man page van xterm onder het kopje "RESOURCES" voor wat je nog meer kan instellen.

Nog een tip, met aterm en xterm (en misschien ook andere terminals) kun je met SHIFT in combinatie met de + en - van je numpad switchen van fontsize.
Back to top
View user's profile Send private message
JefP@@
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Thu Apr 24, 2003 7:49 am    Post subject: Reply with quote

thx voor de tips ;)
Back to top
View user's profile Send private message
iKiddo
Guru
Guru


Joined: 27 Jun 2002
Posts: 341
Location: Europe?

PostPosted: Thu Apr 24, 2003 5:36 pm    Post subject: Reply with quote

Damasz wrote:
Xterm haalt zijn settings uit ~/.Xresources.

Xterm haalt zijn instellingen uit /usr/X11R6/lib/X11/app-defaults/XTerm en ~/.Xdefaults. Niet uit ~/.Xresources. Niet hier, niet volgens de manpage.
Back to top
View user's profile Send private message
Damasz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 91
Location: Groningen, the Netherlands

PostPosted: Thu Apr 24, 2003 7:19 pm    Post subject: Reply with quote

Het staat misschien niet in de man-pages, maar het werkt wel :)

/etc/X11/Sessions/Xsession pakt de .Xresources en niet de Xdefaults....

Nou ja, zolang het maar werkt ;)
Back to top
View user's profile Send private message
iKiddo
Guru
Guru


Joined: 27 Jun 2002
Posts: 341
Location: Europe?

PostPosted: Fri Apr 25, 2003 10:34 pm    Post subject: Reply with quote

Damasz wrote:
/etc/X11/Sessions/Xsession pakt de .Xresources en niet de Xdefaults....

Nou ja, zolang het maar werkt ;)

Aaahh. Xsession pakt .Xresources, maar XTerm pakt .Xdefaults. Als je dus een aanpassing in .Xresources maakt werkt het niet meteen (moet X opnieuw starten), maar als je aanpassingen maakt in .Xdefaults hoef je alleen XTerm opnieuw op te starten. (Of een nieuwe XTerm openen.)

Het werkt allebei totdat je dingen in .Xdefaults hebt staan die concurreren met dingen in .Xresources. XTerm geeft namelijk de voorkeur aan .Xdefaults, waardoor je instellingen in .Xresources genegeerd worden als tegenstellende instellingen in .Xdefaults staan.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum