Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-22-2007, 01:13 AM   #1
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
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.
Old 02-22-2007, 01:55 AM   #2
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 61
You mean refresh? Hitting F5 will refresh the desktop in any DE if that's what you're looking for.
Old 02-22-2007, 02:02 AM   #3
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The xrefresh command will do that.

$ man xrefresh

       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 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.
Old 02-22-2007, 03:26 AM   #4
Registered: Aug 2005
Posts: 235

Original Poster
Rep: Reputation: 30
Thanks for the reply. That was just what I was looking for.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow window redraw with Mobility Radeon 9000 NightShade737 Linux - Laptop and Netbook 2 11-21-2006 09:56 AM
LXer: South Korea to redraw its maps with open source LXer Syndicated Linux News 0 09-07-2006 02:24 AM
Redraw problems with Twinview GeForce FX 5200 guardian653 Linux - Hardware 3 07-18-2004 05:27 AM
Outline Windows instead of Redraw during resize pntmass Linux - Software 2 06-03-2004 04:54 PM
k menu redraw problems??? NinjaYeti Slackware 1 05-02-2004 03:08 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration