View Single Post
Old 10-28-2008, 06:57 PM   #15
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,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by allovertheglobe View Post


Wow, that was fast.

After some experimentation:
It's OK to move the FBReader.desktop to the /System/Desktop/ folder.
It's not OK to modify it:
- changing the path to /System/Programs/ doesn't work, the shortcut works, but then the reader hangs... (after moving Programs there first, of course) I guess some paths are hardwired?
(I would prefer to have all the software in /System, and use the root only for content)
Interestingly, it also seems you have to use the rather more cryptic /media/mmcblk0p1/ than the usual ../Programs for System/Programs or ../../Programs for FBReader's default location
/Programs is where I compiled it to run from. I could have just as easily used /System, but I figured Programs was a good compromise for hiding the data files, as well as a place to browse to all 3rd party programs. It's path is hard coded, but it does have to be put where I compile it for. The shortcut can be put anywhere. iRex has plans to make shortcuts use relative paths instead of the full location, but it's not implemented yet.

Quote:
One bug I ran into when setting up my library path using the software keyboard: I used the TAB key to see if it would auto-complete, but all it did was auto-destruct: the screen refresh went berserk, and after a while I managed to cancel the entry, but re-doing it immediately went back to the screen-refresh cycle, and finally the reader hung when trying to quit.

Now that may well be a bug with the software keyboard... (which could use some contrast adjustment too) Oh, and a file selector would be nice. (Since I'm lazy which is why I tried the auto-complete in the first place)
There's a file selector when you click on the "Add Book" icon. (Book with a plus sign) You should be able to browse the memory card and find whatever you want to add to the library.


Quote:
For some reason, the popup selectors (ex. Font Family, Line Spacing) pop up and disappear almost instantly, so one has to be very fast. EDIT: OK, keep holding down, don't tap... still a bit fiddly. But finally not just one but several SERIF fonts - YES!
I've found it's easiest to click on the box, and use the up and down arrows to navigate. It is a bit funky though.

Quote:
Margins (set in Options) seem to get ignored, at least in .epub.
Looks like an FBReader bug.

Quote:
P.S.: Is there a way to modify the .desktop properties so the shortcut-arrow overlay doesn't appear, like iRex's own icons?
Not sure yet. I've just scratched the surface of the the DR can do.

Quote:
This is nitpicking of course. FBReader works already very well (at least with the .epub books I tried)

Congratulations Adam for getting this working so soon!
It wasn't as difficult as I thought it would be. iRex has really done a lot of things right this time around.
Adam B. is offline   Reply With Quote