12-27-2008, 01:41 PM | #1 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Improved ContentLister (with more items on a page)
Hi All,
UPDATED: SEE THE NEW THREAD! https://www.mobileread.com/forums/showthread.php?t=35374 ====== DEPRECATED ===== I have modified contenLister to show more items on a page. I called it newLister so it can coexist with the existing one. It can display anything between 4 and 20 items on a page. I also increased the number of remembered 'recent documents' to 12... This is a 'developer' version: no installer yet. To run it you have to do the following steps (using ssh):
Of course this is at your own risk I've used my improved Iliad without problems for a few days now. I think this is a stable version, but mistakes when editing start.sh can be 'fatal'. Let's be careful out there Happy new 2009 preview, Hansel. Please give some feedback if you try this PS:
Last edited by hansel; 01-02-2009 at 04:14 PM. Reason: new release |
12-27-2008, 01:55 PM | #2 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
That's really great. Well done.
Added: newLister does work. Do remember to set proper file permission with "chmod". I forgot to set it with execution permission and this mistake prevented newLister from executing. I realized my fault after several reboots. Fortunately, I don't have to reflash. Last edited by ericshliao; 12-27-2008 at 03:20 PM. |
Advert | |
|
12-27-2008, 02:57 PM | #3 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
What is the purpose of "reboot" after "/home/root/my_start/newLister --items 12 --sync ; " in step 3? I don't understand.
|
12-27-2008, 03:50 PM | #4 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
PS: thanks for testing! |
|
12-27-2008, 04:42 PM | #5 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
It's really nice to show more items on screen. Currently, I am satisfied with 10 items per page. BTW, it's strange that there is a thin horizontal black line in "newcursor.png".
Added: Here is a "newcursor.png" image file. I removed that horizontal line in hansel's original package. Last edited by ericshliao; 12-27-2008 at 05:15 PM. |
Advert | |
|
12-27-2008, 04:50 PM | #6 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
This looks great, but any idea when we can get a version with an installer?
|
12-27-2008, 05:12 PM | #7 |
Scholar
Posts: 1,008
Karma: 3999312
Join Date: Aug 2008
Location: Denmark
Device: Kobo Libra H2O + iPad Air 4
|
Is this really frontpage stuff?
|
12-27-2008, 06:33 PM | #8 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
12-27-2008, 06:59 PM | #9 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
|
12-27-2008, 07:18 PM | #10 |
Master of the Universe
Posts: 54
Karma: 64
Join Date: Dec 2008
Location: Paris, France
Device: Irex Iliad 2/e
|
Hansel... I don't know what to say!
... Would you like to be my girlfriend? |
12-27-2008, 11:57 PM | #11 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Hi,
@Mr. Goodbar: I can make an installer for this, but one must be very careful to make it very very fail-safe. And I think there must be a robust way to revert to the original contenLister... I'll think about it some more... Without special measures an error in contentLister or the start.sh script will make the Iliad unbootable and require a reflash. See https://wiki.mobileread.com/wiki/Ilia...Implementation. @ericshliao: I thought the small line was an artifact of the partial screen update stuff. It happened to be caused by my sloppy editing with Gimp... Thanks for pointing this out. I'll @Napoleon: you must mistake me for Gretel (see http://creaturebox.com/wp-content/up...sel_gretel.jpg), but I'm glad to make you so happy @Nate the great: Thanks for frontpaging me Hansel. Last edited by hansel; 12-28-2008 at 12:18 AM. |
12-28-2008, 12:00 AM | #12 |
Connoisseur
Posts: 58
Karma: 737
Join Date: Oct 2007
Location: Vancouver
Device: Apple iPad; iRex iLiad
|
This is awesome, hansel. If I could, I'd give you karma twice!
I did notice one small thing: the cursor does not appear when a contents page is initially shown; I have to arrow up or arrow down for it to refresh and appear. (I'm using ericshliao's newcursor.png, but it doesn't look like this should make a difference.) |
12-28-2008, 12:06 AM | #13 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
It should work... I think it may be caused by the new cursor (maybe corrupted by copying it?) Can you try the original one?
|
12-28-2008, 12:25 AM | #14 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Strange. I am using my modified "newcursor.png" without problem as you described. The cursor shows normally as desired.
|
12-28-2008, 12:40 AM | #15 |
Connoisseur
Posts: 58
Karma: 737
Join Date: Oct 2007
Location: Vancouver
Device: Apple iPad; iRex iLiad
|
Originally I copied newLister.rc and newcursor.png to /usr/share/contentlisternLister as specified above. Copying to /usr/share/contentlister instead works like a charm.
Last edited by AlexC; 12-28-2008 at 05:28 AM. |
Tags |
contentlister iliad |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DX: Contrast has Been Improved | ny10522 | Amazon Kindle | 3 | 06-15-2009 02:46 AM |
Has E-ink improved? | Kilarney | Which one should I buy? | 4 | 03-14-2009 07:01 PM |
NewLister 1.0.1: Improved contenLister, more items on a page | hansel | iRex | 9 | 02-13-2009 05:24 AM |
txt2lrf - New and Improved | kovidgoyal | LRF | 42 | 02-10-2009 07:41 AM |
iLiad Better contentLister | rudysplif | iRex Developer's Corner | 5 | 11-26-2008 11:11 PM |