|04-29-2007, 05:16 PM||#1|
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
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.
/usr/bin/matchbox-panel --size 39 --no-menu --bgcolor White --no-session --default-apps mb-applet-clock,mb-applet-icon-container &
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 07:32 PM. Reason: Remove dangerous temptation
|04-29-2007, 05:51 PM||#2|
Join Date: Oct 2006
Device: iRex iLiad
Nice work scotty! Good to have you back on iliad development. Although I will wait one more upgrade before I install this (since the reflash update is coming "soon" )
|06-04-2007, 11:16 AM||#3|
Pac-Man catched my iLiad.
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Execution rights of /home/root/starth.sh didn't get lost. Uuuh.
I found 1 problem: Because the the clock is added in toolbar, 2 icons in the left disappear.
A screenshot of clock in toolbar is attached.
[EDIT:] Correction: the portrait/landscape icon is missing in pdf viewer; larger/smaller font icons in html/txt viewer are missing ...
Last edited by yokos; 06-05-2007 at 12:31 PM. Reason: ipdf: 1 icon
|06-05-2007, 01:29 PM||#4|
Addicted to Porting
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Old screen vs new screen Iliad||Petter||iRex||16||10-08-2008 05:27 PM|
|iLiad V2 screen||pilotbob||iRex||48||05-20-2008 11:58 AM|
|project: clock for iLiad||yokos||iRex||30||10-22-2007 08:37 PM|
|iLiad is there a Full Screen Clock for the Iliad?||tshare||iRex Developer's Corner||1||10-03-2007 01:42 PM|
|iLiad Did someone around here want an on screen clock?||scotty1024||iRex Developer's Corner||17||09-03-2007 12:52 PM|