View Single Post
Old 12-27-2008, 01:41 PM   #1
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Cool 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):
  1. copy newLister somewhere in the flash disk. It cannot be on CF or SD since those devices are not mounted yet when contentLister is started. Personally I use the directory /home/root/my_start/ for this kind of stuff...
  2. copy newLister.rc and newcursor.png to /usr/share/contentLister
  3. edit /home/root/start.sh to start newLister instead of contenLister:
    Code:
    old: (/usr/bin/contentLister --sync ; reboot) &
    new: (/home/root/my_start/newLister --items 12 --sync ; reboot) &
  4. edit: check that newLister and start.sh are executable (chmod +x)
  5. reboot

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:
  1. you can set the number of items with "--items n". The amount of displayed information for each item depends on n: same as with the current contentLister (4-8), title + subtitle or description (9-12), only title (13-20)
  2. A safer way to experiment with the start script is described here: https://www.mobileread.com/forums/showthread.php?t=33700
  3. The attached file contains a file sources.tgz: after unpacking this can be compiled in the same way as the original Irex contentLister (build_from_scratch.sh...)
  4. Comments and questions are welcome.
Attached Thumbnails
Click image for larger version

Name:	5.gif
Views:	1542
Size:	51.7 KB
ID:	19928   Click image for larger version

Name:	12.gif
Views:	1545
Size:	30.6 KB
ID:	19929   Click image for larger version

Name:	20.gif
Views:	1979
Size:	35.1 KB
ID:	19930  
Attached Files
File Type: gz newLister-1.0.tar.gz (780.4 KB, 965 views)

Last edited by hansel; 01-02-2009 at 04:14 PM. Reason: new release
hansel is offline