06-09-2021, 06:02 PM | #526 |
Grand Sorcerer
Posts: 7,171
Karma: 63764653
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
06-09-2021, 06:08 PM | #527 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-09-2021, 06:52 PM | #528 |
Grand Sorcerer
Posts: 7,171
Karma: 63764653
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
06-11-2021, 06:16 PM | #529 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-12-2021, 12:45 AM | #530 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I'll might take a look if I have time after the patches, firmware investigations, koboutils updates, and some NickelMenu updates. Right now, I'm also working on a major kepubify update, which should be at least 2.5x faster for most people due to some concurrency and zip archive improvements (there's still a bit more room for improvement, since the regexp matching for sentences takes quite a bit of time and can probably be faster if rewritten by hand), will probably also have a web version which works locally and doesn't require sending your files anywhere (it'll be much slower since it's single-threaded, though), will have much cleaner code with better tests, and will correctly detect misnamed HTML files.
Sorry about my lack of response over the last month; I've been extremely busy. And for kepubify, if anyone wants to see the in-progress code: https://github.com/pgaskin/kepubify/network. Last edited by geek1011; 06-12-2021 at 10:35 AM. |
06-14-2021, 11:28 AM | #531 |
Connoisseur
Posts: 72
Karma: 550
Join Date: Apr 2015
Device: Kobo Glo HD | KSM9 | KoReader | Plato
|
I can't run Koreader on the nickel menu. it was working but i thing some of firmware update of Kobo Reader wil it no more work. I see on the menu Generator error and when i click there it shows;
kfmon: error checking '/tmp/kfmon-ipc.ctl': stat: no souch file or directory --- Do i need to get some last version of Kfmon and how can i update this? |
06-21-2021, 05:42 AM | #533 |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
NickelMenu: An integrated launcher for Kobo eReaders
I’m not sure why I never installed NickelMenu before. I’ve been loving using it this year. Thanks!
I have a question about Telnet. Anybody know why the connection dies in the middle of a session? My Kobo Clara isn’t asleep, yet suddenly the terminal stops receiving commands. If I force quit the session, I can no longer connect via telnet to my Clara. The process seems hung on the Clara (though it functions as an eReader with no issues). I have to power cycle it in order to regain telnet access. Then the connection dies again after a few minutes. I’m using the default config: Code:
menu_item :main :Telnet :cmd_spawn :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success :cmd_spawn :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success :dbg_toast :Started Telnet server on port 1023. Sent from my iPhone using Tapatalk Pro |
06-21-2021, 07:21 AM | #534 | |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
06-21-2021, 12:09 PM | #535 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
On Mk. 7, the reader will also suspend-with-the-lights-on pretty aggressively once Wi-Fi is down and the device is unplugged, if you're not actually touching the device and are *in* a book.
|
06-21-2021, 05:25 PM | #536 | |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
Quote:
Do you mean like this? Code:
menu_item :main :Telnet :cmd_spawn :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success :cmd_spawn :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success :dbg_toast :Started Telnet server on port 1023. chain_always : nickel_setting : enable : force_wifi |
|
06-21-2021, 06:02 PM | #537 | |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Code:
menu_item:main:Telnet:cmd_output:500:quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" chain_success:skip:10 chain_failure:cmd_spawn:quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success:cmd_spawn:quiet:exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success:skip:2 chain_failure:dbg_toast:Error starting Telnet server on port 1023 chain_always:skip:4 chain_success:dbg_toast:Started Telnet server on port 1023 chain_always:nickel_setting:enable:force_wifi chain_always:nickel_wifi:disable chain_always:nickel_wifi:autoconnect chain_always:skip:4 chain_success:dbg_toast:Stopped Telnet server on port 1023 chain_always:nickel_setting:disable:force_wifi chain_always:nickel_wifi:disable chain_always:nickel_wifi:enable I haven't tested this, and I don't know if the wifi toggle (to apply the force_wifi setting) is too fast for Nickel to pick up. Last edited by geek1011; 06-21-2021 at 06:11 PM. |
|
06-23-2021, 04:55 AM | #538 | |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
Quote:
(Also, I appreciate the extra code to study. It'll help me understand your tool better. ) Last edited by Cootey; 06-23-2021 at 05:34 AM. |
|
06-27-2021, 11:44 AM | #539 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2016
Device: Kobo Touch 2.0
|
Sometimes when I'm reading in bed I'm in a nice position and don't want to move my hand up to my Kobo Clara to touch the screen for a page turn (I know, lazy) so I've added a physical button. I'm using Nickelmenu to start/stop a script that enables this button to work. Problem is this scrips seems to pause after a few seconds/minutes. I think I read somewhere Nickel will pause any background process, but I can't seem to find where this comment was posted. Touching the screen unpauses the script, making the button work again for a few seconds, but this kinda defeats the purpose of the button
Does anyone know if it's possible to prevent nickel from pausing my script? The line in nickelmenu is something like Code:
:500:quiet /bin/sh /myscript.sh & |
06-27-2021, 04:03 PM | #540 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, that's not going to work.
Hard to say without knowing exactly what you stuff does, but you'd essentially have to trip *actual* hardware bits flagged as wakeup sources (and that'd most likely require true hardware hackery, or possibly custom kernel trickery to flag more stuff as wakeup?; but most of this is out of my wheelhouse). Sidebar: That NM snippet is incomplete, the timeout values *are* documentend, and you don't need to explicitly background the script unless you're doing it wrong (i.e., cmd_output instead of cmd_spawn). Last edited by NiLuJe; 06-27-2021 at 04:07 PM. |
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 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 |