01-23-2013, 08:08 AM | #121 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Pretty much possible without doing something wrong. AFAIR, Menu button in early KT firmwares had class "menu", not id "menu". If "#menu" was introduced just with 5.3.2, then this script will not work on earlier firmwares without adaptation. I will not adapt it, because 5.3.2 should be sufficient to all and it's a POC anyway
|
01-23-2013, 08:17 AM | #122 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
right. a really helpful thing then would be a script that just "pops up" (alert?) the searchbars various DOM elements. then it could easily be adapted by others to be more resilient.
People choose to stay on versions generally to keep running bit-rotted applications that would fail. or features. etc. Thanks for the excellent tip on stuffing pillow with scripts via interrogatePillow. Assuming that this fails "elegantly" (it appears to) there should be no harm in including it regardless. but I will obviously run that by Ixtab get his thoughts too. much obliged. |
Advert | |
|
01-23-2013, 08:25 AM | #123 | ||
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Quote:
|
||
01-23-2013, 09:51 AM | #124 |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
twobob, I'm working on an aloop.sh variant that adds a group index. The idea is for java to use the index to group similar entries together and colorize zebra-style. Useful you think? It will be later today because right now I have an emergency.
BTW, do you object at changing the separator character from the current one to hex 01? The current one is actually > 255 and sort doesn't like that (in its option list). I looked at the java class and it seems to me any char will do, as long as it's guaranteed to not be part of the label. |
01-23-2013, 10:14 AM | #125 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Why not a printable one, which can not appear in a file or pathname? ":", "|", are two that are often used. Where "|" might be a poor choice if the "action" can be a one-line script. But the dir path separator ":" should be safe. |
|
Advert | |
|
01-23-2013, 11:03 AM | #126 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
I was trying to avoid using non printing chars. the : and | chars are for sure used in some descriptions so I was trying to avoid them...
^ maybe??? |
01-23-2013, 11:10 AM | #127 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
01-23-2013, 12:01 PM | #128 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
ALERT: Noob's speaking!
You could also ask developers to provide a new pair of config/menu files that suit this launcher. I don't mind spending some minutes if this makes your work easier (and improves the launcher). If I completely misunderstood the matter, please forgive me! |
01-23-2013, 12:06 PM | #129 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
|
01-23-2013, 12:06 PM | #130 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Quote:
Last edited by twobob; 01-23-2013 at 01:23 PM. |
|
01-23-2013, 12:18 PM | #131 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Maybe escape the description (print -q ....) (if ash has that) and then handle them escaped. |
|
01-23-2013, 12:26 PM | #132 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
This is certainly a bit complicated for current situation, but if there will be movement to discard legacy Yifan Lu's format it'd be nice to adopt existing standard. |
|
01-23-2013, 01:14 PM | #133 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
That's a decent plan IMHO.
as you say perhaps not immediately but certainly "going forward" it would be the better option. It would make the bits ripped out of debian have more value instantly also - as an added bonus. I'm reading up on the links you have provided. Excellent research as ever |
01-23-2013, 02:10 PM | #134 |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Me thinks this launcher is nearly good to go once the separator matter is settled. The desktop spec is certainly excellent, but a launcher is just a launcher, people spend their time inside apps instead of launchers. And if we want to improve the launcher me thinks it's the GUI and overall usability that make a difference. Just my 2 cents.
Back to the separator character, hex 01 is just as good as any other, it's only used in one place in the java script, and in my experience all terminals show it very clearly. It would be different if we had to print it on paper. OTOH, any characters which is illegal in a pathname will work, because the splitter routine can count the fields as it separates them out, and stop after 2 separators to split (in order) index, label, command path+command arguments. As you can see, as long as index (a number) and label (a string that aloop.sh can strip of any instances of the separator character itself) do not include the separator character, we'll be fine. Having said this, I will go with the desktop spec if you want to invest in it. I just don't know where would the launcher display the icons... |
01-23-2013, 02:11 PM | #135 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
okay. let's give it a go your way.
Sounds great. B011 device ey? nice choice |
Tags |
kindle touch, kindle touch hacks, kindlet, kual, launcher, launcher add-ons, paperwhite, sqlite, unified |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Launcher icon for KUAL? | Aeris | Kindle Developer's Corner | 32 | 04-01-2021 07:57 PM |
kite: kindle 3 application launcher | fbdev | Kindle Developer's Corner | 86 | 10-18-2017 10:19 AM |
[KUAL]Kindle reflective screen loader | icantbebothered | Kindle Developer's Corner | 26 | 10-27-2013 09:08 AM |
Kual shortcut for hidden image viewer (Kindle Touch & PW) | Aeris | Kindle Developer's Corner | 0 | 10-12-2013 05:09 AM |
application launcher for kindle 3 (kite) | fbdev | Kindle Developer's Corner | 21 | 05-04-2012 06:02 PM |