02-13-2012, 12:16 AM | #2 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
UPDATE: This is done, look here.
1. Bookmarklet as launchers in menu: I was thinking if running a javascript code as a bookmarklet in webkit browser is possible in Kindle Touch. You know, then services for "Send To Kindle" like tinderizer can be used. With a menu (with launcher) in browser is this a possibility? Last edited by thatworkshop; 08-16-2012 at 01:37 AM. Reason: mission accomplished! |
Advert | |
|
02-13-2012, 01:45 AM | #3 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
3. Alert BEFORE reboot if space in /var is limited:
I wish I had this feature before, as my KT was most probably bricked because it was filled with junk... so the idea is if KT is about to be rebooted and if the space in /var (any where other than /mnt/us/) is limited then alert (play a custom wav file, show a dialog, ...) and prevent from rebooting untill user removes some files. I'll implement this in future. Last edited by thatworkshop; 02-21-2012 at 09:07 PM. |
02-14-2012, 05:04 AM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The system should "boot" under any conditions because the file systems used in *nix reserve a percentage of the storage area for the use of root. Then the initialization process (init, pid 1) runs as user "root". Just because init will run and boot the system, that does not mean that some of the userland programs which it starts will not run out of room. It might be of more use to find out why the system behaves the way you describe and fix the cause. One of the first things to check would be what value has been set for the root file system reserved area. It is possible that it is set too small or has been even reduced to nothing. |
|
02-14-2012, 09:30 AM | #5 |
Groupie
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
|
AFAIK almost everything runs as root on KT. That may be the case here...
|
Advert | |
|
02-14-2012, 11:09 AM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That would in effect defeat the policy of setting aside "root only" file system space to recover from "space exhusted" errors. OR If the O.P. was signed on as 'root' rather than some other normal user - It may be exactly the situation the O.P. described - he did it himself. Known in the trade as: "shooting yourself in the foot" Maybe next time, after learning "useradd" .... |
|
02-21-2012, 09:12 AM | #7 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The following is not from the Kindle Touch, the following is the file system image that is posted as an 'Upgrade' to v-3.2.1 for the Kindle 2 and Kindle DX. That post sort of died when the U.S. Department of Justice siezed megaupload.com - no need to go looking for it, it isn't there any longer. Their new site banner tells why. It can not show what settings where done by the re-packager and what where done by Amazon when the image was created, it does show an example of what to look for. Code:
knoppix:k321$ tune2fs -l /dev/loop1 tune2fs 1.41.12 (17-May-2010) Filesystem volume name: <none> Last mounted on: <not available> Filesystem UUID: 96b81823-9626-43b1-a98b-a8085e28e614 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal needs_recovery Filesystem flags: signed_directory_hash Default mount options: (none) Filesystem state: clean Errors behavior: Unknown (continue) Filesystem OS type: Linux Inode count: 13464 Block count: 409600 Reserved block count: 16384 Free blocks: 40056 Free inodes: 9287 First block: 1 Block size: 1024 Fragment size: 1024 Blocks per group: 8112 Fragments per group: 8112 Inodes per group: 264 Inode blocks per group: 33 Last mount time: Mon Feb 20 17:19:00 2012 Last write time: Mon Feb 20 17:19:00 2012 Mount count: 392 Maximum mount count: -1 Last checked: Thu Jan 1 00:00:33 1970 Check interval: 0 (<none>) Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode: 8 Journal backup: inode blocks It has never been file checked nor the journal recovered. The automatic checking triggers by number of mounts or elapased time are both disabled. The reserved area for user id 'root' is disabled. The reserved area for group id 'root' is disabled. My own, personal opinion - I would clean up that file system and re-set the reserved areas before I used it to "upgrade" anything I own. But that is just myself thinking out loud. Note: I had to make two, one line, changes to my copy of the "Kindle Update Tool" python script to open that posted package, the changes should be obvious to anyone else who has a copy that does not support this package code. The main subject of this thread was about the Kindle Touch problems - So if some one with access to the KT file system image would do the same check and look for the same sort of problems.... Last edited by knc1; 02-22-2012 at 12:23 PM. |
|
02-21-2012, 12:22 PM | #8 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
And while dreaming of changing things, the basic file system image as ext3 and as squashfs:
Code:
knoppix:k3sfs$ df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/loop2 223232 223232 0 100% /mnt/k3sfs knoppix:k3sfs$ cd ../k321 knoppix:k321$ df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/loop1 407661 367605 23672 94% /mnt/k321 |
02-21-2012, 02:46 PM | #9 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
4. A notepad for KT:
Use case: create shell scripts directly on KT... Run that script using a GUI launcher menu. Last edited by thatworkshop; 02-21-2012 at 09:07 PM. |
02-21-2012, 03:45 PM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You already have a small implementation of VI in the Busybox build on the machine. http://en.wikibooks.org/wiki/Learnin...tor/BusyBox_vi |
|
02-21-2012, 04:00 PM | #11 |
Groupie
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
|
Using vi with such a keyboard as is built in KTouch?.. Well, I'm not such a masochistic person... Just imagine pressing Esc on it!
|
02-21-2012, 04:15 PM | #12 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
|
|
02-21-2012, 05:23 PM | #13 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Hasn't anyone made a terminal application for the Touch yet? That "early version" I read described here that only takes up half the screen which might leave you room for an on-screen keyboard. But once you have a terminal application running on your Touch with an on-screen keyboard, then there are hundreds, maybe thousands, of *nix applications you can run. Just because *nix pre-dates GUI displays by a few decades. |
|
02-21-2012, 05:33 PM | #14 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
I believe not.
Quote:
Absolutely... this can be an invaluable application indeed. |
|
02-21-2012, 05:38 PM | #15 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I do have a Kindle Keyboard model - When I received it I went through the "create an Amazon account" and "Register your Kindle" using the built-it web browser and keyboard. I didn't think it was any fun at all. Doing the same on a Kindle Touch? Life is too short. Note: I did not read the thread topic as: "practical ideas for the Kindle Touch". |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torn: Nook Simple Touch, Kindle Touch, Basic Kindle | dblb48 | Which one should I buy? | 12 | 12-13-2011 02:34 PM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 07:58 PM |
Ideas for using the Kindle in the kitchen? | Nanoox | Amazon Kindle | 14 | 12-08-2010 10:40 AM |
Ideas for Kindle Apps? | willCode4Beer | Kindle Developer's Corner | 2 | 02-08-2010 07:53 PM |
Ideas for Kindle 2.0 | markbot | Amazon Kindle | 20 | 11-26-2007 02:13 PM |