Latest LQ Deal: Latest LQ Deals
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 01-26-2009, 01:16 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
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/.*
Old 01-27-2009, 01:33 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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.


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
location of temporary files in linux ritam_bkp Linux - Newbie 5 11-13-2008 01:41 PM
pwmconfig Cannot create temporary file?!? dangerousdave Linux - Software 1 05-01-2006 08:27 PM
Setup is unable to find a hard disk location to store temporary files. Klas Linux - Software 2 02-14-2006 07:47 PM
Installing a temporary(?) file natedogver31 Linux - Newbie 14 04-02-2004 06:05 PM
mogrify: Unable to create temporary file. steelgrave Linux - Software 5 05-31-2003 06:46 PM > Forums > Linux Forums > Linux - Software

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

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