LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-07-2005, 03:23 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 09-08-2005, 02:47 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
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
 
Old 09-08-2005, 05:31 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
Old 09-08-2005, 07:01 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
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
 
Old 09-08-2005, 08:31 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
Old 09-08-2005, 08:35 AM   #6
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
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
 
Old 09-08-2005, 08:42 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi slackie1000,

Quote:
Code:
xrdb -remove
xrdb -load /usr/X11R6/lib/X11/app-defaults/XTerm
Noted with tks

satimis
 
Old 09-08-2005, 11:15 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
huge xterm font? Sinope Linux - General 1 11-13-2004 08:11 AM
Xterm window Font Cort Linux - Newbie 8 09-18-2004 01:56 PM
Xterm font size liguorir Linux - Software 3 01-10-2004 08:44 AM
Xterm font color aeruzcar Linux - Software 7 10-11-2003 10:15 PM
xterm font change asc3ndant Linux - General 0 06-23-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration