About X windows on concealed desktops and under screen savers
Once again, I apologize for posting a question only peripherally related to programming here.
My objective is to use xwd to capture images of windows created by perpetually running processes. This is intended to occur as a cron job, generating a series of time/date stamped images. My problem is that while the windows are 'visible' in the sense of being reported by 'xwininfo', they do not work with xwd unless they are actually visible on the screen. If the screen saver (tested only with KDE desktop) is active, or if the window is concealed on a different virtual desktop, then xwd reports
So, is there any way to work around this? Some attribute or command that a window can be given to 'expose itself'? I would consider using an Xvfb in which to run the long-running X application, however the application requires some interactive configuration at startup, which is impossible without having a real pointing device and visible screen.
Any other forums where these kinds of questions are common? Looking for bright ideas here.
Any advice gratefully approeciated. Thanks.
Not really a solution to your problem, but ... that application
that requires initial configuration: if it stores the setup
information somewhere (e.g. ~/.application), why not just copy
that file/directory from a machine that has a mouse and keyboard?
|All times are GMT -5. The time now is 07:45 PM.|