![]() |
#31 |
Connoisseur
![]() ![]() Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
|
CTB-1.5 patched to support FBReader
Here is a patched new version of Irex DR1000 Content Browser for firmware-1.5. This build is based on the new v.1.5 source and supports file associations for FBreader installed on an SD card. It also features a better set of file icons.
|
![]() |
![]() |
![]() |
#32 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 22726
Join Date: Mar 2008
Location: Europe
Device: Boox max 2
|
thanks for that Viacheslav
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Thanks for updating this with the 1.5 sources. I'll post it to the first post.
|
![]() |
![]() |
![]() |
#34 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2006
|
I'm having a problem: I name a file from .txt to .zip. When I click on that file, fbreader will launch, but the last file that I openned with fbreader shows up...not the file I just clicked on.
|
![]() |
![]() |
![]() |
#35 |
Connoisseur
![]() ![]() Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
|
It simply means that FBReader does not recognise the file. If it fails to open the one requested, it just reverts to the last opened file.
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
The Windlord
![]() Posts: 119
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: iRex DR1000S, BeBook Club S
|
Hi,
Do I understand correctly that this package includes a replacement of part of the firmware (specifically: the content browser)? My brand new DR1000S is at 1.6, so should I wait for a 1.6 build? Is this a repeating cycle? I.e. will this FBReader acces dissapear with each next firmware update, afther which I need to download a new build here to re-enable it? Also, is this download the complete package I need, or do I go get the FBReader program itself from elsewhere? Pardon my ignorance, I'm a brand new DR1000S owner looking to get .chm going. |
![]() |
![]() |
![]() |
#37 | ||||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
The memory of the DR is split in two parts, the internal flash of the DR itself and the SD-card(s) that you insert yourself. Until now, every firmware update replaces the complete content of the internal flash and thus erases everything installed on it.
The programs written/ported by 3rd party developers can be installed on SD only, on flash only or a combination (like FBReader). So when you upgrade the firmware the parts that are on internal flash need to be re-instelled. It is possible that iRex will provide a method in the future so that user-installed programs on flash will 'survive' but until now this is not possible. FBReader has a special thing, it also updates a 'core component' of the DR firmware, the Content Browser (ctb). iRex has published (most of) the code of the firmware, so anyone can make extensions to it. The change made to the ctb, adds the functionality that files associated with FBReader will automatically start the FBreader when you tap on them in the Content Browser (the Content Browser is what you see after you started the DR). To come to your questions: Quote:
Quote:
Quote:
Quote:
![]() |
||||
![]() |
![]() |
![]() |
#38 |
The Windlord
![]() Posts: 119
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: iRex DR1000S, BeBook Club S
|
Excellent. Thanks for all the info. So, better safe than sorry with this new toy, for the CTB I'll wait for a 1.6 build. I suppose that won't be long
![]() |
![]() |
![]() |
![]() |
#39 |
Addict
![]() ![]() ![]() ![]() Posts: 227
Karma: 322
Join Date: May 2009
Device: 1000s
|
there is still not a 1.6 build?
|
![]() |
![]() |
![]() |
#40 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
In R1.6 the link between extension and app-to-start is not fixed anymore in the ctb. See here in the Xournal thread for a quick way to link entensions to an application.
It 're-uses' the newpaper entry. There is also a way to add new filetypes, but I am not sure how safe that is. I currently use the newspaper to link some documents to FBreader like this: Code:
/apps/er/sys/ctb/filetypes/doc-newspaper/descr=Newspaper /apps/er/sys/ctb/filetypes/doc-newspaper/icon_name=newspaper /apps/er/sys/ctb/filetypes/doc-newspaper/template_descr=Newspaper Template /apps/er/sys/ctb/filetypes/doc-newspaper/extensions=htm;html;xhtml;chm;fb2; /apps/er/sys/ctb/filetypes/doc-newspaper/viewer_cmd=/media/mmcblk0p1/Programs/_fbreader/bin/FBReader |
![]() |
![]() |
![]() |
#41 |
Grumpy Old Man
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Good tip. I ended up using the .mobi related setting instead, since FBReader displays .mobi files much better formatted than the integrated reader (UDS), and for that matter all the other formats too: .txt, .rtf, .epub (plus the html ones in Mackx' post)
The only drawback would perhaps be the inability to open protected .mobi files, but who (voluntarily) uses those anyway ![]() This also keeps the NewsReader setting free to associate with Xournal files if so desired, as per the original post. P.S.: I removed my dr1000.ini file to start with a clean slate (not just for file associations) and no new one was created initially. Only after I ran the PC Companion did it put together a new one with all the internal settings etc. Could that be a potential issue for non-Windows users? |
![]() |
![]() |
![]() |
#42 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
PS: The problem of deleting the dr1000.ini file is that you also use the stylus calibration data and the icons you dragged to your toolbar. So better rename the dr1000.ini file so you will be able to merge-back the parts that you want to keep, incase you want to delete your dr1000.ini file (which I do not advice ![]() |
|
![]() |
![]() |
![]() |
#43 | ||
Grumpy Old Man
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Quote:
![]() (*) Like locking up after a few minutes of inactivity (i.e. related to the power management?) I re-installed 1.6 too, for good measure. Quote:
|
||
![]() |
![]() |
![]() |
#44 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
1. Open the latest port of leafpad (with the new BIG file dialog). 2. Browse to ~/.gconf/apps/er/sys/ctb/filetypes 3. Create a new map (e.g. doc-xoj for Xournal) 4. go to doc-txt and open %gconf.xml 5. save it in the new map 6. change the "extensions"-entry in the file from "txt" to e.g. "xoj" and save again. (you can also change this later in the dr1000.ini-file.) 7. close everything and shutdown 8. from now on you can also edit this entry in dr1000.ini and your changes will be remembered. I am not sure if you need to create the entries for the new filetype in dr1000.ini yourself or if they are created after an extra boot-cycle. I created it myself, but it might also be created after an extra reboot-cycle. Be casefull you are playing with system files, you might need to re-install the firmware again if you do something wrong. |
|
![]() |
![]() |
![]() |
#45 |
ex-IRX developer
![]() ![]() ![]() Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
Changes you make in the dr1000.ini are imported into the gconf registry of the device when you insert the card, but it will not create keys which are added to dr1000.ini but don't exist there.
By changing %gconf.xml files, you basically add keys to the gconf (XML based) backend directly. While this probably works fine when you don't make any mistakes, the proper way to do this is with gconftool (/usr/bin/gconftool-2). Using this tool, you can add new registry keys to the device. See gconftool-2 manpage here An even better approach is to edit the gconf schema file which holds the extension associations (somewhere in /etc/gconf/schemas), or - better yet - create a separate one for FBReader. When you "install" the schema file (#gconftool-2 --install-schema-file=FILENAME), the appropriate keys are created in the XML files in ~/.gconf/. In an ideal world, the installation of the gconf schema would be part of the application's install process. Now, the next time you shut down the device, connect to USB or 'safely remove' the SD card, dr1000.ini is updated with the new keys. Mind that the schema file in /etc will be lost on installation of new firmware images, but the gconf registry itself (in ~/.gconf) will stay. In case you run into troubles, you can revert to the original gconf registry by choosing "Reset to factory defaults" in Settings/SD Card. Last edited by Gertjan; 08-09-2009 at 04:38 PM. Reason: Typo's |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updated FBReader (v 0.12.2)for SmartQ's | Nation.A.List | Alternative Devices | 0 | 02-09-2010 05:15 PM |
Adobe E-book support in the (updated) prs-500 | insided | Sony Reader | 9 | 11-30-2009 05:23 PM |
Is there a way to uninstall the FBReader 0.8.14 with Registry Support? | genome2k | iRex | 2 | 09-22-2008 05:35 PM |
FBReader with DRM support? | wallcraft | Reading and Management | 10 | 03-19-2008 02:37 AM |
FBReader 0.7 released with Plucker support | MishaS | Reading and Management | 7 | 11-23-2005 11:11 PM |