Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-20-2010, 10:40 AM   #1
Registered: Jun 2008
Posts: 155

Rep: Reputation: Disabled
Window Activity Alert

I am searching for a utility that will monitor a given X application's window and alert me of any change. This would be most useful for letting me know that something has happened in a window on another virtual desktop, where the window itself doesn't support such a feature. For example, a meta-refresh happening in a web browser, activity in a tailed log file, etc. (Actually, the Terminator terminal supports activity, so alerting a tailed a log file is done.)

I have a very crude bash script that, given a window ID, takes a screenshot of the window with xwd every second, and issues an xmessage if the screenshot differs from the last one. However, being crude, it doesn't always work.

I've had a look on Freshmeat and didn't find anything that can do this. Does anybody know if there is such a utility out there?
Old 09-20-2010, 01:49 PM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You could try setting the SIGIO server flag option on in the xorg.conf "ServerFlags" section, and trapping it. (See man xorg.conf for details.) Or just modify the programs creating the windows to notify you when the window contents is modified. (Unless you're using a propitiatory program, the source code for the program is available for you to modify to suit your needs.)


notification, window

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php ajax alert window jayakrishnan Programming 5 08-21-2007 01:27 AM
gnome activity window color... Where to change that? lonecrow Linux - Software 4 04-19-2007 06:32 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 11:22 AM
how to produce pop-up message box / alert window from shell script peb Linux - Newbie 3 02-25-2004 04:14 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 12:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration