troubleshooting Question

Detecting and Controling Window Status in a Shell Script

Avatar of philip3270
philip3270 asked on
Linux
6 Comments1 Solution373 ViewsLast Modified:
Hi everyone,

I'm trying to control the status of a window - namely to make sure that it can't "disappear" off the screen Since I do not want to delve into the source code, merely detecting when the user minimizes it and automatically restoring it would be the goal.

Requirements for Kiosk:
P1 200MHZ machine running X  (fun.)
Minimalist - running simple web browser  and metacity for windowing without any other systems running (no task bar and they don't want one)

Web browser should not ever "disappear" - I have a script polling every once in a while to start it up again if Its not running, but the problem is without a taskbar, minimizing the window means it... dissapears into the background with no obvious way to get at it, other than Alt-tab.

I know xwininfo can tell me the status of a window, if i click on one, but is there any way to get a listing of windows?
Is there any way to tell a window to maximize from a script?
ASKER CERTIFIED SOLUTION
ahoffmann

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros