Patch to reduce flicker of beagle-status
- From: "Arthur Peters" <amp singingwizard org>
- To: dashboard-hackers gnome org
- Subject: Patch to reduce flicker of beagle-status
- Date: Thu, 23 Jun 2005 16:14:38 -0500
I attached a litle patch that reduces the flickering of the beagle-status
script. On my machine the screen was blank almost half the time with old
version making it useless.
Hope this helps somebody. Commit it if you think it is good.
-Arthur
Index: tools/beagle-status
===================================================================
RCS file: /cvs/gnome/beagle/tools/beagle-status,v
retrieving revision 1.6
diff -u -r1.6 beagle-status
--- tools/beagle-status 16 May 2005 16:05:53 -0000 1.6
+++ tools/beagle-status 18 Jun 2005 23:02:09 -0000
@@ -6,8 +6,11 @@
CMD="beagle-info"
fi
+TEMPFILE=/tmp/$(basename $0)-$$.tmp
+
while [ 1 ]; do
+ $CMD --status | head -n 20 > $TEMPFILE
clear
- $CMD --status | head -n 20
+ cat $TEMPFILE
sleep 1
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]