View Single Post
Old 05-01-2021, 08:21 AM   #150
Aramir
Enthusiast
Aramir began at the beginning.
 
Aramir's Avatar
 
Posts: 41
Karma: 10
Join Date: Sep 2017
Device: Kobo Libra H2O & Glo & Glo HD
Quote:
Originally Posted by Brain View Post
Am I missing something? I have Nickel Menu installed from a one click package, alongside koreader and plato and that's the content of said folder:

Each file in this directory correspond to an entry in NickelMenu except kfmon and doc (wich holds the documentation duh )
Therefore if you don't create a UMR file in this folder there won't be a UMR entry in nickel menu. Obviously you can't just create an empty file and call it a day. So you can read the doc file to know what to put in your file. Use the koreader/plato file as a template.

Here's what I put in my UMR file (I've create a umr.png associated to it but NM doesn't need it, it's useful for kfmon thought)
Code:
# Launch Plato via KFMon
# NOTE: .adds/nm/kfmon will generate this automatically
#menu_item : main : Ultimate Manga Reader : umr     : umr.png

# Launch Plato directly via NM
#menu_item : main : Ultimate Manga Reader : cmd_spawn : quiet : exec /mnt/onboard/.adds/UltimateMangaReader/ultimatemangareader.sh
You might also want to add an entry for kfmon then.
In .adds/kfmon/configs/**** like stated previously use the already existing entries as a template.

My UltimateMangaReader.ini is
Code:
[watch]
; Those next two keys are MANDATORY
filename = /mnt/onboard/umr.png			; Absolute path of the icon to watch for
action = /mnt/onboard/.adds/UltimateMangaReader/ultimatemangareader.sh	; Absolute path of the command to launch when the icon is opened
; The following keys are NOT mandatory
label = UltimateMangaReader					; Label available for use by a GUI frontend
hidden = 0						; Whether to hide this entry from a GUI frontend
block_spawns = 1					; Prevents *any* script from being launched via KFMon while the command launched by this watch is still running.
							; This is useful for document readers, because they could otherwise trigger unwanted
							; behavior through their file manager, metadata reader, or thumbnailer.
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 = UltimateMangaReader					; Title to use for the icon's Library entry if do_db_update = 1
db_author = UltimateMangaReader Devs				; Author to use for the icon's Library entry if do_db_update = 1
db_comment = Streaming Manga Reader application		; Comment to use for the icon's Library entry if do_db_update = 1
Aramir is offline   Reply With Quote