Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

xrefresh (1)

Name

xrefresh - refresh all or part of an X screen

Synopsis

xrefresh [-option ...]

Description

XREFRESH(1)                 General Commands Manual                XREFRESH(1)



NAME
       xrefresh - refresh all or part of an X screen

SYNOPSIS
       xrefresh [-option ...]

DESCRIPTION
       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.

ARGUMENTS
       -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  disorient-
                 ing 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 repaint.

       -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).

       -version  This argument prints the program version and exits.

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

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

       Geometry
               Determines the area to refresh.  Not very useful.

ENVIRONMENT
       DISPLAY - To get default host and display number.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | x11/x11-server-utilities |
       +---------------+--------------------------+
       |Stability      | Volatile                 |
       +---------------+--------------------------+

SEE ALSO
       X(7)

BUGS
       It should have just one default type for the background.

AUTHORS
       Jim Gettys, Digital Equipment Corp., MIT Project Athena



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded   from    ['https://www.x.org/releases/individ-
       ual/app/xhost-1.0.8.tar.bz2',      'https://www.x.org/releases/individ-
       ual/app/xrefresh-1.0.6.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xinput-1.6.3.tar.bz2',     'https://www.x.org/releases/individ-
       ual/app/rgb-1.0.6.tar.bz2',        'https://www.x.org/releases/individ-
       ual/app/xset-1.2.4.tar.bz2',       'https://www.x.org/releases/individ-
       ual/app/xsetroot-1.1.2.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xrdb-1.2.1.tar.bz2',       'https://www.x.org/releases/individ-
       ual/app/xrandr-1.5.1.tar.gz',      'https://www.x.org/releases/individ-
       ual/app/xmodmap-1.0.10.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xprop-1.2.5.tar.bz2',      'https://www.x.org/releases/individ-
       ual/app/xgamma-1.0.6.tar.bz2',     'https://www.x.org/releases/individ-
       ual/app/xcmsdb-1.0.5.tar.bz2'].

       Further information about this software can be found on the open source
       community website at https://www.x.org.



X Version 11                    xrefresh 1.0.6                     XREFRESH(1)