LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-24-2011, 03:47 PM   #1
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
Detect lib-notify notifications?


How to detect libnotify popup notification?

I would like to set while loop that checks for notifications (from liferea rss reader) and play sound when notification is shown..

Have tryed:
Code:
/usr/bin/notify-send -u normal -t 20000      'test'
ps ax | grep notify
but no luck

Last edited by yooy; 04-24-2011 at 03:55 PM.
 
Old 04-24-2011, 04:29 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check your package system. I see 3 possibilities. FAM, pynotify and iWatch. The last one is meant to monitor for altered system files and email and administrator.

The fam server runs as a server and listens to inotify messages from the kernel, providing info on new or altered files. The fileschanged (fron libfam package) receives messages from the fam server and prints the filename or if you want other information about altered files.

Most distro's now use dbus for sending messages. There may be a way to listen to inotify messages on dbus as well. for example, a file browser will listen for messages about altered files, and then update their display with the new info.

Last edited by jschiwal; 04-24-2011 at 04:38 PM.
 
  


Reply


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
Slack: script to detect orphaned libraries, broken lib links, missing dependencies GrapefruiTgirl Slackware 69 10-13-2019 03:39 PM
Could Copying Something From /usr/lib to /lib stop connectivity? onesikgypo Linux - Newbie 12 08-23-2009 11:51 AM
[SOLVED] No _sqlite3.so in /usr/lib/python2.5/lib-dynload rshepard Slackware 3 11-12-2007 02:59 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM

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

All times are GMT -5. The time now is 01:24 PM.

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