![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
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! ![]() |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Jun 2010
Device: none
|
Remove all *
|
![]() |
![]() |
![]() |
#3 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
|
It's just spaces on my rtf file. I don't know why all the spaces are showing up as *** when I copy and paste the code here. I just tried retyping the whole code on a brand new file and it still doesn't work. A new config error has appeared
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Jun 2010
Device: none
|
Ever thought the rtf maybe the problem?
Last edited by remlap; 03-01-2025 at 09:50 AM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
|
I've tried making multiple new rtf files. I always remove the .rtf before ejecting the drive. I must have plugged and unplugged my Kobo about 50x trying to test this out. Nothing works.
I've tried streamlining the code and the same error still shows. Code:
# Home/Main Screen # menu_item :main :Kernel Version :cmd_output :500:uname -a menu_item :main** * :Send to Kobo*** * :nickel_browser :modal :https://send.djazz.se 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 :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**** :USB Connection**** :nickel_misc :force_usb_connection* menu_item :main**** :Sleep************* :power :sleep menu_item :main**** :Shutdown********** :power :shutdown menu_item :main**** :Reboot************ :power :reboot ![]() ![]() |
![]() |
![]() |
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,958
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
|
Quote:
![]() Last edited by DNSB; 03-01-2025 at 03:32 PM. |
|
![]() |
![]() |
![]() |
#8 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,531
Karma: 167912829
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I cleaned up the lines you posted and saved them as a text file. You do not need to remove the extension, just place the file in the /.adds/nm and NickelMenu will see it. I tested this on a Kobo Libra Colour.
|
![]() |
![]() |
![]() |
#9 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,531
Karma: 167912829
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best of NickelMenu? | enuddleyarbl | Kobo Reader | 27 | 02-06-2023 02:51 PM |
NickelMenu - 'Generator error' message on Libra H2O ? | steveparry | KOReader | 1 | 04-22-2021 12:47 PM |
Error when reading config file in Linux | dator | Server | 6 | 07-29-2018 05:09 PM |
Fontconfig error: Cannot load default config file | krischik | Calibre | 4 | 02-17-2012 09:48 AM |
Fontconfig error: Cannot load default config file | kdbdallas | Calibre | 11 | 09-06-2010 05:32 PM |