05-01-2020, 06:09 PM | #1 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
NickelMenu: An integrated launcher for Kobo eReaders
NickelMenu
The easiest way to launch custom scripts, change hidden settings, and run actions on Kobo eReaders. ___ NickelMenu adds custom actions the main, reader, browser, and library menus. It works on firmware 4.6+, and persists between firmware upgrades. Installation:
Features:
Troubleshooting/FAQ:
Credits (initial version):
Contributors:
Screenshots: See here. Download | Website | Documentation | Source Code | Release Notes Last edited by geek1011; 01-22-2022 at 01:53 AM. Reason: v0.5.4 |
05-01-2020, 06:15 PM | #2 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Yes, this works! And it's awesome!
I'm working with supporting this with my Kobo-UNCaGED program in the near future. Huge thanks to geek1011 for all the hard work on this one. |
Advert | |
|
05-01-2020, 06:18 PM | #3 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It is indeed mighty cool .
---- Right, to expand a bit on the current possible interactions with KFMon: currently, that involves a bit of manual labor, in that you'll have to tell NickelMenu which bits of KFMon you'd like to run, and you have to make sure to do so in a way that matches your actual current KFMon setup. A quick look at the example should make it obvious, but, say, given KOReader's KFMon config: Code:
[watch] filename = /mnt/onboard/koreader.png action = /mnt/onboard/.adds/koreader/koreader.sh label = Start KOReader Code:
menu_item : main : Start KOReader : kfmon : koreader.png ---- Ultimately, you'll just be able to say in your NickelMenu config "build me some menus out of the stuff registered in KFMon", and magic happens! But that's for later . ---- Also, this requires KFMon 1.4.0, released a few minutes ago . Last edited by NiLuJe; 05-01-2020 at 07:25 PM. |
05-01-2020, 06:22 PM | #4 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Oh, and now I remember why I chose KOReader as an example .
Because I know someone is going to try this: you can perfectly well ask to launch KOReader via a NickelMenu cmd_spawn... as long as you're running KOReader >= 2020.05 (right now, that means a current nightly). Otherwise, stuff may be subtly broken (inside OR outside of KOReader). |
05-01-2020, 06:24 PM | #5 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Random facts, tips and tricks:
Last edited by geek1011; 05-01-2020 at 06:31 PM. |
Advert | |
|
05-01-2020, 08:06 PM | #6 |
Grand Sorcerer
Posts: 7,550
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Thank you for this great work.
Are you taking requests? Could you add the capability to set light levels? What I'd like to do is have one menu item for invert AND set light level to 30 and one menu item for invert and light level set to 8. |
05-01-2020, 08:28 PM | #7 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Given that the fl is accessible over sysfs, you might able to cobble something together with a cmd_spawn and a chain...
Note that Nickel won't be able to track a frontlight level change made via sysfs, though. (It could, on Mk. 7 only, but I've never bothered to check if it actually did so). EDIT: Well, it might not even be accessible via sysfs *at all* on Mk. 6 w/o NaturalLight, anyway, so, never mind me . Last edited by NiLuJe; 05-01-2020 at 08:35 PM. |
05-01-2020, 08:44 PM | #8 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
05-01-2020, 09:14 PM | #9 |
Connoisseur
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
|
Hi, this is a great idea, it is fine.
I have tried usb conection, reboot with a 'sh', and I have tried this in the config file menu_item :main :Coolreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/vlasovsoft/launcher.sh > /dev/null 2>&1 The problem is that when I exit from vlasovsoft program, the items have disappeared and I must install NickelMenu again. Thanks Do you know what can be happened? |
05-01-2020, 09:28 PM | #10 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
@geek1011 you may want to shorten the failsafe time, or make it configurable. |
|
05-01-2020, 09:29 PM | #11 | |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Edit: looks like sherman responded at the same time . Edit 1: Here's a test build with the timeout halved: https://github.com/geek1011/NickelMe...ifacts/5490309. Last edited by geek1011; 05-01-2020 at 09:39 PM. |
|
05-01-2020, 09:36 PM | #12 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@geek1011: Actually, does anything ever delete the .failsafe if the "loaded from .failsafe" check is tripped after a reboot?
(I seem to recall rebooting a couple times and it still being there when I tripped it after my Lucky Luke incident, if you recall . I basically renamed it manually to fix it.). Because if it's still here, even after a reinstall, that check'll probably still get tripped, I suppose? |
05-01-2020, 09:42 PM | #13 | |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
05-01-2020, 09:43 PM | #14 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@geek1011: But is there a successful run if both the .so and .failsafe are loaded?
EDIT: Okay, tried it for fun, yeah, that works, :+1: . Last edited by NiLuJe; 05-01-2020 at 09:45 PM. |
05-02-2020, 04:57 AM | #15 | |
Connoisseur
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
|
Quote:
Am I to understand that the same can not be done with Koreader v.2020.4 (initial)?. Should I install the latest version of koreader? |
|
Tags |
kobo, launcher, ldpreload, nickel |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 05:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 07:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 03:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 02:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 07:42 AM |