Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2016, 01:50 PM   #511
inedible
Junior Member
inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.
 
Posts: 8
Karma: 26290
Join Date: Apr 2013
Device: Kindle PW
Hi guys, long time no see!

The other day I got bored and decided I'd love to use my kindle as a little tablet again, but I didn't feel like editing the launcher again to hardcode a different host and password... So instead I built a frontend that prompts you!

[Images violate Posting Guidelines for size - MODERATOR]

I couldn't figure out a way to call any sort of native dialog boxes, and it doesn't look like KUAL provides that functionality, so my solution was kind kludgey and convoluted.

I have a script calling kterminal to launch another script that uses zsh's built-in ncurses functionality to draw dialog boxes asking for your hostname and password.

Features I've implemented include full mouse/touchscreen support, functional backspace, enter, and esc keys, working ok and cancel buttons.

This works great on my paperwhite. I assume it won't work properly on other devices, but I have no way to test.

Anyway, I've included everything in the form of a KUAL extension. Just drop the kindlevncviewer folder into your extensions directory and you should be good to go.

Requires kterminal to be installed, also requires zsh to be installed to /usr/bin. On my system it was already there. Might have been included in the jailbreak. It's also included in usbnetworking.

Try it out and let me know if you run into any issues!
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	99
Size:	47.7 KB
ID:	145563   Click image for larger version

Name:	2.png
Views:	96
Size:	47.0 KB
ID:	145564   Click image for larger version

Name:	3.png
Views:	102
Size:	54.8 KB
ID:	145565  
Attached Files
File Type: zip kindlevncviewer-pw-kual.zip (293.3 KB, 20 views)

Last edited by Dr. Drib; Yesterday at 04:11 PM.
inedible is offline   Reply With Quote
Old 01-15-2016, 02:09 PM   #512
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 6,100
Karma: 5614767
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
Yup, zsh is shipped w/ USBNet . Because zsh rules. .
NiLuJe is offline   Reply With Quote
Old 01-15-2016, 02:49 PM   #513
inedible
Junior Member
inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.
 
Posts: 8
Karma: 26290
Join Date: Apr 2013
Device: Kindle PW
Yup, sure beats the hell out of busybox anyway.

So anyway, as hackish as this all is, the gethostname.sh script could be useful to others who want a simple dialog box to grab data from the user, but can't figure out how to set up a toolchain to code a native GTK or whatever app.

It's pretty primitive though, requires kterminal and zsh, writes its data to a temp file which is inelegant, and also doesn't handle the user pressing arrow keys, home, end, etc well. So, if anyone wants to improve on this, feel free to use it in whatever.
inedible is offline   Reply With Quote
Old 01-30-2016, 05:08 PM   #514
kamerek
Member
kamerek began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2016
Device: Kindle DXG fw 3.3 SN B009
Quote:
Originally Posted by hawhill View Post
Hi,



Update 2012 Apr 17: Added dithered mode. This isn't very usable, but it will not flash the screen at all (i.e. not going through black). It only paints white and black pixels to archieve that. The backside is that only high contrast parts are visible. It is more or less a play thing. You can activate this mode by giving the "-dithered" switch on command line. Except for this new play mode, update doesn't bring any new stuff.


.
When I start kncviewer via putty with this -dithered mode how can I switch off dithered mode? Is simple kindles restart enough?
kamerek is offline   Reply With Quote
Old Yesterday, 03:46 PM   #515
collin_schupman
Junior Member
collin_schupman began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2016
Device: Kindle4
lipc-set-prop: not found *What's this command?

Hello,

I've been following this tutorial:

https://www.raspberrypi.org/forums/v...p?f=41&t=62139

I got to the point of working with this library, tried running this script:

/mnt/us/kindlevncviewer/kvncviewer.sh 192.168.15.2:0 &


Got this error:

[root@[192_168_15_244] root]# /mnt/us/kindlevncviewer/kvncviewer.sh: line 6: lipc-set-prop: not found
25/09/2015 03:56:06 ConnectToTcpAddr: connect
25/09/2015 03:56:06 Unable to connect to VNC server
/mnt/us/kindlevncviewer/kvncviewer.sh: line 8: lipc-set-prop: not found

What is 'lipc-set-prop'? Anyone know what's going on?
collin_schupman is offline   Reply With Quote
Old Yesterday, 04:13 PM   #516
Dr. Drib
Grand Sorcerer
Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.Dr. Drib ought to be getting tired of karma fortunes by now.
 
Dr. Drib's Avatar
 
Posts: 33,620
Karma: 18903808
Join Date: Jan 2007
Location: San Borja (Lima), Peru
Device: Kindle PW2(WiFi) / FireHD; Kindle DXG; Kobo-Glo,Mini; Ipad Air, Voyage
Moderator Notice

inedible:
Please take a few moments to read our Posting Guidelines, in particular the part about the maximum image size allowed (600x600 pixels). Images that violate those guidelines will be deleted.

It is every member's responsibility to read our Posting Guidelines and follow them.

Thanks.
Dr. Drib is offline   Reply With Quote
Old Today, 02:26 PM   #517
inedible
Junior Member
inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.
 
Posts: 8
Karma: 26290
Join Date: Apr 2013
Device: Kindle PW
Quote:
Originally Posted by collin_schupman View Post
Hello,

I've been following this tutorial:

https://www.raspberrypi.org/forums/v...p?f=41&t=62139

I got to the point of working with this library, tried running this script:

/mnt/us/kindlevncviewer/kvncviewer.sh 192.168.15.2:0 &


Got this error:

[root@[192_168_15_244] root]# /mnt/us/kindlevncviewer/kvncviewer.sh: line 6: lipc-set-prop: not found
25/09/2015 03:56:06 ConnectToTcpAddr: connect
25/09/2015 03:56:06 Unable to connect to VNC server
/mnt/us/kindlevncviewer/kvncviewer.sh: line 8: lipc-set-prop: not found

What is 'lipc-set-prop'? Anyone know what's going on?
It looks like it can't connect to that IP. Can you ping it? Can you try telnetting into port 5900? It looks like either you're having networking issues, or the vnc server isn't running on 192.168.15.2, or it's not on display:0 (ie port 5900).
inedible is offline   Reply With Quote
Reply

Tags
application, kindle, source, viewer, vnc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free (GPLv2) Translation Dictionaries Elleo Amazon Kindle 3 01-11-2011 11:57 PM
Calibre native app on iphone for reading news? bigreat Calibre 2 07-22-2010 12:50 AM
Android Android App: VNC leo315 enTourage Archive 4 05-13-2010 07:06 PM
Android VNC viewer (use your PC from the eDGe!) devseev enTourage Archive 2 04-11-2010 02:21 AM
PalmPDF - native PDF Viewer for Palm OS 5.x Colin Dunstan Reading and Management 2 11-23-2005 03:09 PM


All times are GMT -4. The time now is 11:10 PM.


MobileRead.com is a privately owned, operated and funded community.