LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-26-2009, 12:16 AM   #1
eleifsp
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, 12:33 AM   #2
blackhole54
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.
 
  


Reply



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

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

All times are GMT -5. The time now is 05: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