xrefresh is a simple X program that causes all
or part of your screen to be repainted.
This is useful when system messages have messed up your screen.
xrefresh maps a window on top of the desired area
of the screen and then immediately unmaps it,
causing refresh events to be sent to all applications.
By default, a window with no background is used,
causing all applications to repaint ``smoothly.''
However, the various options can be used to indicate that a solid background
(of any color) or the root window background should be used instead.
Use a white background. The screen just appears to flash quickly, and then
Use a black background (in effect, turning off all of the electron guns to
the tube). This can be somewhat disorienting as everything goes black for
Use a solid background of the specified color. Try green.
Use the root window background.
This is the default. All of the windows simply repaint.
Specifies the portion of the screen to be repainted; see
This argument allows you to specify the server and screen to
The xrefresh program uses the routine
to read defaults, so its resource names are all capitalized.
Black, White, Solid, None, Root
Determines what sort of window background to use.
Determines the area to refresh. Not very useful.
To get default host and display number.
It should have just one default type for the background.