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 11-03-2012, 02:34 AM   #76
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
I shoved leafpad in the mix as well.
twobob is offline   Reply With Quote
Old 03-14-2013, 01:22 PM   #77
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
Lightbulb

Quote:
Originally Posted by twobob View Post
well I managed to get a WHOLE pile of new stuff in Buildroot - whether or not it actually works yet I am not sure. might have slightly piled a bunch of bins in the wrong dir while mnt'ed rw. oops

A quick (3 hour) wipe should fix it right up though ready to test.

I may stick some more apps in the cooker while it fixes. I HOPEFULLY have gtk2 libglib2 midori, a whole pile of supporting libs and webkit built for the 3 now.

: ) yeah I'll do some more, why not
hmm... And in the end the 2007q3 simply refused to build the glib2 stuff...

So.... I kept digging, for months as it happens...

There was an old tip I found just today in https://wiki.mozilla.org/Mobile/DFBPorting about rolling back to the 2.16.3 glib2 version as the 2.30.3 just dies on the qsort_r error that has been bugging me FOREVER.

I'll give that a go I think. Jut to get that monkey off my back

I will also try with the 2012.03 TC as knc1 has provided a way to make that build more backwardsly (is that a word?) compliant code.

Cheers.

EDIT:Okay so I got that to build...

Ill try rolling forward to 2.27.2 so I can get gdkpixbuf support - that MIGHT give the native libgtk2 a chance to build.

EDIT:

Hmm.. might be onto something... I'll make clean and try again.

Last edited by twobob; 03-14-2013 at 01:42 PM.
twobob is offline   Reply With Quote
Old 03-14-2013, 01:49 PM   #78
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
NOTE TO SELF

SQL-LITE does NOT build with -ffast-math!

EDIT: sigh... and now libiffi wont build. honestly. that 2007q3 TC is really tough work.

Last edited by twobob; 03-14-2013 at 01:56 PM.
twobob is offline   Reply With Quote
Old 03-14-2013, 02:55 PM   #79
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
(make the folders first)

