08-15-2010, 11:20 PM | #16 |
Connoisseur
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
|
Sure. You could either have it always happen when next/prev page is pushed, or have it just happen when one or the other next page is pushed, or have a key combo like alt+next/prev page. You just need to send the alt-g keystroke in the script. For example, put this line in a script called \hotkeys\NEXTR.sh (to enable this when using the right next page key only):
Code:
send_keys WAIT ALT G |
08-16-2010, 03:08 AM | #17 |
Connoisseur
Posts: 61
Karma: 3308
Join Date: Aug 2010
Location: France
Device: Kindle 4 (non-touch), Kindle DX Graphite, Asus Transformer
|
All right, then I really need to get this hack to work on my DX :P
|
Advert | |
|
08-16-2010, 02:29 PM | #18 |
Connoisseur
Posts: 61
Karma: 3308
Join Date: Aug 2010
Location: France
Device: Kindle 4 (non-touch), Kindle DX Graphite, Asus Transformer
|
|
08-16-2010, 11:59 PM | #19 |
Connoisseur
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
|
I never tried sending ALT+ or SHIFT+ with my send_keys macro. Sorry! Until I can fix it, use this script for NEXTR.sh or whatever key combo you want to map:
Code:
echo "sendalt 34">/proc/keypad Code:
send_keys WAIT echo "sendalt 34">/proc/keypad |
08-17-2010, 04:12 AM | #20 | |
Connoisseur
Posts: 61
Karma: 3308
Join Date: Aug 2010
Location: France
Device: Kindle 4 (non-touch), Kindle DX Graphite, Asus Transformer
|
Quote:
It's a little weird to have a double flash when turning pages but no more ghosting. Thanks a lot for your work. |
|
Advert | |
|
08-24-2010, 07:16 PM | #21 |
A Reader who can think..!
Posts: 257
Karma: 108298
Join Date: Jul 2010
Location: Earth Planet
Device: Kindle 3 WiFi - Kindle DX (B004)
|
It's a nice job.
But the thread title is Hotkeys for Kindle 2 .. So is it compatible with new updates of Kindle 3 / Kindle DX / DXG ? And can I execute a custom command-line with a hotkey ? |
08-24-2010, 08:28 PM | #22 |
BLAM!
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
|
DX/DXG: Probably.
3: Not out yet. Run anything from the hotkey scripts: Probably, haven't tried it though. |
08-25-2010, 10:13 AM | #23 |
Connoisseur
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
|
Yes, you can do anything you can do from a /bin/sh script, including execution of arbitrary commands.
|
08-26-2010, 11:12 AM | #24 |
A Reader who can think..!
Posts: 257
Karma: 108298
Join Date: Jul 2010
Location: Earth Planet
Device: Kindle 3 WiFi - Kindle DX (B004)
|
Good idea with bad done.
After I tried it I saw it's not compatible with Kindle DX and it's very buggy with display there is a confusion and disturbance with "Error" word appears ! It must done by kindle_update_tool.py to make update package installer/uninstaller. Check this thread: How to create packages for Kindle .. Last edited by meem; 08-26-2010 at 11:18 AM. |
08-26-2010, 01:45 PM | #25 |
Connoisseur
Posts: 61
Karma: 3308
Join Date: Aug 2010
Location: France
Device: Kindle 4 (non-touch), Kindle DX Graphite, Asus Transformer
|
It worked perfectly for my DX.
The difficult part was installing the usbnetwork hack. After that, I had no problem with the hotkeys hack. (of course, it would be easier with an installer) |
08-26-2010, 05:00 PM | #26 |
Connoisseur
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
|
I'm afraid those threads don't really provide me enough information for me to figure out how to make this into an update. If there is a good summary somewhere, I will look into it sometime. I know that it would be more useful as an update package.
|
08-26-2010, 10:41 PM | #27 |
BLAM!
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
|
Basically, you need to create a simple shell script that copy/chmod/symlink/whatever what you need (one for install, another for uninstall) to the root fs, and then you package all the needed files with the python packaging tool. (Not sure I'm making much sense here, you could also take a look at my packages in the fonts hack thread, the install/uninstall scripts & buildscript are there, and they're usually over-commented).
I can whip up a quick install/uninstall script & package set if need be. Although that'll have to wait 'til next week, since I'm busy this week-end . |
08-27-2010, 09:05 AM | #28 |
A Reader who can think..!
Posts: 257
Karma: 108298
Join Date: Jul 2010
Location: Earth Planet
Device: Kindle 3 WiFi - Kindle DX (B004)
|
Ok, We wait for you.
|
08-29-2010, 08:46 PM | #29 |
BLAM!
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
|
Here goes!
(Untested, but hopefully I didn't mess anything up ;p). |
08-30-2010, 11:11 AM | #30 |
Connoisseur
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
|
Excellent, thanks! I will try it out on my K2 later. Now that I see how the update packaging works, will you mind if I take it over and post it in the first post (leaving in place credit for you, of course)?
In the meantime, perhaps we should discuss what hotkeys should be installed by default (such as some of the ones I posted on the thread). I guess ALT plus the top row of keys can't be considered for hotkeys, as they give numbers on some devices? Should we add hotkeys for the symbols for these devices (e.g. SHIFT-ALT-Q gives exclamation point)? My impression is that it's already too hard to remember which number goes with each letter, much less which symbol. I'm thinking I should include hotkeys to launch web browser (ALT-B) and to enable usb networking (ALT-N), as described earlier in this thread. I also hope to include a script for geolocation on US devices (ALT-L). Any other suggestions? |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Frugal Kindle ~ Frugal Finds Under $9 for the Kindle (Kindle eBook Resource) | eTrubrown | Self-Promotions by Authors and Publishers | 3 | 10-10-2010 06:12 PM |
Transfer Kindle books from Kindle PC to Kindle 3 | ppearce | Amazon Kindle | 15 | 09-16-2010 05:11 PM |
Font hacks for the Kindle 2, Kindle International and Kindle DX | edge777 | Kindle Developer's Corner | 17 | 04-30-2010 04:11 PM |
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 11-07-2009 10:06 AM |