LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   notification-daemon temporary file location? (https://www.linuxquestions.org/questions/linux-software-2/notification-daemon-temporary-file-location-699878/)

eleifsp 01-26-2009 12:16 AM

notification-daemon temporary file location?
 
I've been doing some custom work on the Mumbles daemon, and I'm trying to build a custom plugin that basically hijacks the notifications daemon and reroutes all the requests through to Mumbles. I've reached a bit of a block, though. I need to find the temporary location of the notification-daemon.

If that sounds confusing, I'll give an example: when I unplug my laptop, the power manager checks in a location to see if the notification-daemon is working. if not, it runs /usr/lib/notification-daemon/notification-daemon. I already built a dummy package in that location, but I can't seem to find a way to fool the power manager into thinking that notification-daemon is running.

BTW, I'm running Ubuntu 8.10, and have checked /tmp with normal and root permissions, as well as checking for any files such as /tmp/.*

blackhole54 01-27-2009 12:33 AM

It could be checking any of several things. It could be using {b]ps[/b] (or equivalent) to check for the running daemon. It could be checking for a .pid file in /var/run. Or it could be trying to communicate with it, and when then fails, starting one. There may be other thing I haven't thought of.


All times are GMT -5. The time now is 03:23 PM.