Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 11:51
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
rxvt -geometry
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3277
Location: Oregon

PostPosted: Tue 20 Oct 2009, 00:35    Post subject:  rxvt -geometry
Subject description: rxvt window position, background color and font color
 

When one writes a program, that has window positioning, it should be tested on a few different screen resolutions as well as a few different
Puppy versions. I found that the positioning and window size might not work correctly on some resolutions.
Also, remember that some rxvt terminals display black background, white text while another Puppy may have white background black text.

Now I got that out of the way, let us get on with the -geometry explanation.

Given rxvt -bg [background color] -fg [font color] -geometry [character width]x[character height]+[distance from left edge of screen in pixels]
+[distance from top of screen in pixels]

Example: rxvt -bg red -fg black -geometry 45x15+400+600

A + value is from top or left of screen in pixels to top or left of window
A - value is from bottom or right of screen in pixels to bottom or right edge of window

You can test where to display a window by opening a terminal and typing in the example.
A new rxvt window will appear.
Be sure to close the created window before going back to modify the geometry settings.
Back to top
View user's profile Send private message 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Tue 20 Oct 2009, 09:39    Post subject:  

thanks for that!

[especially the screen position]

_________________
. . . the machines are clean
and the machines are not corrupted


- lee "scratch" perry
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0341s ][ Queries: 11 (0.0032s) ][ GZIP on ]