08-25-2012, 08:52 AM | #256 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Which Kindle Firmware version, which launcher version, and which extensions are you talking about? What *exactly* have you done? What *exactly* did you expect to be the outcome? (Well, I suppose this one is clear: there should have been launcher entries, but there aren't). Can you provide any other information? For example, is there anything suspicious in the logs? You see, we can only try to help you if you provide enough information to start with. "It doesn't work" simply isn't enough information. Last edited by ixtab; 08-25-2012 at 09:11 AM. |
|
08-25-2012, 02:22 PM | #257 |
abibliophobic
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
|
Hello ixtab, my apologies, I deal with "error messages" every day, from the "it's not working" to someone supplying the actual error. Oh and yes I know what you're doing is for free/donation. I've done alot of free support in my time on various forums EDIT as well as over the phone or via email 1/2 way around the world /EDIT so I know how frustrating it is. Not knowing much about this I didn't know what was pertinent and what was just fluff.
Kindle: Touch (obviously) Firmware: 5.1.2 Jailbroken obviously Using simple screensaver hack KindKalc, JBPatch Kindlet hack EDIT. Everything is latest version as of Friday /EDIT unsure as to where to find the logs as I'm new. Anything else I can proffer to help? Last edited by Akirainblack; 08-25-2012 at 02:27 PM. |
08-26-2012, 01:12 PM | #258 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Here's the complete description of what happened to me and how I solved it.
I was testing the newly created .bin installation file for my Komic. As I'm mindless, I created a wrong .bin and this led to unzipping a bin folder plus config.xml and menu.json directly in extensions folder. I don't know what happened next. All I know is that the launcher showed only 3 extensions (HUR, orientation and usbnetwork) and nothing else (though all other extensions were there!). I tried to uninstall the launcher using the .bin provided and install it again: nothing changed. Finally, I decided to manually install the launcher. I extracted KindleLauncher.jar and launcher.conf from launcher_1.2.2.zip (you can find them in src/install). Then I copied them to my Kindle using WinSCP: - KindleLauncher.jar in /opt/amazon/ebook/lib/ - launcher.conf in /etc/upstart/ I restarted my Kindle and now everything is working! Spoiler:
|
08-26-2012, 03:53 PM | #259 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Sounds like a name clash.
Isn't the practice to install each ap in a sub-directory of extensions? Either the sub-directory name was missing or an option was passed to the un-packer to suppress the directory creation. |
08-26-2012, 06:19 PM | #260 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
The problem was I forgot to pack the folder in the zip (I packed only bin folder, config.xml and menu.json). That's why there wasn't a subfolder!
Anyway, I can't understand the problem! |
08-26-2012, 11:04 PM | #261 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
So if one extension puts, say config.xml in the top level directory, the next one that does the same will overwrite the first. I.E: Only the last installed (that doesn't us its own sub-directory) will win out in the over-write process and run as expected. |
|
08-27-2012, 04:09 AM | #262 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
The point is: there weren't such files, so I didn't overwrite anything.
Moreover, I always install extensions with their folders, so that's not the problem! Anyway, now it works... |
08-27-2012, 09:00 AM | #263 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
My point was you are not the only person writing extensions and that even if zip'd with the sub-directory name the archive can by un-zip'd without the sub-directory name.
So it is not possible to rule out a name clash without inspecting the file structure of the machine of the **other people** who have posted problems. |
08-27-2012, 09:36 AM | #264 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Mmmm...
Attached you can see what I unzip with the bin update. And here's the relevant part of the script: Code:
unzip komic.zip -d /mnt/us/extensions/ So, unless others create an extensions with the same folder name komic, it should be impossible to mess up anything. What I did wrong when I had that problem is to forget packing up in the zip the whole komic folder. I packed only what's in it, and this led to having files unzipped directly in extensions. Hope I managed to explain myself! |
08-28-2012, 08:49 AM | #265 |
abibliophobic
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
|
Right, got it fixed. Had to uninstall and then reinstall launcher 1.2.2 before it would see the added extensions. Thanks to those who offered help.
|
09-02-2012, 11:43 PM | #266 |
Zealot
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
Could someone pls tell me how the order of display of items is determined in the launcher. Can the order be customized? thanks.
|
09-03-2012, 12:04 AM | #267 | |
Definitely not King Kong
Posts: 126
Karma: 59238
Join Date: Jul 2012
Location: United States
Device: Kindle Touch
|
Quote:
Code:
{"name": "Bla", "priority": 0, "action": "/bla/bla/bla.sh"}
Code:
{"name": "Bla", "priority": 10, "action": "/bla/bla/bla.sh"}
Last edited by Titano; 09-03-2012 at 12:07 AM. |
|
09-03-2012, 07:21 AM | #268 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"? I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items). Translation: The end-user does not have to be concerned about duplicating an existing priority number? Last edited by knc1; 09-03-2012 at 07:25 AM. |
09-03-2012, 07:49 AM | #269 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
It's a very simple system: every extension can declare their own priority. The sorting is done once all extensions are loaded. If everybody declares a different priority, then all is fine, and entries are sorted in ascending order of their (numerical) declared priority. If two or more extensions declare the same priority, then they are sorted according to the internal rules of the sort algorithm that is internally employed. There are no guarantees about the sort order though, so don't rely on any. |
|
09-03-2012, 12:13 PM | #270 |
Zealot
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
@Titano, @ixtab
thanks for the answers. managed to change the order of items in my launcher using the method, except HackedUpReader, which had been added to the launcher using the HackedUpReaderExtension. HackedUpReader has no menu.json and ends up as the 1st item on the list. |
Tags |
kindle touch hacks |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extended Linux Functionality - GUI Launcher Kindle Touch | dasmoover | Kindle Developer's Corner | 41 | 02-11-2013 06:05 PM |
Removing Ads with the GUI Launcher | vaniaspeedy | Kindle Developer's Corner | 54 | 01-23-2013 08:47 PM |
Image Viewer: An extension for GUI Launcher on Kindle Touch 5.1 | starsy | Kindle Developer's Corner | 20 | 08-04-2012 04:15 PM |
Installing Yifan Lu's Launcher on Kindle Touch 5.03 | pwright2 | Amazon Kindle | 2 | 02-12-2012 10:13 PM |