View Single Post
Old 09-02-2024, 04:15 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,338
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by indeliblemistake View Post
I can see the .adds directory and after running the OCP package I can see kfmon, koreader and that doc file you mentioned within the nm directory, should this not be the case?
The koreader file in the nm directory will have the line enabling launching from kfmon enabled and the line enabling launching from NickelMenu disabled.
Code:
# Launch KOReader via KFMon
# NOTE: .adds/nm/kfmon will generate this automatically
#menu_item : main : KOReader : kfmon     : koreader.png

# Launch KOReader directly via NM (>= KOReader 2020.05)
#menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
You can delete the first four lines in that file and remove the # from the start of the #menu_item line. This will leave the file looking like this:

Code:
# Launch KOReader directly via NM (>= KOReader 2020.05)
menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
Quote:
Originally Posted by indeliblemistake View Post
I am nowhere near adept or have any experience with coding/programming so I haven't and don't plan on tinkering with NickelMenu to create custom menus to avoid messing things up and am content with the functionality Koreader offers. Is the doc file in the nm directory the config file for NickelMenu?
No. Basically all the commands are documented in that file with any sample commands commented out. You should not use this file to generate your NickelMenu setup since it will be overwritten when a new version of NM is installed. Use another file for your working config.

Quote:
Originally Posted by indeliblemistake View Post
From what I gather in my case, am I right in saying KFMon's main purpose is to launch Koreader?
For me, I uninstalled KFMON since I used NickelMenu directly to launch KOReader and Plato. It can used for quite a few other purposes but I find NickelMenu to be easier to use. Unless you want to hunt for the trigger png files, you end up setting them up in NickelMenu.

Quote:
Originally Posted by indeliblemistake View Post
I have only been using NickelMenu to launch Koreader from the Kobo home page eg. after a reboot, can you advise me as to how can I restore this functionality?

Sorry if I am misunderstanding you, I am trying my best and thank you for your patience!
I would suggest editing the koreader file in the nm directory as suggested in the second code box above. I've also attached a text file that can be placed in the nm directory which adds a few functions I find useful. You can use it as a sample to see what others are doing. If you use this one, you can remove the kfmon and koreader files.
Attached Files
File Type: txt NM.txt (3.4 KB, 136 views)
DNSB is offline   Reply With Quote