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