![]() |
#1021 | |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2023
Device: Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#1022 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As for the current release of NickelMenu, it is designed to run commands from the displayed menu so running a single command such as launching KOReader by tapping on the NickelMenu icon is not an option I would want to see. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1023 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2023
Device: Kobo Libra 2
|
Looking to stylise my contact details a little bit behind a 'Whose is this?' menu item. Is there a way to put line breaks in the dbg_msg?
Code:
menu_item :main : Whose is this? :dbg_msg :Name mobile - Number email - email address Like this: FName Name mobile - Phone Number email - email address |
![]() |
![]() |
![]() |
#1024 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,688
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
One way to do it would be to use a shell script. Change your NickelMenu entry to:
Code:
menu_item :main :Whose is this? :cmd_output :500 :/mnt/onboard/.adds/owner.sh Code:
echo FirstName LastName echo Mobile: 800-555-1234 echo E-mail: me@address.com |
![]() |
![]() |
![]() |
#1025 |
Member
![]() Posts: 13
Karma: 10
Join Date: May 2023
Device: Kobo Libra 2
|
I have a Kobo Libra 2 with 4.35.20400 firmware that couldn't install NickelMenu. There is no extra menu item added to the main menu after Kobo rebooted itself. But when I connect it to my computer, I can see the .adds/nm/doc executable in my Kobo directory. Is there any log that I can get to debug the installation?
|
![]() |
![]() |
Advert | |
|
![]() |
#1026 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The doc file is not an executable, it's a documentation file. Have you added a configuration file for NickelMenu which would be placed in the .adds/nm directory?
|
![]() |
![]() |
![]() |
#1027 |
Member
![]() Posts: 13
Karma: 10
Join Date: May 2023
Device: Kobo Libra 2
|
I didn't add the config file before you response as I didn't see a new menu item at step 4 so I stopped there. Then I created a duplicate of 'doc' and renamed it to 'config' but that doesn't seem to help. I see in the main post mentioning posting syslog for debugging. I turned on developer options and saved the log but the log seems to be encrypted? How am I supposed to open the log?
|
![]() |
![]() |
![]() |
#1028 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,688
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
NickelMenu doesn't do anything on its own. You need to create your own configuration file containing all the items you want to be in the menu.
https://github.com/pgaskin/NickelMen...v0.5.4/res/doc You have to read the documentation, decide which menu items you want to go where, and then create your own configuration file to populate the menus. |
![]() |
![]() |
![]() |
#1029 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
# # ----------------------------------------------------------------------------- # menu_item : main : Dark Mode : nickel_setting : toggle : dark_mode menu_item : main : Invert Screen : nickel_setting : toggle : invert menu_item : main : Screenshots : nickel_setting : toggle : screenshots menu_item : main : Import books : nickel_misc : rescan_books_full menu_item : main : USB Connect : nickel_misc : force_usb_connection menu_item : main : Reboot : power : reboot menu_item : main : Shutdown : power : shutdown # menu_item : main : Toggle screensaver : 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 : Screensaver on chain_always : skip : -1 chain_failure : cmd_spawn : quiet: mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old chain_success : dbg_toast : Screensaver off # # ----------------------------------------------------------------------------- menu_item : reader : Dark Mode : nickel_setting : toggle : dark_mode menu_item : reader : Invert Screen : nickel_setting : toggle : invert menu_item : reader : Screenshots : nickel_setting : toggle : screenshots # # ----------------------------------------------------------------------------- menu_item : browser : Invert Screen : nickel_setting : toggle : invert # # ----------------------------------------------------------------------------- menu_item : library :Dark Mode : nickel_setting : toggle :dark_mode menu_item : library :Invert Screen : nickel_setting : toggle :invert menu_item : library :Screenshots : nickel_setting : toggle :screenshots menu_item : library : Import books : nickel_misc : rescan_books_full menu_item : library : USB Connect : nickel_misc : force_usb_connection menu_item : library : Reboot : power : reboot menu_item : library : Shutdown : power : shutdown # |
|
![]() |
![]() |
![]() |
#1030 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2023
Device: Kobo Libra 2
|
![]()
Awesome thanks, I'll give that a try.
Quote:
|
|
![]() |
![]() |
![]() |
#1031 |
Member
![]() Posts: 13
Karma: 10
Join Date: May 2023
Device: Kobo Libra 2
|
Thanks David. I copy-pasted your sample config into the config file under .adds/nm/ and loaded KoboRoot.tgz again and still, no new menu item appear in the main menu. What's funny is that the config ended up appearing in my book lists which I can open and see the content.
![]() |
![]() |
![]() |
![]() |
#1032 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
Quote:
According to instructions in first post: Quote:
|
||
![]() |
![]() |
![]() |
#1033 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
[FeatureSettings] ExcludeSyncFolders=\\.(?!kobo|adobe).*? |
|
![]() |
![]() |
![]() |
#1034 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 2202292
Join Date: Nov 2018
Device: Kobo Libra 2
|
Hi all, I've added this to my nickelmenu config file:
Code:
menu_item : main : Toggle screensaver : 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 : Screensaver on chain_always : skip : -1 chain_failure : cmd_spawn : quiet: mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old chain_success : dbg_toast : Screensaver off If I wanted to exclude only this particular folder from syncing to my kobo library using the ExcludeSyncFolders in the Kobo eReader.conf file, how exactly would I do so? ![]() |
![]() |
![]() |
![]() |
#1035 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
Code:
[FeatureSettings] ExcludeSyncFolders=\\.kobo/screensaver_old |
|
![]() |
![]() |
![]() |
Tags |
kobo, launcher, ldpreload, nickel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 04:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 06:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 02:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 01:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 06:42 AM |