Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-10-2018, 10:53 PM   #1
aswanson
Junior Member
aswanson began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2018
Device: Kindle 3
KUAL: Shortcut to run script in myts

Hello all, I've just jumped into this whole jailbreaking thing with an old Kindle 3 and been successful at getting things functional, but I'm having trouble setting up some ease of use shortcuts. Specifically, I'm looking to add a shortcut to KUAL that will launch a new session of myts and run a script inside that session that will ssh to a computer connected over usbnetworking.

I can start a myts shell and run the script from there successfully but I can't figure out how to launch the shell from KUAL and have it run the script automatically. So far I've tried calling my script from the KUAL menu entry, creating a custom version of the /mnt/us/myts/myts.sh launch script, and editing the shebang at the top of my script to use myts with no luck. What is the best way to accomplish this?
aswanson is offline   Reply With Quote
Old 05-11-2018, 08:06 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Wild guess, because I've never used myts:

That depends entirely on whether myts has the ability to run a specific command when bringing up the shell (and/or if you can customize said shell command, because most shells do have that ability, usually via the -c flag).
NiLuJe is offline   Reply With Quote
Advert
Old 05-11-2018, 06:35 PM   #3
aswanson
Junior Member
aswanson began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2018
Device: Kindle 3
Is there another terminal emulator that is more widely used for Kindle 3G these days? myts seemed to be the most recently developed terminal client for the Kindle 3G but I would certainly use something else if it would work better for me.
aswanson is offline   Reply With Quote
Reply

Tags
kual, myts


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to run KUAL on a KT2 sbmk Kindle Developer's Corner 14 07-10-2016 04:45 AM
Need advise - how to run missing libraries in myts? Nihli Kindle Developer's Corner 1 08-24-2014 04:33 PM
Kual shortcut for hidden image viewer (Kindle Touch & PW) Aeris Kindle Developer's Corner 0 10-12-2013 05:09 AM
How do I get a shortcut for a Python script onto the taskbar in W7? Sydney's Mom Workshop 6 03-28-2010 08:11 PM
Could you make a script for changing button shortcut for me? harpum iRex 42 07-13-2008 02:00 AM


All times are GMT -4. The time now is 02:52 PM.


MobileRead.com is a privately owned, operated and funded community.