Informing other users
Dieter Schicker
dieter.schicker at uni-graz.at
Thu Sep 28 17:41:10 UTC 2006
Peter Garrett wrote:
> On Thu, 28 Sep 2006 18:51:28 +0200
> Dieter Schicker <dieter.schicker at uni-graz.at> wrote:
>
>
>> Scott wrote:
>>
>>> ", "Dieter Schicker spake thusy);:
>>>
>>>
>>>> Peter Garrett wrote:
>>>>
>>>>
>>>>> On Thu, 28 Sep 2006 12:54:04 +0200
>>>>> Dieter Schicker <dieter.schicker at uni-graz.at> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I already asked this question several weeks ago but didn't get an
>>>>>> answer. So I try again:
>>>>>>
>>>>>> In my network I want to be able to send small informative messages to
>>>>>> the users that are currently logged in. I want it that way that a popup
>>>>>> window appears on the users screen which shows the message. I heard
>>>>>> about linpopup, but it requires samba and I'm not willing to install
>>>>>> samba on each workstation.
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>>
>>>>>>
>>>>> Well, this works with ssh:
>>>>>
>>>>> ssh user at host xmessage -display :0 "Free Pizza upstairs in 5 minutes"
>>>>>
>>>>> It isn't very pretty, of course - you could probably use xdialog or zenity
>>>>> to do something similar.
>>>>>
>>>>> Peter
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Thanks, works great!
>>>>
>>>> Dieter
>>>>
>>>>
>>> Heh. I learned something new today. I've never had an interest in such a
>>> thing, but now I can't wait to setup my other box (my previous one
>>> that's that's been collecting dust for 21 months) just to try this out.
>>>
>>> Sad eh? ;-)
>>>
>>>
>>>
>>>
>> No, not sad, but funny! Now I can REALLY annoy my users. ;-)
>>
>
> Annoy them with more *style* like this:
>
> ssh user at host zenity --info --text="The\ world\ as\ we\ know\ it\ ends
> \ in\ 5\ minutes" --display=:0
>
> ;-)
>
> For some reason zenity insists on the \ escape before each space....
> unless there's an option I missed in my quick examination of the help.
>
> Anyway, this looks nicer than xmessage :-)
>
> Peter
>
Hehe, actually that's what I did. Zenity looks nice, although xmessage
made me feel a little bit sentimental thinking back to the old
linux/unix-days ... ;-)
Dieter
More information about the ubuntu-users
mailing list