Posted: 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.