|
|
#526 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,792
Karma: 45694537
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
|
|
|
|
|
#527 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
|
|
|
|
| Advert | |
|
|
|
|
#528 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,792
Karma: 45694537
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
|
|
|
|
|
#529 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
|
|
|
|
|
|
#530 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,496
Karma: 5071002
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 11:35 AM. |
|
|
|
| Advert | |
|
|
|
|
#531 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
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? |
|
|
|
|
|
#533 |
|
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 676
Karma: 5764471
Join Date: Apr 2017
Device: 2 Kobo Claras, Kobo Elipsa, Kindle Paperwhite 3 & 4, iPad 6 & iPhoneXS
|
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 |
|
|
|
|
|
#534 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 745
Karma: 1669432
Join Date: Sep 2008
Location: Auckland - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
|
|
|
|
|
#535 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
|
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.
|
|
|
|
|
|
#536 | |
|
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 676
Karma: 5764471
Join Date: Apr 2017
Device: 2 Kobo Claras, Kobo Elipsa, Kindle Paperwhite 3 & 4, iPad 6 & iPhoneXS
|
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
|
|
|
|
|
|
|
#537 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,496
Karma: 5071002
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 07:11 PM. |
|
|
|
|
|
|
#538 | |
|
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 676
Karma: 5764471
Join Date: Apr 2017
Device: 2 Kobo Claras, Kobo Elipsa, Kindle Paperwhite 3 & 4, iPad 6 & iPhoneXS
|
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 06:34 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 & |
|
|
|
|
|
#540 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
|
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 05: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 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 |