I would like a way to refresh a specific window by the terminal.
Probably I will need a comand to find the id or the name of the window and a command to refresh it.
It looks like xrefresh cannot do this, how could I do this?
|
I would like a way to refresh a specific window by the terminal. Probably I will need a comand to find the id or the name of the window and a command to refresh it. It looks like |
||||
|
With
It will act on the current active window, so you'd have to make sure the proper one is selected previously. |
|||
|
|
|
You could also use xdotool, which would allow you to do that on a window which hasn't focus too. |
|||
|
|
xrefreshrefreshes all partly- or fully-visible windows, i.e. all windows for which refreshing may have an effect. If it dosen't work for you, then refreshing is not what you're after. It is pretty rare to need to explicitly refresh a window. What problem are you trying to solve? If the problem is that the text inside the terminal is garbled because some background application has written a message, you can't do anything about it at the X level or on the terminal, you need to tell your application inside the terminal to refresh its display. – Gilles Oct 20 '11 at 18:14xtefromxautomationpackage that I proposed to you here, works flawlessly for me. – rozcietrzewiacz Oct 31 '11 at 12:07