LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-02-2008, 06:09 AM   #1
ashikahamed
LQ Newbie
 
Registered: Jun 2007
Posts: 9

Rep: Reputation: 0
using notify-send


When I use notify-send in scripts run by using '/etc/crontab' notifications are not displayed in Hardy.
In gusty doing the following
Code:
DBUS_SESSION_BUS_ADDRESS="dbus session address of the user" sudo -u "user" notify-send "Some text"
displays notification but when I use this in Hardy I get the following error
Code:
libnotify-Message: Unable to get session bus: Failed to connect to socket /tmp/dbus-'some random text': Connection refused
Is there any other way to make scripts executed by '/etc/crontab' display notifications in Hardy?
 
  


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
log send, sendrec, recv and notify system calls xeon123 Other *NIX 1 02-04-2008 05:26 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Gmail-Notify bjb_nyj101 Linux - Software 3 04-22-2007 04:53 PM
mail notify frelihm Linux - Software 3 07-15-2004 03:50 PM
Notify No Nezar Linux - Networking 0 08-05-2001 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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