Gnome Popup Messages
Dave Hall
dave.hall at skwashd.com
Tue Nov 18 10:48:55 GMT 2008
On Tue, 2008-11-18 at 19:56 +1000, Simon Ives wrote:
> Thanks for the response Dave.
>
> I'm having a problem where the popup message always displays:
>
> "All updates are complete"
>
> The window title is:
>
> "Information"
That is a weird default - keep reading for the (tested) solution :)
>
> I'll document the steps I took below:
>
> ------------------------
>
> Logged in to client machine via ssh.
>
> sudo nano /usr/local/bin/popup
>
> #!/bin/sh
> # Popup message generator
> # Written by Dave Hall - http://davehall.com.au
> USER=`who | grep :0 | cut -d\ -f1`
> export DISPLAY=:0
> export XAUTHORITY=/home/$USER/.Xauthority
> zenity --info text=$1
My bad - change this line to
zenity --info --title="Broadcast message" --text="$1"
That way you get your message, and a nicer title.
It should work better now :)
Cheers
Dave
More information about the ubuntu-au
mailing list