LinuxQuestions.org
Register a domain and help support LQ
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, 04:23 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
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, 03:47 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
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, 06:31 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

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

Rep: Reputation: 45
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, 09:31 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

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

Rep: Reputation: 45
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, 09:42 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi slackie1000,

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

satimis
 
Old 09-08-2005, 12:15 PM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:11 AM
Xterm window Font Cort Linux - Newbie 8 09-18-2004 02:56 PM
Xterm font size liguorir Linux - Software 3 01-10-2004 09:44 AM
Xterm font color aeruzcar Linux - Software 7 10-11-2003 11:15 PM
xterm font change asc3ndant Linux - General 0 06-23-2003 08:47 PM


All times are GMT -5. The time now is 08:55 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration