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

Re: [K12OSN] Making a message pop up on a thin client



Here's a script that uses zenity. Thanks to sbalneaves & ogra in #ltsp who put it together a few months ago.  This goes to all connected clients but I'm sure you can modify for just one.

Invoke it with

#scriptname  "This is my message"

-Michael

#!/bin/bash

for PID in $(pgrep metacity); do
   DISPLAY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep DISPLAY | sed -e 's/DISPLAY=//')
   XAUTHORITY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep XAUTH | sed -e 's/XAUTHORITY=//')
   zenity --info --text="$1" &
done



Nadav Kavalerchik wrote:
checkout Robert's TeacherTool: http://www3.telus.net/public/robark/Fl_TeacherTool/
it does what you want and much more :-)

On 10/5/07, Carl Keil <carl snarlnet com> wrote:
Hey Folks,

I've always wondered about sneaky thin client tricks.  It seems like
there's got to be a way to blast some audio or pop up a message on a
thin client remotely, like from the command line.  Does anybody know how
to do that?

Thanks,

ck

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


_______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>

-- 
 

CONFIDENTIALITY NOTICE:
This message, and any attachments that may accompany it, contain information that is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. If the recipient of this message is not the intended recipient, any disclosure, copying, or other use of this communication or any of the information, which it contains is unauthorized and prohibited.  If you have received this message in error, please notify the original sender by return mail and delete this message, along with any attachments, from your computer. Thank you.  

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