Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-29-2007, 05: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 07:32 PM. Reason: Remove dangerous temptation
scotty1024 is offline   Reply With Quote
Old 04-29-2007, 05:51 PM   #2
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
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" )
narve is offline   Reply With Quote
Old 06-04-2007, 11:16 AM   #3
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
I run a modded "install-clock" shell script, last time I have bricked my iLiad with a bad script version.
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 ...
Attached Thumbnails
Click image for larger version

Name:	clock.png
Views:	625
Size:	59.6 KB
ID:	3807  

Last edited by yokos; 06-05-2007 at 12:31 PM. Reason: ipdf: 1 icon
yokos is offline   Reply With Quote
Old 06-05-2007, 01:29 PM   #4
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by yokos View Post
I run a modded "install-clock" shell script, last time I have bricked my iLiad with a bad script version.
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 ...
That is the biggest problem with adding addition icons to the toolbar. I've tried, with moderate success, running an additional toolbar above the default or at top. But it seems to cramp the screen area, and cause alignment problems with the contentlister. Until irex makes the second toolbar "float" so it's always at the right hand side of the screen, I don't think there's anything else we can do.
Adam B. is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:02 AM.


MobileRead.com is a privately owned, operated and funded community.