View Single Post
Old 03-01-2025, 03:54 AM   #1
byrhias
Enthusiast
byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.byrhias can self-interpret dreams as they happen.
 
Posts: 25
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
NickelMenu config error

Hi! I hope I'm posting this in the right place. I'm at my wits end. I've been trying to customise my config file to what I need based on the various examples I've found online but every time I've inserted the file in, I just get a config error that says:

parse config files: file /mnt/onboard/.adds/nm/nmconfig: line21: parse menu_item: field 2: unknown location main (src/config.c:427) (src/config.c:271)(src/config.c:936)

This is the config code I've been trying to use:


Code:
menu_item :main** * :Send to Kobo***  * :nickel_browser :modal :https://send.djazz.se
menu_item :main 	 :Rescan Books		 :nickel_misc :rescan_books_full
menu_item :main**** :Screensaver toggle :cmd_output :500 :quiet :test -e /mnt/onboard/.kobo/screensaver_old
**** chain_failure* :skip :3
**** chain_success* :cmd_spawn :quiet :mv /mnt/onboard/.kobo/screensaver_old /mnt/onboard/.kobo/screensaver
**** chain_success* :dbg_toast :Wallpaper Mode
**** chain_always** :skip :-1
**** chain_failure* :cmd_spawn :quiet :mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old
**** chain_success* :dbg_toast :Cover Art Mode
menu_item :main**** :WiFi on/off******* :nickel_setting :toggle :force_wifi
**** chain_success* :nickel_wifi :toggle
menu_item :main	 :Sketch Pad		 :nickel_extras :sketch_pad
menu_item :main*****:Solitaire******** *:nickel_extras :solitaire
menu_item :main*****:Sudoku*********** *:nickel_extras :sudoku
menu_item :main*****:Dark Mode**********:nickel_setting :toggle :dark_mode
menu_item :main**** :Sleep************* :power :sleep
menu_item :main**** :Shutdown********** :power :shutdown
menu_item :main**** :Reboot************ :power :reboot
menu_item :main**** :USB Connection**** :nickel_misc :force_usb_connection* 

menu_item :reader** :Reading Stats***** :nickel_open :reading_life :stats
menu_item :reader** :Search************ :nickel_open :store :search
menu_item :reader** :Dark Mode********* :nickel_setting :toggle :dark_mode
menu_item :reader** :Screenshots on/off :nickel_setting :toggle :screenshots 
menu_item :reader** :WiFi on/of******** :nickel_setting :toggle :force_wifi
**** chain_success* :nickel_wifi :toggle

Can someone please tell me what I'm doing wrong? Thank you in advance for any help!
byrhias is offline   Reply With Quote