[mdlug] xterm question

Aaron Kulkis akulkis00 at gmail.com
Thu Oct 9 14:50:24 EDT 2008


Raymond McLaughlin wrote:
> MDLUGers:
> 
> It is easy spawn an xterm with certain attributes predefined at the 
> command line, for instance:
> 
>      xterm -geometry 100x40+25+5 -bg cyan -fg red
> 
> will start a 100 character by 40 line xterm with the left edge 25 pixels 
> from the left side of the screen, and with the top edge 5 pixels below 
> the top of the screen, and with red text (foreground) on a cyan background.
> 
> This gets me most of the way to where I want to go. Once the xterm has 
> started I can <Ctrl><Right Click> on the xterm and get a menu from which 
> I can select "Huge" from a list of "VT Fonts". This gets me the rest of 
> the way. The question is how do I get there directly from the command line?
> 
> If I use the -fs switch I get an error message if it is followed by any 
> non-numeric argument. A numeric produces no error, but also no change in 
> the font displayed. I have tried using the -fn and -font switches, but 
> haven't been able to determine an acceptable arguement. I have tried 
> using filenames from several of the directories declared in my 
> /etc/X11/xorg.conf file, but I always get an error like:
> 
>      xterm:  unable to open font "times", trying "fixed"....
> 
>      xterm:  unable to open font "times.ttf", trying "fixed"....
> 
> I have been unable to find any information about what type of font the 
> xterm is looking for, or where.

This is why I use konsole instead of xterm.



More information about the mdlug mailing list