![]() |
#1 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
|
Launch KUAL extension from within KOreader
Hello there,
as the title implies, I'd like to launch a specific KUAL extension (MailPush) directly from KOreader on a jailbroken Kidle Touch. I don't know if it's the right forum, if not, please excuse me. Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,108
Karma: 12000222
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
At the very least you should be able to manually run the script that KUAL button runs (check the menu.json content for that extension, the "action" value ) from KOReader's built-in Terminal Emulator? Maybe create an alias for that so you have to type less?
I'm just guessing though... Never tested something like that. Last edited by shamanNS; 06-29-2022 at 04:45 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
|
Quote:
Anybody can help? TIA! |
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,108
Karma: 12000222
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
Quote:
https://github.com/koreader/koreader...sue-1097206917 Current version of KOReader has "terminal.koplugin" folder so try there? ![]() Anyways, you probably have a better chance of getting some useful information if you ask in KOReader thread? https://www.mobileread.com/forums/sh...d.php?t=270835 There you could maybe even check if there is any interest for some of KOReader developers to try and implement a solution that would parse KUAL's extensions folder and from that create some kind of "inline" UI submenu for running those scripts / extensions from within KOReader. Or get info if there is a way to create a plugin or whatever to create UI element with static list of scripts / actions / commands. EDIT: Ok, I've tested with KOReader for Android and creating aliases works. Check the env for a location of "TERMINAL_DATA" variable to find the location of /scripts subfolder. Last edited by shamanNS; 07-02-2022 at 08:19 AM. |
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
|
Thanks a lot for your help.
I think I've found a simpler way. From within KOreader terminal plugin: 1. Tap the "hamburger" icon (see first enclosed picture) 2. enter your command and the name of the alias (second picture); 3. execute your alias (third picture). Easy! Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
|
Here are the pictures:
#1: https://photos.app.goo.gl/fKMcZjLXGdUpZrvdA #2: https://photos.app.goo.gl/cdZcxwNX2VtQuSjWA #3: https://photos.app.goo.gl/K6GkoFEPccVzGSX47 |
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Kindle Touch
|
Hey, sorry for reviving an old thread, but I was trying to do the same thing, running the sh file from the terminal did show the fetching dialogue, even the operation success one, yet, I couldn't find the file i have sent, i would love to see how you entered your command, the links you sent only lead me to a blank album, maybe you removed the photos or something, the main thing i need is the command calling the sh file.
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
https://www.mobileread.com/forums/sh...0&postcount=42
cd /mnt/us/extensions/MailPush; ./mailpush.sh python3 -u src/mailpush.py Is this useful? Since "the terminal did show the fetching dialogue", you can find the file path in the terminal. It is something like "Save it to /mnt/us/xxxxxx". And if the MailPush is version v1.4 or above, you can check the file path history in KUAL menu with the button "View results". Last edited by guoyongzhi; 01-17-2023 at 10:14 AM. |
![]() |
![]() |
![]() |
#9 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Kindle Touch
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,167
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
|
You can also try to long-press a sh file in the KOReader file browser and select "Execute shell script".
|
![]() |
![]() |
![]() |
#11 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
mailpush koreader kual |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW4 SimpleReboot (KUAL Extension) | Kusuri | Kindle Developer's Corner | 3 | 06-28-2022 11:34 AM |
PW [KUAL] Yet another clock extension | MrTick | Kindle Developer's Corner | 3 | 10-21-2019 03:06 PM |
Frontlight Adjust KUAL+ extension | j.p.s | Kindle Developer's Corner | 1 | 01-07-2018 06:51 PM |
xmahjongg for Kindle as Kual extension | Hanspeter | Kindle Developer's Corner | 86 | 12-02-2016 07:06 PM |
kual extension to open a book | shoelesshunter | Kindle Developer's Corner | 14 | 08-16-2016 12:30 PM |