View Single Post
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