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;echoReceived on Tue Apr 08 2003 - 21:58:22 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:26:16 EDT