10-30-2012, 08:53 PM | #46 | |
( ͡° ͜ʖ ͡°){ʇ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:
: ) stroll on USB Last edited by twobob; 10-30-2012 at 09:09 PM. |
|
10-30-2012, 08:59 PM | #47 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Using a mouse to operate a touchscreen GUI is annoying to some degree too. Just look at all the complaints about Win8's "The GUI formerly know as Metro".
|
Advert | |
|
10-30-2012, 09:24 PM | #48 | |
( ͡° ͜ʖ ͡°){ʇ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:
But this is the three. short of the nasty 90's overlays or ATTACHING A LEAP (OMG YES!!!!!!!!!!!!!!!!!!) it's a non issue Did I mention I want to attach a leap? ;0 |
|
10-30-2012, 10:26 PM | #49 | |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle /proc]# Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 0 600x800x8
[root@kindle root]# x11vnc -noxdamage -noncache -forever me@dev ~ $ x11vnc -rfbport 5901 -forever -noipv6 [root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh dev:1 me@dev ~ $ kvnc where /usr/local/bin/kvnc is: Quote:
TODO: get -create to do what I expect, or figure out something else. (also link /usr/bin/egrep to /mnt/us/usr/bin/grep since some ancient stuff still calls it and 1.7.2 busybox doesn't support it) - I built the full Gnu Grep just to be doubly sure. EDIT: added fun screeny Last edited by twobob; 10-30-2012 at 11:31 PM. |
|
10-31-2012, 10:06 AM | #50 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Looks like your making great progress there!
Cheer, cheer, cheer. |
Advert | |
|
10-31-2012, 10:11 AM | #51 |
( ͡° ͜ʖ ͡°){ʇ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
|
Thanks. SDL will be a hurdle via this method of course. (It also invokes console)
I'm thinking what would be required to just invoke the keyboard natively. Seriously considering making a gaming kernel, with USB modules, and a fail-over rollback for the existing kernel / modules on uninstall. It would make for a big hammer of a solution but if we could tie in all the improvements to one offering I think (since 3.4 is likely the last ever kernel release) we could have a decent - if overkill - solution to lots of questions. Thoughts anyone? wasted effort? |
10-31-2012, 02:32 PM | #52 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
11-01-2012, 10:29 AM | #53 |
( ͡° ͜ʖ ͡°){ʇ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
|
hmm..
[root@kindle root]# /mnt/us/Xfbdev -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 600x800x8 allows [root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh dev:0 me@dev x11vnc -noxdamage -noncache -forever which allows for keyboard input with the real x server AFAICT but with odd results in the kvncviewer. I'll keep playing. EDIT: (Don't need the visual feedback I think. duh) - yeah. just need the [root@kindle root]# while usleep 90000; do echo 1 > /proc/eink_fb/update_display ; done instead Last edited by twobob; 11-01-2012 at 10:54 AM. |
11-01-2012, 12:06 PM | #54 | |||
( ͡° ͜ʖ ͡°){ʇ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
|
okay. so the logical conclusion of all that is...
since we can start the Xserver AND point x11vnc at it AND run xvncviewer. [root@kindle root]# /mnt/us/Xfbdev -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 600x800x8 -bs -wr Quote:
[root@kindle lib]# x11vnc -noxdamage -noncache -shared -forever [root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh kindle:0 and then on the PC: you could just "step in" to add control. like: vnc <kindle ip or hostname> where vnc was: Quote:
[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh kindle:0 Quote:
EDIT: I had a dig around in the command line switches but nothing leaped out as really useful for further testing. would have to jump into the code. (/mnt/us/kindlevncviewer/kindlevncviewer --help ) /mnt/us/kindlevncviewer/config.lua appears to be all key related. so no obvious easy wins. Last edited by twobob; 11-01-2012 at 12:17 PM. |
|||
11-01-2012, 12:14 PM | #55 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Ah, so close.
Cheer, cheer, cheer. |
11-01-2012, 12:37 PM | #56 | ||
( ͡° ͜ʖ ͡°){ʇ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
|
xedit test: result success
[root@kindle root]# XENVIRONMENT=/mnt/us/sh/X11/app-defaults/Xedit xedit & Quote:
[root@kindle root]# xclock & Quote:
|
||
11-01-2012, 01:10 PM | #57 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Nice progress. Yes, kindlevncviewer's CLI switches are horribly under-documented. They accept everything that libvncclient can handle. My guess was that x11vnc's ZRLE encoding was broken (didn't bother to debug), so I specified an encoding on CLI: "-encodings copyrect,raw" for kindlevncviewer. For all possible switches see here: http://libvncserver.sourceforge.net/...44eb97d2356475
Errm, are you using Xfbdev, als the command lines you quoted indicate? Because the setup I imagined was using Xvfb... |
11-01-2012, 01:16 PM | #58 | |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle root]# XENVIRONMENT=/mnt/us/usr/share/X11/app-defaults/XCalc xcalc
Quote:
|
|
11-01-2012, 01:23 PM | #59 | |
( ͡° ͜ʖ ͡°){ʇ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:
as the Xfbdev does not actually cause an eink update I was wondering about hacking your viewer "over the top" - on the device. like err.. knvcviewer.sh 127.0.0.1:0 : ) Just playing around really to see what is possible. |
|
11-01-2012, 01:47 PM | #60 |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle root]# Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 0 600x800x8 -bs -wr
[root@kindle lib]# x11vnc -noxdamage -noncache -shared -forever [root@kindle root]# /mnt/us/kindlevncviewer/kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "copyrect raw" kindle:0 me@dev ~ $ vnc k works well, thank you mate. (screenshot is now EXACTLY what I see on my PC AND my kindle 3. (LOL, not green though) TODO: Make monochrome Blackbox theme. Feels like real progress now. Heck yeah! EDIT: impressively low load and footprints, all my apps are utterly unstripped and not built for size too. Also. This is NOT with the framework stopped. merely a killall -STOP cvm. sweet! Last edited by twobob; 11-16-2012 at 05:48 PM. Reason: screenie, load - and it's "copyrect raw" not "copyrect,raw" |
Tags |
8bpp, kindle3, startx, x server, xorg |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
startx? On a K3???? | qlob | Kindle Developer's Corner | 1 | 11-21-2012 02:30 PM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | BBeB/LRF Books | 0 | 09-25-2010 08:01 AM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | ePub Books | 0 | 09-25-2010 08:00 AM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | Kindle Books | 0 | 09-25-2010 07:59 AM |
Some Kindle source code digging | TadW | Kindle Developer's Corner | 9 | 10-04-2009 01:34 AM |