Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2017, 05:28 PM   #46
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Hello!

Interesting project! Sadly, it does not work on my H2O.
Maybe I'm doing something wrong here with the installation?
I have some pictures in /mnt/onboard/kbmenupngs, since I tried KSM, but later uninstalled (disabled) it. I also had fmon and Launcher up and working, but to try kfmon, I reverted to the original on_animator.sh to disable fmon.

I also created a few ini files for kfmon.

for example:

I have a simulate_usb_connection.png in /mnt/onboard/kbmenupngs
And this is /mnt/onboard/.adds/kfmon/config/simulate_usb_connection.ini :
Code:
; This is a working example of a full config file to setup a new watch.
; You can only define a *single* watch per ini file, and the section name *needs* to be "watch".
[watch]
; Those next two keys are MANDATORY
filename = /mnt/onboard/kbmenupngs/simulate_usb_connection.png			; Absolute path of the icon to watch for
action = /mnt/onboard/.adds/vlasovsoft/simulate_usb_connection.sh	; Absolute path of the command to launch when the icon is opened
; The following keys are NOT mandatory
do_db_update = 0				; Do we want to update Nickel's DB for this icon? (Potentially unsafe, disabled by default)
; If you enabled do_db_update, the next three keys NEED to be set
db_title = Szimulált USB csatlakozás				; Title to use for the icon's Library entry if do_db_update = 1
db_author = mobileread			; Author to use for the icon's Library entry if do_db_update = 1
db_comment = WiFi-n másolt könyvek felismeréséhez		; Comment to use for the icon's Library entry if do_db_update = 1


; This is not part of the actual KFMon config, it's just a sentinel value used by the KOReader startup script.
; By default, we reboot the device when exiting KOReader to avoid potential weirdness.
; If for some reason (i.e., avoid the delay a reboot incurs) you want to try to simply restart Nickel instead, set this to false.
; No matter what you do, DO NOT UNCOMMENT THIS KV PAIR!
;reboot_on_exit=true

I did a (few) reboot(s), but nothing happens on opening the simulate_usb_connection.png, as well as on the other png files. I verified that the kfmon binary is in place and the udev hook is also where it should be.

So what could be wrong? I'm running on firmware 3.19.5761

Thank You for any help!
kido.resuri is offline   Reply With Quote
Advert
Old 04-23-2017, 06:08 AM   #47
xpirad
Member
xpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the endxpirad knows the complete value of PI to the end
 
Posts: 14
Karma: 31950
Join Date: Apr 2017
Device: kobo aura one
This is awesome! Thank you so much,man.
xpirad is offline   Reply With Quote
Old 11-25-2017, 09:12 PM   #48
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,040
Karma: 6678009
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@kido.resuri: Wheee, a year late, but, hey, here goes:

Check the log file (/usr/local/kfmon/kfmon.log), my guess is something simple is preventing the inotify watches from being setup. That, or you're hitting a busy database and my crappy timing workarounds don't fit your setup.
Both of those issues should be detailed in the logs, though .

Also, I just pushed updated binaries that include the roughly year-old fix (oops.) for not being basically completely useless if the device ever had the misfortune of being mounted on an OS X box.
And also some possibly broken changes for the whole KOReader/Nickel thingy.
NiLuJe is offline   Reply With Quote
Old 04-14-2018, 11:07 AM   #49
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,040
Karma: 6678009
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Finally released 0.9.5, which fixes (among other things), a long-standing issue when KOReader (or Plato, now) were exiting and trying to restart Nickel. (c.f. #2).

Note to KOReader users: wait until PR #3876 makes it in.
EDIT: Landed in KOReader >= 2015.11-1662 .

Last edited by NiLuJe; 04-16-2018 at 12:36 PM.
NiLuJe is offline   Reply With Quote
Old 04-16-2018, 11:59 PM   #50
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,040
Karma: 6678009
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
And release 0.9.6, which features a few bugfixes (among which a memory leak), as well as a number of quality of life enhancements (improved logging, stupid bugs fixed, and an even more fool-proof protection against spurious events when KOReader or Plato is running*).

EDIT:
*: In the current version, instead of being hardcoded to KOReader & Plato, this is now configurable in a watch config. And of course it's enabled for the KOReader & Plato configs in the repo .

Last edited by NiLuJe; 04-17-2018 at 07:12 PM.
NiLuJe is offline   Reply With Quote
Advert
Reply

Tags
fmon, kfmon, kobo, launcher

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help converting file from HTML>EPub. File is divided in several pages I want to merge leito360 Conversion 6 02-19-2016 12:31 PM
table of content file link not add in toc.ncx file bhambhu Conversion 0 01-14-2016 01:40 AM
FILE. Program to identify a file's format by scanning binary data for known patterns. twobob Kindle Developer's Corner 3 05-13-2013 12:59 PM
AZW2 based launcher for K3 jmseight Kindle Developer's Corner 4 04-02-2012 07:53 AM
Opus Updating EPUB file won't change publisher data on file listing spaze Bookeen 1 03-08-2011 01:34 AM


All times are GMT -4. The time now is 12:32 AM.


MobileRead.com is a privately owned, operated and funded community.