MirBSD manpage: xrefresh(1)

XREFRESH(1)         UNIX Programmer's Manual          XREFRESH(1)


     xrefresh - refresh all or part of an X screen


     xrefresh [-option ...]


     Xrefresh is a simple X program that causes all or part of
     your screen to be repainted. This is useful when system mes-
     sages 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 applica-
     tions.  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.


     -white    Use a white background.  The screen just appears
               to flash quickly, and then repaint.

     -black    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
               a moment.

     -solid color
               Use a solid background of the specified color.
               Try green.

     -root     Use the root window background.

     -none     This is the default.  All of the windows simply

     -geometry WxH+X+Y
               Specifies the portion of the screen to be
               repainted; see X(7).

     -display display
               This  argument  allows  you  to  specify the
               server and screen to refresh; see X(7).


     The xrefresh program uses the routine XGetDefault(3X) to
     read defaults, so its resource names are all capitalized.

     Black, White, Solid, None, Root
             Determines what sort of window background to use.

XFree86                   Version 4.5.0                         1

XREFRESH(1)         UNIX Programmer's Manual          XREFRESH(1)

             Determines the area to refresh.  Not very useful.


     DISPLAY - To get default host and display number.




     It should have just one default type for the background.


     Jim Gettys, Digital Equipment Corp., MIT Project Athena

XFree86                   Version 4.5.0                         2

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.