Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-26-2006, 03:57 AM   #1
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
XTerm set font to "large" from command line

I need to start an xterm which will have the font size set to "large". Is this possible? What arguments do I have to pass to xterm?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-26-2006, 04:24 AM   #2
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
If you just want to change the font size once in xterm, you can press CTRL and right click the mouse, into the xterm window. You should have a menu that gives you different choices of fonts.

If you want to change the fonts in xterm permanently, you will have to edit the Xresources or the [I]Xdefaults[\I] file on your system.
1 members found this post helpful.
Old 06-26-2006, 04:56 AM   #3
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
I don't want to change the font size once in xterm and I don't want to change the fonts permanently.
Old 06-26-2006, 05:11 AM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
How about "xterm -fn 10x20".

I just tried "xterm -fn 9x18". This looks much better on my laptop.
Take a look in /usr/X11R6/lib/X11/fonts/misc/. This shows the sizes that you can use.

Last edited by jschiwal; 06-26-2006 at 05:18 AM.
2 members found this post helpful.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 12:49 PM
Starting an xterm window that is "always on top" on command line azilkie Fedora 1 10-07-2005 10:17 PM
how to log user commands in xterm without using "script" command lilachb Linux - General 2 08-28-2005 02:08 AM
lrz won't send files, command line "gummed up" odat Linux - Software 0 05-23-2004 05:35 PM
When switched to command line, repeats "sr0: CD-ROM device not ready" over and over paradoxdruid Linux - General 7 10-21-2003 06:44 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:28 PM.

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