At Fri, 23 Oct 2009 12:54:35 -0700 (PDT) semi-ambivalent <thefronny RemoveThis @gmail.com> wrote:
>
> I've been trying to find an app that will run on a user's desktop and
> display the contents of a text file that lives on a server. These
> users are LTSP client machines running a fluxbox GUI desktop. Message
> display in a movable window would be great but might be able to use a
> crawler, or ticker tape type of app. This would run on an Ubuntu
> (Jaunty) server.
>
> Thanks!,
------Begin simple application---------
#!/usr/bin/wish
# Set the filename here:
global file
set file "/usr/local/etc/messagefile"
message .message
pack .message -fill both -expand yes
proc GetMessage {} {
global file
if {![catch {open $file r} fp]} {
.message configure -text [read $fp]
close $fp
}
after 20000 GetMessage
}
after 20000 GetMessage
------End simple application---------
You'll need tcl and tk installed. This application rereads the message
file every 20 seconds (20000 miliseconds).
Assumes the LTSP client machines are running apps on the server itself
(this is the usual arrangement).
>
> sa
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller RemoveThis @deepsoft.com --
http://www.deepsoft.com/ModelRailroadSystem/