12-13-2012, 12:47 PM | #1 |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
Display ncurses on the kindle - Other things
Hello !
Is it possible to display ncurses application, like htop, on the screen of the kindle 4 non touch version (I want to keep its ebook reader usage) ? How can I install ncurses, if possible ? The original goal is to have a fullscreen digital clock launched using kite, so if I cannot use ncurses, any recommendation ? Ty in advance. ps/edit: the bottom bar on my kindle hide some text in some pdf. I don't want to modify the pdf, I guess this is just a flaw in the software. Any way to fix that without converting the pdf to something mostly ugly ? Last edited by Reventlov; 12-13-2012 at 01:23 PM. Reason: ps/edit |
12-13-2012, 01:56 PM | #2 | |
( ͡° ͜ʖ ͡°){ʇ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
|
totally possible.
Root it. Install a terminal of your choice. On a 4 you could run Xclock or Oclock (i forget which is which) on a custom xserver. I have demonstrated this exact thing working on several threads. (clock wasn't fullscreen but meh) Re PDF: Install the kindle 4 Liberator and see if that suits you. TLDR? https://wiki.mobileread.com/wiki/K4_Index and https://www.mobileread.com/forums/sho...7&postcount=49 Quote:
Or you could use a terminal. or write a native app.. or a kindlet? maybe... or a ... well you get the picture. Yes. Last edited by twobob; 12-13-2012 at 02:06 PM. |
|
12-13-2012, 02:49 PM | #3 | |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
Thank you for your response.
There is no term section in the https://wiki.mobileread.com/wiki/K4_Index page. I tried kiterm and myts but they need launchpad to work, and I didn't find how to use launchpad on the Kindle 4 Non Touch (the thread here doesn't help: https://www.mobileread.com/forums/sho...d.php?t=172086 / I'm using kite at the moment). So, any suggestion on what term I can use ? Quote:
Ty in advance. |
|
12-13-2012, 03:01 PM | #4 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
err you can probably launch kiterm from kite by just putting whatever the launchpad script calls in a bash script for kite. myts would require adaptation for the K4.
just search liberator here in the forums... it's relatively new. |
12-13-2012, 04:29 PM | #5 |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
I try really hard but I find nothing about liberator on the forums (only message about liberator, but no links).
I tried to install Coolreader but I get a «*The device is not registered as a Test Kindle to run this title. Please ask the developer to add this device to the list of registered Test Kindles.*» message. I tried to add the developper keys as suggested in one post, it doesn't work (I rebooted). I tried to follow that, too, same issue: https://www.mobileread.com/forums/sho...&postcount=136 I'll try to use kite tomorrow, good night. |
12-14-2012, 05:37 AM | #6 | |
( ͡° ͜ʖ ͡°){ʇ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:
https://www.mobileread.com/forums/sho...d.php?t=198742 I PM'd you about the other stuff Also as I recall the coolreader keys was the very last to go in. (other than a "test" tweak). so make sure you have the very latest keys from Pops's thread. Last edited by twobob; 12-14-2012 at 05:44 AM. |
|
12-14-2012, 07:17 AM | #7 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
Sorry, I don't mean to be nitpicking, just wanted to draw attention to the fact that my fork of KPV is called "Librerator" and not "Liberator". The first spelling is deliberate. Hope you get it .
|
12-14-2012, 07:41 AM | #8 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
|
12-14-2012, 02:32 PM | #9 |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
Update: Coolreader finally works ! The problem was I wasn't registrated on amazon, so my kindle wasn't "linked", I guess, to something needed by the program. More coming later.
|
12-14-2012, 03:25 PM | #10 | |
( ͡° ͜ʖ ͡°){ʇ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:
"When typos go bad!!!" Cheers EDIT: No qualms Last edited by twobob; 12-15-2012 at 12:52 AM. |
|
12-15-2012, 11:37 AM | #11 |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
Update:
I installed coolreader, and the librerator fork. Pdf reading was fine (I didn't find the options I was searching for: something to manually define a "grid" of margin/border to make the software use the whole screen for text, plus the letters were blurry every two lines). Then the software has started to do strange things, like launch himself randomly at startup, or ignoring my will to close it. After one reboot, my kindle was bricked, I used the fastboot/imx_usb_loader to fix it. Everything works fine at the moment. |
12-15-2012, 02:24 PM | #12 |
( ͡° ͜ʖ ͡°){ʇ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
|
wow. bummer.
|
12-15-2012, 03:29 PM | #13 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@Reventlov
Hm, I don't really understand you. What do you mean "launch himself randomly at startup"? If Librerator is running, and screen saver starts, then after you activate it again, it will still be in Librerator. It's normal behaviour. You need to exit it through Menu->Exit Librerator. To get as much of the screen for text, you need to manually define bounding box, or BBox. Do the following: 1. Make sure you see the whole page on the screen (go to Menu->Zoom & Rotate->Fit to page) 2. Menu->Settings->Manually set BBox. Move the crosshairs to define top-left corner, then press fiveway middle button. Do the same for the bottom right corner. 3. Many pdf files need different settings of BBox for odd and even pages. So, press page forward, then agian Menu->Settings->Manually Set BBox and set it again. 4. Now you have BBox set for both odd and even pages. Go to Menu->Zoom & Rotate -> Fit to content width. You'll get the portion you selected on top. Since most pages are taller than the kindle's screen, a bit of the bottom of the page won't be shown. Pressing page forward will show that part that was missing, then when you press it again it will go to the next page etc. I believe that's what you were looking for. I don't know how can someone brick a kindle using Librerator. Can you tell me exactly what you did? Also, what do you mean with "letters were blurry every two lines"? Can you post a screenshot? Last edited by Kai771; 12-15-2012 at 03:31 PM. |
12-15-2012, 06:16 PM | #14 |
Member
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
|
Ok, so, I reinstalled librerator. And now my kindle is again acting strange.
I followed the instruction for k4nt here: https://www.mobileread.com/forums/sho...d.php?t=198742 I opened a pdf, set the bbox, read some text. Then I used "Exit Librerator" from the menu to exit the programm, but it keeps showing me the File Chooser Menu. That's the current situation. (last time, I used the home button, it showed me an error message, something about a delay of 5 sec, and then my kindle was bricked) So, I'm waiting for instruction to exit librerator. Edit: I have a full root access over wifi, if you need some logs without modifying the current situation. Last edited by Reventlov; 12-15-2012 at 06:23 PM. |
12-15-2012, 06:45 PM | #15 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
Thank you very much for your help with this. It seems to be an issue with cr3runner. I have K3 and use launchpad, so I didn't properly test this. I managed to reproduce the problem on my K3. It seems that both framework and Librerator are running at the same time, and fighting for input/screen. I didn't brick my kindle though - hard reset was enough. I'll remove instructions for cr3runner, so other people wouldn't have the same problem. Try using it with kite, or starting it from ssh. You shouldn't have these problems then.
Last edited by Kai771; 12-15-2012 at 08:46 PM. |
Tags |
clock, hack, ncurses |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Buildroot - Things added for the kindle | twobob | Kindle Developer's Corner | 2 | 08-22-2013 10:18 AM |
10 Things Amazon should correct in the Kindle | RainingLemur | Amazon Kindle | 13 | 09-15-2011 08:56 PM |
Just got a Kindle DX - want to do a few things | nerys | Amazon Kindle | 13 | 07-06-2010 02:33 PM |
Kindle Store - Things I would like to see | pwalker8 | Amazon Kindle | 17 | 11-12-2008 10:25 PM |
iLiad xrandr and ncurses | DHer | iRex Developer's Corner | 6 | 09-02-2008 11:53 AM |