View Single Post
Old 04-29-2007, 04:16 PM   #1
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Lightbulb On screen clock for your iLiad

Now that iRex is about to release re-flash... some of you may wish to give this a go.

The iLiad uses the Matchbox UI tool kit and one of the standard applets for that tool kit is a little clock. It docks onto the icon bar on the iLiad and when you refresh your screen you'll get the latest time there on your screen next to the trash can.

Built from standard unmodified Matchbox source that iRex has had all along themselves... if you so choose you can now don your adventurous hat and risk brickage of your iLiad by installing this birth right of the Matchbox tool kit.

Extract and then transfer the mb-applet-clock in the attached zip file to the /usr/bin directory of your iLiad. Do a chmod +x upon it so it can be executed, very important to not forget that! Also, do not put a symlink from there to a storage card unless you really want to test iRex's re-flash tool!

You will then need to vi /home/root/start.sh and update it as follows.

Code:
/usr/bin/matchbox-panel --size 39 --no-menu --bgcolor White --no-session --default-apps mb-applet-clock,mb-applet-icon-container &
Order counts, don't get creative, just copy and paste to replace the original line. Remember, you get too creative with this file and your iLiad turns into a very uncreative brick.

Of course if you would rather raise your voice to iRex to get them to make this handy little applet, that could have been there from the very beginning, available from iDS... hey, I agree: give 'em hell!

If you are concerned about power draw. The code sleeps 59.90 out of 60 seconds, waking for roughly 10ms each minute to redraw the time so it can be transfered to the eink display on the next screen refresh (or not, if you are a slow reader.) The clock does not force a screen refresh.

Don't forget to use SetTimeZone to set your local time zone, unless of course you live in UTC.


EDIT: Removed code to prevent more brickage.

Last edited by scotty1024; 05-03-2007 at 06:32 PM. Reason: Remove dangerous temptation
scotty1024 is offline   Reply With Quote