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, 12: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:	252
Size:	47.7 KB
ID:	145563   Click image for larger version

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

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

Last edited by Dr. Drib; 02-04-2016 at 03:11 PM.
inedible is offline   Reply With Quote
Old 01-15-2016, 01: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,879
Karma: 6553733
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, 01: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, 04:08 PM   #514
kamerek
Enthusiast
kamerek began at the beginning.
 
Posts: 26
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 02-04-2016, 02:46 PM   #515
collin_schupman
Junior Member
collin_schupman began at the beginning.
 
Posts: 4
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 02-04-2016, 03: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: 35,990
Karma: 22206161
Join Date: Jan 2007
Location: San Borja (Lima), Peru
Device: Kindle PW2(WiFi) / FireHD; Kobo-Glo; Ipad Air; Voyage; Boox C67-ML
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 02-05-2016, 01: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
Old 04-24-2016, 07:20 AM   #518
Staphoent
Enthusiast
Staphoent began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
Help really needed

Quote:
Originally Posted by hawhill View Post
Hints:

It works with a rotated screen. However, the screen must be rotated when the app starts up, not afterwards.

Personally, I use this with USB networking configured to autostart. That way, I can just plug in the Kindle, press "Shift V U" and get going.

Windows users check out kranu's "eMonitor" thread. The software does a similar things and kranu mentions ways how to set up a virtual second display for Windows. I'm not to sure how to run vnc on one display out of many, though. I recommend to start with cloning your existing desktop. You'll probably want your kindle in landscape mode for that, so do the rotation before starting kindlevncviewer.
I am trying to set up my kindle paperwhite three as a external monitor for my Mac as I suffer from Computervision syndrome with normal screens. I have followed all of the advice on here but have got to the stage where my Mac Will recognise my kindle in USB network mode however not allow me to connect in vnc Mode.

I am using Mac with the latest o.s and Vine vnc software. My kpw3 is jail broken running kual and usbnetwork and vncviewer installed. However when I attempt to connect to vine vnc through my kindles vncviewer software, it asks me for a hostort and password. I use 192.168.1.2 and have tried numerous passwords but i still cannot get the kindle to display the macs information.

All help will be greatly appreciated as I desperately want and need to use this function.
Staphoent 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 10:57 PM
Calibre native app on iphone for reading news? bigreat Calibre 2 07-21-2010 11:50 PM
Android Android App: VNC leo315 enTourage Archive 4 05-13-2010 06:06 PM
Android VNC viewer (use your PC from the eDGe!) devseev enTourage Archive 2 04-11-2010 01:21 AM
PalmPDF - native PDF Viewer for Palm OS 5.x Colin Dunstan Reading and Management 2 11-23-2005 02:09 PM


All times are GMT -4. The time now is 01:59 PM.


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