LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-20-2010, 09:40 AM   #1
lopid
Member
 
Registered: Jun 2008
Posts: 156

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, 12:49 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

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.)
 
  


Reply

Tags
notification, window



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 12:27 AM
gnome activity window color... Where to change that? lonecrow Linux - Software 4 04-19-2007 05:32 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 10:22 AM
how to produce pop-up message box / alert window from shell script peb Linux - Newbie 3 02-25-2004 03:14 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 AM.

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