03-23-2012, 08:43 AM | #196 |
Groupie
Posts: 159
Karma: 629506
Join Date: Dec 2011
Device: Kobo Touch/Glo
|
A question to the developers:
With the last firmware update top margins of lots of books became very small -just about 1 mm. Could the plugin add a wider top margin in priciple? It can hide page numbers, so it seems to be possible to influence the reading software. I take this non existing margin for very disturbing, especially when light comes from above. |
03-23-2012, 09:04 AM | #197 |
Grand Sorcerer
Posts: 12,160
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
The Page number display is an option that was already present in the Kobo software.
The thing to remember is that the plugin only exposes functionality that is present in the original Kobo code; it adds menu options for features already present; no more; no less. |
03-23-2012, 01:14 PM | #198 | |
Groupie
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Quote:
Great work by the developers on this! Not using the shelf feature but the rest is working very well. Wouldn't be suprised to see the actual KT devs take some of these ideas. Would love to have the plugin load automagically. As someone else described, could the plugin set it self to "not autostart" when it begins and if it comes up OK toggle autostart back on as it's last action? That way if there's a problem, it won't try to load on next boot. Thoughts? |
|
03-23-2012, 01:15 PM | #199 | |||||
Connoisseur
Posts: 64
Karma: 7786
Join Date: Jan 2012
Device: Kobo Touch
|
The hide page numbers thing is actually something different from what the other hide page numbers option does. The tweaks-version hides the bottom label, the firmware option hides page numbers that sometimes appear on the right.
Quote:
I hoped that this would be fixed in the official firmware soon, but it seems adding some formatting options would worth implementing. Quote:
Quote:
Quote:
Quote:
Last edited by ah-; 03-23-2012 at 01:21 PM. |
|||||
03-23-2012, 03:46 PM | #200 |
Groupie
Posts: 159
Karma: 629506
Join Date: Dec 2011
Device: Kobo Touch/Glo
|
ah, today I've downgraded to FW 1.9.16. Tweaks was missing. I reinstalled the plugin, but it does not appear. What can I do?
|
03-23-2012, 04:13 PM | #201 | |
Groupie
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Quote:
The plugin just seems to overwrite a shared library with one that has the tweaks, and which requires the Library setting to be selected to activate them. Rather than this, could you not also provide some extra logic in the boot script (/etc/init.d/rcS) or a script called at the end of the boot script to check to see if the plug-in is set to autostart, and if so backup and then overwrite the stock shared library with a tweaked shared library that doesn't require the library button being pressed? |
|
03-23-2012, 05:01 PM | #202 |
Groupie
Posts: 159
Karma: 629506
Join Date: Dec 2011
Device: Kobo Touch/Glo
|
With the help from Jaden I solved my problem. As far as I can see the recent plugin version is no longer comatible with FW 1.9.16. Unfortunately.
I don't want to upgrade until the margin problem ist solved. But I'd like to use future options of this marvelous plugin. |
03-23-2012, 05:04 PM | #203 | ||
Groupie
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Quote:
Here you go: Quote:
Last edited by RoninTech; 03-23-2012 at 05:09 PM. |
||
03-23-2012, 05:50 PM | #204 | ||
Connoisseur
Posts: 64
Karma: 7786
Join Date: Jan 2012
Device: Kobo Touch
|
Quote:
Quote:
The main Kobo UI is called nickel, and is implemented with Qt embedded. It's basically one large, mostly monolithic C++ application. Nickel supports plugins for new filetypes, and usually a nickel plugin provides functionality to parse files and display them. This is for example used by the pdf viewer. For this, each plugin provides a list of mimetypes that it can handle. When nickel needs to open a file for the first time, it looks for plugins (just shared libraries), loads them and calls the function to get the list of mimetypes. This is how the tweaks plugin is loaded at the moment. For even more details, look at the sourcecode at https://github.com/ah-/koboplugins/ It would be no problem to execute some random binary (installing a ssh server is pretty trivial), the problem is to execute code inside nickel. Another option of getting code to run in nickel would be to fake a Qt plugin (http://qt-project.org/doc/qt-4.8/plugins-howto.html), as they are loaded earlier and require no user interaction. But I haven't looked into that yet. That would also require some code to detect when nickel is fully started, since at the moment I assume that when the plugin is loaded everything is already there and I can start patching things, but during startup that's not the case. This is also probably the reason why the plugin doesn't work with SD cards (just a theory, haven't tested that yet): With an SD card inserted, nickel wants to look at the files on the SD card during startup, and therefore loads the plugin earlier than without an SD card, the plugin doesn't find the stuff it wants to patch as it wasn't loaded yet and does nothing. Also note that nickel loads plugins only once, so since the plugin didn't fully load during startup it also doesn't work if one opens the library later. Last edited by ah-; 03-23-2012 at 05:58 PM. |
||
03-23-2012, 08:05 PM | #205 | |
Connoisseur
Posts: 69
Karma: 10
Join Date: Jan 2012
Location: Australia
Device: Kobo Clara
|
Thanks PeterT, appreciated
Quote:
After all that I can't be assed spending an hour reading though 13 pages of mostly technical discussion to find out whether the plugin just might be interesting. I would have thought it obvious that any new user might want this info FIRST rather than wading through incomprehensible technical talk?? Perhaps in a sticky at the beginning would be a logical place? |
|
03-24-2012, 05:40 AM | #206 |
Groupie
Posts: 159
Karma: 629506
Join Date: Dec 2011
Device: Kobo Touch/Glo
|
Why not adding the following to Kobo-Tweaks, first paragraph?
Options for "Start" menu (hide/show):
Last edited by Rainer Zenz; 03-24-2012 at 08:27 AM. |
03-24-2012, 10:26 AM | #207 |
Groupie
Posts: 159
Karma: 629506
Join Date: Dec 2011
Device: Kobo Touch/Glo
|
Since I've downgraded the FW and installed the plugin again I was amazed that the booksheves I had installed, have survived.
There must be a separate file on the Kobo, that saves bookshelf informations (but I didn't find it). Could Calibre deal with that? Organizing bookshelves on the Kobo is a bit complicated. |
03-24-2012, 10:36 AM | #208 |
Grand Sorcerer
Posts: 12,160
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I think you will find that the shelving info is stored in the sqlite database on the Kobo.
|
03-24-2012, 01:38 PM | #209 | |
Groupie
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Quote:
|
|
03-24-2012, 08:25 PM | #210 |
Connoisseur
Posts: 69
Karma: 10
Join Date: Jan 2012
Location: Australia
Device: Kobo Clara
|
[QUOTE=Rainer Zenz;2015903]Why not adding the following to Kobo-Tweaks, first paragraph?/QUOTE]
Great idea! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Interface Plugin Creation/Debug process | ldolse | Development | 15 | 11-04-2011 09:15 AM |
Having problems with Kindle Device Interface/Page # Plugin | bfollowell | Plugins | 1 | 08-10-2011 05:53 PM |
Reset Sony Device Interface plugin? | NLight95 | Devices | 2 | 04-04-2011 06:40 PM |
Writing an interface action plugin | kiwidude | Plugins | 21 | 11-11-2010 04:11 PM |
Device interface plugin - nook | badmadbug | Plugins | 2 | 09-06-2010 11:03 AM |