I would like a way to refresh a specific window from the terminal command-line.
Probably I will need a command 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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
xte tool from
xautomation package it is as simple as
xte "key F5"
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.