PDA

View Full Version : detecting "open" windows?



nupul
7th April 2006, 11:12
Is it possible for a non-gui Qt app running in the background in X11 and give me onscreen alerts, as and when a new window is launched, irrespective of the underlying window manager?

Thanks

Nupul

jrideout
7th April 2006, 12:58
There has to be some program that is a gui. You can use dbus / dcop to talk to programs (perhaps some or all window managers have some notification framework you can access) that can display your message or you can use qprocess to talk to a gui program or you can make your program a gui one. You can even manually call some limited subset of gui related classes like xlib or something and bypass qt's gui classes.

nupul
8th April 2006, 04:50
(perhaps some or all window managers have some notification framework you can access)




Can you give me an example?

Thanks

kiranchhabra
15th July 2008, 20:47
Hi Nupul,
Were you able to solve the problem to get alert for new windows? I am looking for a solution to the same problem. Any leads would be helpful.
Regards

kiranchhabra
15th July 2008, 21:00
Adding email notification for myself :)