LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Redraw the Root Window (http://www.linuxquestions.org/questions/linux-general-1/redraw-the-root-window-531229/)

pxumsgdxpcvjm 02-22-2007 01:13 AM

Redraw the Root Window
 
I have a quick quest. Is there a command included with X11 that'll redraw the screen (or at least just root window)?

Thanks to any replies.

Hitboxx 02-22-2007 01:55 AM

You mean refresh? Hitting F5 will refresh the desktop in any DE if that's what you're looking for.

macemoneta 02-22-2007 02:02 AM

The xrefresh command will do that.

Code:

$ man xrefresh

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.


pxumsgdxpcvjm 02-22-2007 03:26 AM

Thanks for the reply. That was just what I was looking for.


All times are GMT -5. The time now is 01:11 AM.