Brent Saner on 9 Sep 2007 06:29:59 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] shutdown/terminal question

  • From: "Brent Saner" <brent.saner@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] shutdown/terminal question
  • Date: Sun, 9 Sep 2007 02:29:52 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=RXIlMHfIBhZhsx50FP/6NsjWoEtsUaxEhabPYrgeIj0=; b=HYuADxjzdukUDNjx5Cc3gjYjdV5+RwxSM9qBKy1WapebZrINb/SLY81cnyS15WCsOJv5QvJ2cmJ+OFS+zwHqXKCsWBmtjPMw5opkAP9VIvNvf2RINTunNyHAueMDUg3+6xR0/vP7haa8yvxOf8ldzF001YrRbGKVKZ6xhIk+GdY=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

hmm...that's kind of an ugly hack...
you'd think it'd be part of desktop manager API to include a display for system messages, right? or hell, even wall messages and the like...

i usually am not prone to keep a terminal window open when in a desktop, so it'd be nice to know about disk failures, notices from admins, et. al.

of course, i can think of disadvantages as well, i suppose... security'd be something you'd need to hack around for a bit, as the above feature could open up a good amount of holes.

and other less-malicious-but-still-annoying problems like dialog-spamming, etc....

On 9/9/07, Geoff Rivell <grivell@comcast.net> wrote:
On Sunday 09 September 2007, Brent Saner wrote:
> hey everyone. quick question. i asked this on ##linux (freenode), but
> nobody answered.
>
> if you do a shutdown -r +5 'Going down for reboot' ..... does that display
> the message in some sort of dialog box in desktop managers i.e. kde, gnome?
> or only print it to terminals/terminal emu's?

Should only print it to terminal.

You can use kdialog.  You would have to make sure the display is set to :1 (or
whatever port X is running on.  And probably copy $HOME/.Xauthority to /root


--
...."Have you mooed today?"...

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug





--
Brent Saner
215.264.0112(cell)
215.362.7696(residence)

http://www.thenotebookarmy.org
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug