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 Wed 01 Jul 2015, 17:10
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 Posts_count  
Author Message

Joined: 03 Apr 2007
Posts: 3422
Location: Oregon

PostPosted: Tue 20 Oct 2009, 00:35    Post_subject:  rxvt -geometry
Sub_title: 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 

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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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