me@dev ~ $ BINARY=midori for FILES in $(readelf -d ~/GIT/buildroot-2012/output/target/usr/bin/"$BINARY" |awk -F\[ ' /Shared library/ {print $2}' | cut -d"]" -f1); do scp ~/GIT/buildroot-2012/output/target/usr/lib/"$FILES" root@kt:/mnt/us/extensions/"$BINARY"/lib/; done

For when I am bored of figuring out what libs to move across. and unrolling the symlinks.

This won't catch them all but does a decent chunk. Happy to get feedback on improving this.
Attached Thumbnails
Click image for larger version

Name:	Selection_168.png
Views:	77
Size:	26.5 KB
ID:	102889  

Last edited by twobob; 03-14-2013 at 03:06 PM.
twobob is offline   Reply With Quote
Old 10-19-2013, 09:57 AM   #80
idoit
Plus
idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.
 
idoit's Avatar
 
Posts: 356
Karma: 262144
Join Date: Jan 2012
Location: Tehran, Iran - Halifax, Canada
Device: K3.₄, iPhone 5s
So to sum it up, is the main issue in this project, getting 5-way keys to work as mouse/cursor on X11?

Last edited by idoit; 10-20-2013 at 07:47 PM.
idoit is offline   Reply With Quote
Old 10-19-2013, 10:11 AM   #81
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
two fold.

the lower nibbles don't render correctly so things appear fuzzy.
making 4 way work as a "cursor".
twobob is offline   Reply With Quote
Old 10-20-2013, 07:49 PM   #82
idoit
Plus
idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.
 
idoit's Avatar
 
Posts: 356
Karma: 262144
Join Date: Jan 2012
Location: Tehran, Iran - Halifax, Canada
Device: K3.₄, iPhone 5s
Quote:
Originally Posted by twobob View Post
two fold.

the lower nibbles don't render correctly so things appear fuzzy.
making 4 way work as a "cursor".
The Kindle User's Guide calls it 5-way controller. Don't they know even 3-way is really abnormal out and about here?!

Last edited by idoit; 10-20-2013 at 07:55 PM.
idoit is offline   Reply With Quote
Old 11-11-2013, 01:03 AM   #83
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
So I revisited this

nibble order code is "somewhere" in /usr/local/src/xorg-server-1.4.2/fb/*

if someone can figure out where I can happily rebuild this with that corrected-byte-order support in Xfbdev.

I rebuilt perl, xmodmap, xbindkeys, and xorg-server to all run natively (in /mnt/us/extensions/) so as to facilitate eventually getting jessie's savory to run properly.
(note that is the Authors Jessie, not the debian release heh.)

All this stuff is being built out of lenny, but run natively with no debian.

I fixed up the missing kdrive bits from his patch. and replaced xterm with lxterminal for now.

so just keyboard/5-way support and nibble order left to do.

jump in and help people...

SOURCE CODE: https://dl.dropboxusercontent.com/u/...-armv6l.tar.xz

CURRENT COMPILED BUNDLE: https://dl.dropboxusercontent.com/u/...ns-xorg.tar.xz


[root@kindle root]# /mnt/us/extensions/xorg/bin/mystartx
Quote:
already running. bailing at /mnt/us/extensions/xorg/bin/unlock_daemon line 4.
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Warning: mode not found, using default
sh: /mnt/us/extensions/xorg/bin/xkbcomp: not found
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Kbd option key () of value ((null)) not assigned!
Kbd option key () of value ((null)) not assigned!
Couldn't find keyboard driver keybd
Couldn't find keyboard driver evdev
Couldn't find keyboard driver evdev
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/OTF, removing from list!
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/Type1/, removing from list!
[config/hal] couldn't initialise context: (null) ((null))
xmodmap: /mnt/us/extensions/xorg/bin/xmodmaprc:1: bad keysym in remove modifier list 'Alt_L', no corresponding keycodes
xmodmap: /mnt/us/extensions/xorg/bin/xmodmaprc:2: bad keysym in remove modifier list 'Control_L', no corresponding keycodes
xmodmap: /mnt/us/extensions/xorg/bin/xmodmaprc:3: bad keysym target keysym 'Control_L', no corresponding keycodes
xmodmap: /mnt/us/extensions/xorg/bin/xmodmaprc:4: bad keysym target keysym 'Alt_L', no corresponding keycodes
xmodmap: 4 errors encountered, aborting.

(lxterminal:10682): Gtk-WARNING **: GModule (/usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so) initialization check failed: Gtk+ version too old (micro mismatch)

(lxterminal:10682): Gtk-WARNING **: Error loading icon from file '/mnt/us/extensions/lxterminal/share/pixmaps/lxterminal.png':
Couldn't recognize the image file format for file '/mnt/us/extensions/lxterminal/share/pixmaps/lxterminal.png'

(lxterminal:10682): Vte-WARNING **: can not run /usr/lib/libvte9/gnome-pty-helper
That runs... (with the nibble issue, and the invalid input) happy to take advice...

Last edited by twobob; 11-11-2013 at 01:27 AM.
twobob is offline   Reply With Quote
Old 11-11-2013, 01:31 AM   #84
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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]# DISPLAY=:0 Xvfb tty=/dev/ttymxc0 -screen 0 600x800x16
Quote:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
sh: /mnt/us/extensions/xorg/bin/xkbcomp: not found
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/OTF, removing from list!
Could not init font path element /mnt/us/extensions/xorg/lib/X11/fonts/Type1/, removing from list!
[config/hal] couldn't initialise context: (null) ((null))
[root@kindle root]# LD_LIBRARY_PATH=/mnt/us/extensions/system/usr/lib:$LD_LIBRARY_PATH /mnt/us/extensions/xorg/bin/x11vnc --forever

[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh -encoding "copyrect,raw" 127.0.0.1
Quote:
11/11/2013 06:28:59 VNC server supports protocol version 3.8 (viewer 3.8)
[root@kindle root]# /mnt/us/extensions/lxterminal/bin/lxterminal
Quote:
(lxterminal:27678): Gtk-WARNING **: GModule (/usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so) initialization check failed: Gtk+ version too old (micro mismatch)

(lxterminal:27678): Gtk-WARNING **: Error loading icon from file '/mnt/us/extensions/lxterminal/share/pixmaps/lxterminal.png':
Couldn't recognize the image file format for file '/mnt/us/extensions/lxterminal/share/pixmaps/lxterminal.png'

(lxterminal:27678): Vte-WARNING **: can not run /usr/lib/libvte9/gnome-pty-helper
That also runs, without the nibble order issue, and with some input working...
but much more overhead.

(those 4 command were run in parallel shell sessions)

5 way press does work for LEFT CLICK. need to make the cursor "move" on 5 way U D L R

Spoiler:
Quote:
11/11/2013 06:36:09 added missing keysym to X display: 009 0xff0d "Return"
11/11/2013 06:36:11 added missing keysym to X display: 010 0xff1b "Escape"
11/11/2013 06:38:02 added missing keysym to X display: 011 0xff52 "Up"
11/11/2013 06:38:04 added missing keysym to X display: 012 0xff54 "Down"
11/11/2013 06:39:17 added missing keysym to X display: 013 0xff51 "Left"
11/11/2013 06:39:18 added missing keysym to X display: 014 0xff53 "Right"
11/11/2013 06:40:20 added missing keysym to X display: 015 0xffff "Delete"
11/11/2013 06:40:20 added missing keysym to X display: 016 0x6c "l"
11/11/2013 06:40:21 added missing keysym to X display: 017 0x2e "period"
11/11/2013 06:40:22 added missing keysym to X display: 018 0x6e "n"
11/11/2013 06:40:23 added missing keysym to X display: 019 0x66 "f"
11/11/2013 06:40:23 added missing keysym to X display: 020 0x67 "g"
11/11/2013 06:40:24 added missing keysym to X display: 021 0x6a "j"
11/11/2013 06:40:24 added missing keysym to X display: 022 0x74 "t"
11/11/2013 06:40:25 added missing keysym to X display: 023 0x68 "h"
11/11/2013 06:40:26 added missing keysym to X display: 024 0x72 "r"
11/11/2013 06:40:26 added missing keysym to X display: 025 0x65 "e"
11/11/2013 06:40:26 added missing keysym to X display: 026 0x71 "q"
11/11/2013 06:40:26 added missing keysym to X display: 027 0x77 "w"
11/11/2013 06:40:27 added missing keysym to X display: 028 0x75 "u"
11/11/2013 06:40:27 added missing keysym to X display: 029 0x69 "i"
11/11/2013 06:40:27 added missing keysym to X display: 030 0x6b "k"
11/11/2013 06:40:28 added missing keysym to X display: 031 0x73 "s"
11/11/2013 06:40:28 added missing keysym to X display: 032 0x64 "d"
11/11/2013 06:40:28 added missing keysym to X display: 033 0x61 "a"
11/11/2013 06:40:28 added missing keysym to X display: 034 0x7a "z"
11/11/2013 06:40:29 added missing keysym to X display: 035 0x78 "x"
11/11/2013 06:40:29 added missing keysym to X display: 036 0x63 "c"
11/11/2013 06:40:29 added missing keysym to X display: 037 0x76 "v"
11/11/2013 06:40:29 added missing keysym to X display: 038 0x62 "b"
11/11/2013 06:40:30 added missing keysym to X display: 039 0x6d "m"
11/11/2013 06:40:33 added missing keysym to X display: 040 0x20 "space"


similar to the way unity maps a key to a mouse/joystick move...
http://docs.unity3d.com/Documentation/Manual/Input.html

xdotool maybe?
Attached Thumbnails
Click image for larger version

Name:	Selection_716.png
Views:	36
Size:	14.4 KB
ID:	114999  

Last edited by twobob; 11-11-2013 at 01:45 AM.
twobob is offline   Reply With Quote
Old 11-11-2013, 02:15 AM   #85
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
http://packages.debian.org/wheezy/ratpoison

might be fun
twobob is offline   Reply With Quote
Old 11-11-2013, 06:01 PM   #86
idoit
Plus
idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.
 
idoit's Avatar
 
Posts: 356
Karma: 262144
Join Date: Jan 2012
Location: Tehran, Iran - Halifax, Canada
Device: K3.₄, iPhone 5s
Quote:
Originally Posted by twobob View Post
Not much of help here... just to say:
ratpoison looks good but Awesome looks awesome.

Oh, is that screenshot of your K3 running x? Holy creep! That's so impressive. Can't wait to see where this leads. I don't know how to help, no clue what corrected-byte-order support in Xfbdev is!

Last edited by idoit; 11-11-2013 at 06:08 PM.
idoit is offline   Reply With Quote
Old 11-11-2013, 06:51 PM   #87
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
yup - thats the k3.

Todays progress was getting a mystartx that could boot using the Xvfb => x11vnc => VncViewer native method in the meantime and getting keyinput working. & compiling xmodmap and xbindkeys to fit the new FAT architecture which was trivial.

Quote:
cd /mnt/us/kindlevncviewer; # it really wants to run from there, nothing else cares.
export PATH=/mnt/us/extensions/xorg/bin:/mnt/us/extensions/perl/usr/bin:\
/mnt/us/extensions/lxterminal/bin:/mnt/us/kindlevncviewer:$PATH
export XKEYSYMDB=/mnt/us/extensions/xorg/share/X11/XKeysymDB
export DISPLAY=:0
export LD_LIBRARY_PATH=/mnt/us/kindlevncviewer:\
/mnt/us/extensions/system/usr/lib:$LD_LIBRARY_PATH
killall -9 x11vnc
killall -9 kindlevncviewer

perl /mnt/us/extensions/xorg/bin/unlock_daemon&

Xvfb -dpi 167 -extension XKEYBOARD +kb -noreset -nolisten tcp \
-screen 0 600x800x16 +bs -br nologo &
wait 3

x11vnc -noncache -shared -forever &
sleep 13;

kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua \
-encodings "copyrect raw" 127.0.0.1:0 &
sleep 2;

xbindkeys -f /mnt/us/extensions/xorg/bin/xbindkeysrc
x11vnc -R clear_keys
xmodmap /mnt/us/extensions/xorg/bin/xmodmaprc

lxterminal
exec $0
which is ugly as hell but works everytime.

Key mappings are a little screwy right now but "working" if a little "crosswired".

Perhaps I will make time to fix it up.


still trying to figure what is eating the processor... something is making fsp go crazy. will investigate tomorrow. probably
Attached Thumbnails
Click image for larger version

Name:	Selection_717.png
Views:	23
Size:	21.2 KB
ID:	115048  

Last edited by twobob; 11-11-2013 at 06:55 PM.
twobob is offline   Reply With Quote
Old 11-12-2013, 05:48 AM   #88
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
aaaaand fixed.

it was a loop pulled way too tight...

happy...
Attached Thumbnails
Click image for larger version

Name:	Selection_718.png
Views:	19
Size:	47.2 KB
ID:	115056  
twobob is offline   Reply With Quote
Old 11-12-2013, 07:56 PM   #89
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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
Code:
cd /mnt/us/kindlevncviewer; 

export PATH=/mnt/us/extensions/xorg/bin:/mnt/us/extensions/perl/usr/bin:\
/mnt/us/extensions/lxterminal/bin:/mnt/us/kindlevncviewer:$PATH
export XKEYSYMDB=/mnt/us/extensions/xorg/share/X11/XKeysymDB
export DISPLAY=:0
export LD_LIBRARY_PATH=/mnt/us/kindlevncviewer:\
/mnt/us/extensions/system/usr/lib:$LD_LIBRARY_PATH

killall -9 x11vnc
killall -9 kindlevncviewer
killall -9 xbindkeys

perl /mnt/us/extensions/xorg/bin/unlock_daemon&  # now modded for a less crazy tight loop

Xvfb -dpi 167 -extension XKEYBOARD +kb -noreset -nolisten tcp -screen 0 600x800x16 +bs -br nologo &
wait 3

x11vnc -noncache -shared -forever &
sleep 5;

kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "copyrect raw" 127.0.0.1:0 &
sleep 2;

xbindkeys -f /mnt/us/extensions/xorg/bin/xbindkeysrc
x11vnc -R clear_keys
xmodmap /mnt/us/extensions/xorg/bin/xmodmaprc

ratpoison &
lxterminal
exec $0
quicker boot, less than 3% inactive overhead. with window manager "ratpoison".
Attached Thumbnails
Click image for larger version

Name:	Selection_720.png
Views:	30
Size:	159.9 KB
ID:	115102   Click image for larger version

Name:	Selection_722.png
Views:	22
Size:	75.0 KB
ID:	115103  

Last edited by twobob; 11-12-2013 at 07:59 PM.
twobob is offline   Reply With Quote
Old 11-12-2013, 08:19 PM   #90
idoit
Plus
idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.idoit ought to be getting tired of karma fortunes by now.
 
idoit's Avatar
 
Posts: 356
Karma: 262144
Join Date: Jan 2012
Location: Tehran, Iran - Halifax, Canada
Device: K3.₄, iPhone 5s
Have you looked at Qindle? Might be useful for ideas etc too. Works on my K3.

Last edited by idoit; 11-12-2013 at 08:36 PM.
idoit is offline   Reply With Quote
Reply

Tags
8bpp, kindle3, startx, x server, xorg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 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


All times are GMT -4. The time now is 11:24 AM.


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