Peter,
Just in case you are not aware........
I think that your script is great for putting up an image
while the screen stablilizes.
If you just want to refresh the screen, run 'xrefresh' and
the screen comes back looking pretty good.
Thanks for all the contributions!
jca
Peter Gerwinski wrote:
> Hello,
>
> the following tiny script can serve as a quick hack to refresh the
> screen after the Jornada is restored (by pressing the "power" key):
>
> #!/bin/bash
> DISPLAY=:0.0 /usr/X11R6/bin/qiv /usr/share/images/mars.jpg &
> sleep 2s
> kill `ps aux | grep qiv | grep -v grep | cut -b 9-14`
>
> When stored as e.g. /etc/resume-scripts/R99screen this script will
> display a full-screen image for two seconds, giving the screen some
> time to calm down after power resume. After that, the image viewer
> is killed, and X11 will redraw everything.
>
> (Since suspend/resume only works with a replacement ROM, this is
> only useful for those who have such a thing - sorry.)
>
> Happy hacking,
>
> Peter
> --
> WARNING: Do not execute! This software is patented!
> See: http://swpat.ffii.org/patents/txt/ep/0394/160/
>
> echo -ne PROGRESS\\r;for i in `seq 8`;do sleep 1;echo -n %;done;echo
> _______________________________________________
> jornada mailing list
> jornada@handhelds.org
> https://handhelds.org/mailman/listinfo/jornada
Received on Tue Apr 08 23:17:39 2003
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:46:01 EDT