home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] Getting the message out (to an X user)



If you're in x running a small daemon in the background that does this started
from your .xsession should be pretty straight forward.  Perl/Tk or Perl/Gtk
could make short work of that task.  I'm thinking you want a window to pop up
for a user right? 

On Thu, May 27, 2004 at 01:29:03PM -0600, Ed Brown wrote:
> Pop-up message?!  What do you think this is, winblo.., err, rather,
> Windows(TM)?       =)
> 
> Don't know really, but you might consider:
> -sending e-mail (echo "Restart App!" |mail -s "New Config Alert"
> user_name)(sends mail to local user)
> -using 'write' (requires user to have a terminal window open)
> 
> -Ed
> 
> 
> On Thu, 2004-05-27 at 12:12, Jody Harris wrote:
> > I have a "daemon" that runs a task in the background.  When the daemon 
> > is finished, I would like it to send a message to the desktop user 
> > (running KDE 3.2 over X) to restart the primary desktop application. 
> > (Unfortunately, the software cannot be configured to periodically scan 
> > for new files, so the only way to "find" them is to close the app and 
> > restart it.)
> > 
> > How I can I a script (effectively a console user, with no shell) send a 
> > pop-up message to another user (known, default user, in this case)?
> > 
> > Thanks,
> > jody
> 
> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug

-- 

James Hamilton
Southwest Cyberport
http://www.swcp.com
505-232-7992		



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache