Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2013, 09:19 PM   #1036
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,054
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
Hmm if it isn't making the folder anymore... That's not good.
I don't think that v2.0 made the directory either.

Once upon a time, KUAL would create several "default" buttons if the extension folder was empty or missing.
Seems that has been gone for a long time now.
The GIT history should show when that got dropped.
knc1 is offline   Reply With Quote
Old 08-15-2013, 09:21 PM   #1037
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
hmm hi mate.

Yeah... I will look into that.

That is definitely not a Good Thing TM.

I'm surprised I missed it.

Or perhaps not. Poisoned by familiarity.
twobob is offline   Reply With Quote
 
Advertisement
Old 08-15-2013, 10:19 PM   #1038
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: 5,280
Karma: 5220867
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@ixtab: Ha! Thanks for the details .

@twobob: Will look into it .

EDIT: Should be fixed in git (hopefully without impact when we do have a proper config).

Last edited by NiLuJe; 08-15-2013 at 10:53 PM.
NiLuJe is offline   Reply With Quote
Old 08-15-2013, 11:54 PM   #1039
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
thanks man
twobob is offline   Reply With Quote
Old 08-16-2013, 07:21 PM   #1040
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
2.2 released. (Niggle-fix release)

Tested on ancient - and Virgin - Touch device.

Folder is created. Updated docs to reflect actual output of the 2.x series.

Enjoy.
twobob is offline   Reply With Quote
Old 08-24-2013, 07:40 AM   #1041
Sideromelane
FYIAD
Sideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud ofSideromelane has much to be proud of
 
Sideromelane's Avatar
 
Posts: 13
Karma: 27492
Join Date: Aug 2013
Location: Scotland
Device: Kindle Paperwhite
Awesome piece of software. I'd more-or-less given up on modding my kindle beyond screensavers, due to the hassle involved in accessing the kindlets - I have a lot of books and I'm awful at putting them in collections, so it was always a pain finding anything twice. But KUAL makes it so much cleaner and easier.

What i would like is to see KUAL on bootup, with the default kindle interface launching from within it, and returning to KUAL if you exit the book manager. Would this ever be a goal of the KUAL project?

Can't report any bugs, as I've not hit any, with Paperwhite, latest firmware.
Sideromelane is offline   Reply With Quote
Old 08-24-2013, 07:59 AM   #1042
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
So I understand you correctly:

You want A) KUAL to launch "At boot", then B) to relaunch when you... The next part I am shaky on. Exit the book manager?

You mean like shutdown? or something?

Do you mean relaunch when you stop reading a book?
Sounds like A) is feasible. That would just be a little script.

I'm not sure on the details of B) so can't say for sure. but most things are possible.

As to that be the goal of the project, not really as we use the Amazon kindlet structure as a framework to run from.

However if you outline more clearly what B) might be I could have a peek at it for you.
Did you check out... http://www.mobileread.com/forums/sho...1&postcount=15 perhaps just making it a "one button" firing process would meet your needs.
twobob is offline   Reply With Quote
Old 09-01-2013, 04:11 AM   #1043
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
just noticed this..
if the screensaver kicks in while an app (launched from kual) is running, when returning.. after pressing power button in case of PW.. some apps resume.. while some return to the kual screen..

some examples:
resumes -- leafpad, CM
returns to kual -- kterm, kindle explorer

looks like the 'non-resuming' apps are still running, though.. when pressing power button again to activate screensaver, these apps show up momentarily..

may be a 'data loss' issue if, say, a file is being edited in vi under kterm..

enlightenment..?
nasser is offline   Reply With Quote
Old 09-01-2013, 09:18 AM   #1044
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,054
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by nasser View Post
just noticed this..
if the screensaver kicks in while an app (launched from kual) is running, when returning.. after pressing power button in case of PW.. some apps resume.. while some return to the kual screen..

some examples:
resumes -- leafpad, CM
returns to kual -- kterm, kindle explorer

looks like the 'non-resuming' apps are still running, though.. when pressing power button again to activate screensaver, these apps show up momentarily..

may be a 'data loss' issue if, say, a file is being edited in vi under kterm..

enlightenment..?
That might be a difference in how the (button application) script is calling the external (to KUAL) application.

Check the start-up script files for differences like:
command &
vs:
exec command
knc1 is offline   Reply With Quote
Old 09-01-2013, 04:19 PM   #1045
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
possibly the differences in the titling are causing the underlying LUA to treat the various windows differently.

need a lot more metrics to even begin to guess.

Controlling the visibility of the "return state" of any app using the non-suicide switch I think we will list as "Unsupported" as too many corner cases would lead to endless bloat.
twobob is offline   Reply With Quote
Old 09-02-2013, 02:15 AM   #1046
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Some more trials:

.sh file for leafpad has '&'.. but not there in kterm's .sh.. tried adding it.. but no change..

frotz/glulxe/frob are able to resume after being interrupted by screensaver.. though they are actually running under kterm..

in the .json file for both leafpad and kterm, i had added the "exitmenu": false clause.. leafpad is able to resume but not kterm..

tried removing the "exitmenu": false clause from kterm's .json.. now it's able to resume..

so...
nasser is offline   Reply With Quote
Old 09-02-2013, 05:52 AM   #1047
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,054
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by nasser View Post
Some more trials:

.sh file for leafpad has '&'.. but not there in kterm's .sh.. tried adding it.. but no change..

frotz/glulxe/frob are able to resume after being interrupted by screensaver.. though they are actually running under kterm..

in the .json file for both leafpad and kterm, i had added the "exitmenu": false clause.. leafpad is able to resume but not kterm..

tried removing the "exitmenu": false clause from kterm's .json.. now it's able to resume..

so...
run 'top' (or 'htop' or your favorite process list utility) to see if any combination is leaving behind zombies.

(A zombie is a task that has lost its parent and is called a: 'zombie'.)
knc1 is offline   Reply With Quote
Old 09-02-2013, 06:43 AM   #1048
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Quote:
Originally Posted by knc1 View Post
run 'top' (or 'htop' or your favorite process list utility) to see if any combination is leaving behind zombies.

(A zombie is a task that has lost its parent and is called a: 'zombie'.)
'top' command showed zero zombies..

I tried ps -ef|grep <application_name> and found that the non-resuming applications were indeed running.. did a 'killall <application_name>' to remove..

Removing "exitmenu": false from .json file of Kindle Explorer also made it resumable after screensaver..

leafpad doesn't seem to be affected, though.. still resumes ok even with exitmenu in .json..
nasser is offline   Reply With Quote
Old 09-02-2013, 07:31 AM   #1049
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
To "Forward" things - and additionally to rename the windows

http://www.mobileread.com/forums/sho...d.php?t=194270

to get the current "window name" use

xwininfo -tree -root

if you are unsure of what your thing is called.

To rename / reorder the layers use xdotool (The following assumes you created a false extensions folder called xdotool to install the files to in /mnt/us/extensions/xdotool/bin and the libs are placed in /mnt/us/extensions/xdotool/lib, adjust this to your reality )

Here's the general script to force things frontwards.

Code:
#!/bin/sh
# arg sanity check
if [ -z "$1" ]; then
echo fail, enter search
exit
fi

#adjust to your reality
export LD_LIBRARY_PATH=/mnt/us/extensions/xdotool/lib:$LD_LIBRARY_PATH
export PATH=/mnt/us/extensions/xdotool/bin:$PATH

wids=`xdotool search "$1"`
#wids=`xdotool search "$1" | tac` # optionally reverse the order
# reversing the order is often desirable to get multi layered windows to 
# display their chronologically last child as the front window.
echo "----------------------------"
echo "searching on $1"

# make it space free
INNER=`echo -ne $1 | sed 's/ //g'`
echo tidied name value is: $INNER
echo "----------------------------"

for wid in $wids; do
echo "window being processed --- $wid"

#rename them
#Portrait
#xdotool set_window --name "L:A_N:application_ID:com.""$INNER""_PC:N" $wid
#Landscape
xdotool set_window --name "L:A_N:application_ID:com.""$INNER""_O:R_PC:N" $wid

#stick them at the very top of the stack.
# this order of iteration may not be the right one for all cases.
xdotool windowreparent $wid `xwininfo -root | awk ' /xwininfo: Window id:/  {print $4}'`

done


and call that like ./fronter.sh app_window_name

I'm not suggesting this is a good solution.
Just throwing around a few tricks for your testing.

Last edited by twobob; 09-02-2013 at 12:30 PM. Reason: spaces unknown operands
twobob is offline   Reply With Quote
Old 09-03-2013, 12:13 PM   #1050
richy1989
Connoisseur
richy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel is
 
Posts: 66
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
If I want to use the KUAL in the 5.3.6,
is there any way to got it?

What should I do with the Jailbreak and Kindlet developer certificates and Rescue Pack?
richy1989 is offline   Reply With Quote
Reply

Tags
kindle touch, kindle touch hacks, kindlet, launcher, launcher add-ons, paperwhite, unified

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kite: kindle 3 application launcher fbdev Kindle Developer's Corner 80 07-24-2014 11:44 AM
Launcher icon for KUAL? Aeris Kindle Developer's Corner 20 11-27-2013 02:03 PM
Tools [KUAL]Kindle reflective screen loader icantbebothered Kindle Developer's Corner 26 10-27-2013 10:08 AM
K5 Kual shortcut for hidden image viewer (Kindle Touch & PW) Aeris Kindle Developer's Corner 0 10-12-2013 06:09 AM
application launcher for kindle 3 (kite) fbdev Kindle Developer's Corner 21 05-04-2012 07:02 PM


All times are GMT -4. The time now is 12:06 PM.


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