Linux or UNIX desktop systems are quite stable. However, some time weird things happen like unreadable screen and confusing application causing massive screen messed up, which makes it difficult to read what is on the Linux desktop.
Generally, I have observed that most users prefer to hit CTRL+ALT+Back Space or just kills the X session. However, there is way to get rid of this problem.
xrefresh is a simple X command 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.
Just type the xrefresh:
You can also pass -white and -black option to xrefresh command:
$ xrefresh -white
$ xrefresh -black
- -white: Use a white background. The screen just appears to flash quickly, and then repaint (this is a default).
- -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.
I am not sure if there is any such a program exists for Windows XP desktop. If any one has information please share with us.
🐧 4 comments so far... add one ↓
|Category||List of Unix and Linux commands|
|Disk space analyzers||ncdu • pydf|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||NetHogs • dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|