|
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/ -- 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. |