LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Font on Xterm (https://www.linuxquestions.org/questions/fedora-35/font-on-xterm-361180/)

satimis 09-07-2005 03:23 PM

Font on Xterm
 
Hi folks,

FC3

Which file control the fond size of Xterm window, to change it for everybody on the system? TIA

B.R.
satimis

slackie1000 09-08-2005 02:47 AM

hi there,
normally, it should be something like
Code:

/usr/X11R6/lib/X11/app-defaults/XTerm
/usr/X11R6/lib/X11/app-defaults/XTerm-color

btw,
Code:

man xterm
would have given this info...
regards,
slackie1000

satimis 09-08-2005 05:31 AM

Hi slackie1000,

Tks for your advice.

The default font is too small on xterm. I have no problem to adjust it temporarily with [Ctrl]+[left and right buttons] (the mouse does not have middle button)

OR starting with;
$ xterm -fn 10x20

the font size is suitable. I tried to set it permanent on /etc/X11/Xresource by adding a line

"XTerm*font: 10x20-ISO8859-8.pcf.gz"
OR
XTerm font: 10x20-ISO8859-8.pcf.gz

Both unsuccessful. The default font was the same, without any change. Please advise what line shall I add to /etc/X11/Xresource

(Remark: the font file name was found on /usr/X11R6/lib/X11/fonts/misc/)

Quote:

normally, it should be something like
Code:

/usr/X11R6/lib/X11/app-defaults/XTerm
/usr/X11R6/lib/X11/app-defaults/XTerm-color


I read /usr/X11R6/lib/X11/app-defaults/XTerm before it was a big file. I have no idea how to make change there. Any advice? TIA

B.R.
satimis

slackie1000 09-08-2005 07:01 AM

hi there,
quoting "man xterm"
Quote:

/usr/X11R6/lib/X11/app-defaults/XTerm
the xterm default application resources.
i suppose you should edit like a Xresources file...
Code:

xterm*font: 10x20
regards,
slackie1000

satimis 09-08-2005 08:31 AM

Hi slackie1000,

Tks for your advice.

Quote:

i suppose you should edit like a Xresources file...
Code:

xterm*font: 10x20
[/B]
I got it. Relogin is a must as well. Tks

BR
satimis

slackie1000 09-08-2005 08:35 AM

hi there,
welcome mate...
i don't think relogin is a must...
i think you could do that...
Code:

xrdb -remove
xrdb -load /usr/X11R6/lib/X11/app-defaults/XTerm

and you will be just fine...
regards,
slackie1000

satimis 09-08-2005 08:42 AM

Hi slackie1000,

Quote:

Code:

xrdb -remove
xrdb -load /usr/X11R6/lib/X11/app-defaults/XTerm


Noted with tks

satimis

satimis 09-08-2005 11:15 AM

Hi slackie1000,

Further to my previous posting, I tested the same method on BLFS 6.1 (LinuxFromScratch). The treatment was different.

/etc/X11/Xresources did not exist
/etc/X11/xdm/Xresources existed

But adding the line "xterm*font: 10x20" on it did not work. The same line should be added to;
/etc/X11/app-defaults/XTerm

as root
# xrdb -remove
bash: xrdb: command not found

# exit
$ xrdb -remove
as User it worked. It is little bid strange

Then the font on Xterm was changed permanently.

What is the next combination/figure abover 10x20, bigger font? TIA

B.R.
satimis


All times are GMT -5. The time now is 03:31 PM.