xterm -display | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

xterm -display

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-25-2008
zapper222 zapper222 is offline
Registered User
 
Join Date: May 2008
Last Activity: 29 January 2012, 6:18 PM EST
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
xterm -display

I am using this command but when I launch it, the font that comes up on the remote machine is very small. Is there a way to enlarge the font using some switch?

xterm -display remotemachine:0.0 &
Sponsored Links
    #2  
Old 10-25-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 17 April 2014, 3:54 AM EDT
Location: Switzerland - GE
Posts: 5,490
Thanks: 148
Thanked 362 Times in 339 Posts
Did you do a man xterm ?
There is a -fs (for font size)...
And under linux (not sure about the other platforms...) there is the command:
xfontsel
Sponsored Links
    #3  
Old 10-25-2008
zapper222 zapper222 is offline
Registered User
 
Join Date: May 2008
Last Activity: 29 January 2012, 6:18 PM EST
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Yes I did do a man before posting.
The version of unix I am using doesn't mention a -fs switch
there is an -fn for font and a -fb for bold font.
but I am willing to try the -fs but where do I put it and whats the syntax ?

something like this maybe ?

xterm -display remotews:0.0 & -fs 12

and while we are on it......the zero zero....is that screen position to place the new term window ?? and what does the & do ?

Thanks
zapper
    #4  
Old 10-27-2008
spirtle spirtle is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 23 March 2010, 12:11 PM EDT
Location: Scotland
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
See http://www.unix.com/unix-advanced-ex...ts-larger.html for the general idea with -fn.
Since you want the xterm on a remote display you need to find the fonts on the remote machine with

Code:
xlsfonts -display remotews:0.0

Note that xlsfonts will probably give you a huge list so pipe the output through a pager.

In xterm -display remotews:0.0 &, the argument to -display is the hostname, display number and screen number on which to show the X-window. This should match the DISPLAY environment variable on the remote machine. To set the position of the xterm on the screen you would use the -geometry flag. The & makes the command run in the background; you would have this at the end of your command.
Sponsored Links
    #5  
Old 10-28-2008
zapper222 zapper222 is offline
Registered User
 
Join Date: May 2008
Last Activity: 29 January 2012, 6:18 PM EST
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks man....
I haven't had a chance to try this yet but
the piping you are talking about....something like this ?

xlsfonts -display remotews:0.0 | more


Zapper
Sponsored Links
    #6  
Old 10-29-2008
spirtle spirtle is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 23 March 2010, 12:11 PM EDT
Location: Scotland
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by zapper222 View Post
the piping you are talking about....something like this ?

xlsfonts -display remotews:0.0 | more
Yes..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DISPLAY=local_host:0.0 ; export DISPLAY big123456 UNIX for Advanced & Expert Users 12 12-15-2010 08:15 AM
xterm display options gogol_bordello UNIX for Dummies Questions & Answers 2 08-28-2009 07:33 AM
Display output of one xterm on another Vi-Curious UNIX for Dummies Questions & Answers 8 11-07-2008 03:14 PM
xterm and display macdonto UNIX for Dummies Questions & Answers 1 08-16-2001 03:24 PM



All times are GMT -4. The time now is 09:37 AM.