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

Re: image viewer that refreshes?



On Tue, 2003-03-11 at 09:24, Gregory Seidman wrote:
> Benjamin Rutt sez:
> } I have a .jpg image that keeps changing (from a webcam).  Is there an
> } image viewer in debian's packages that will display the image and
> } automatically refresh the image when it has changed?  I've already
> } tried gqview, xli and display, and qiv.  ('display -update 1' doesn't
> } update as advertised).
> 
> Let us assume that your image is the free JenniCam, which updates every 20
> minutes, and that you have a cron job or some other process doing the
> downloading:
> 
> #!/bin/sh
> 
> WATCHIMG="/tmp/jennicam.jpg"
> 
> display -immutable "$WATCHIMG" &
> while true
> do
> 	sleep 1200
> 	display -remote "$WATCHIMG"
> done

What, in this case, is a "remote" operation?

-- 
+---------------------------------------------------------------+
| Ron Johnson, Jr.        mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA      http://members.cox.net/ron.l.johnson  |
|                                                               |
| Spit in one hand, and wish for peace in the other.            |
| Guess which is more effective...                              |
+---------------------------------------------------------------+



Reply to: