View Single Post
Old 01-04-2013, 01:19 PM   #3
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: 6021146
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 I thought I would do a quick - on a 3 howto...

Get the files. Un-zip. Un-Tar.

(on the PC)

mkdir -p ~/webkitgtk
cd ~/webkitgtk


dd if=/dev/zero of=~/webkitgtk/webkit.ext3 bs=1M count=150
mkfs.ext3 ~/webkitgtk/webkit.ext3
sudo tune2fs -i 0 -c 0 ~/webkitgtk/webkit.ext3


now mount it and shove the stuff in it that you unzipped...
mkdir -p /mnt/loop
sudo mount -o loop -t ext3 ~/webkitgtk/webkit.ext3 /mnt/loop


cp -r (location of unzipped stuff)/* /mnt/loop/

sudo umount /mnt/loop

ssh root@<kindleIP> mkdir -p /mnt/us/webkitgtk
scp ~/webkitgtk/webkit.ext3 root@<kindleIP>:/mnt/us/webkitgtk/webkit.ext3


That should cover the first bit...

then on the kindle...

[root@kindle us]# mount -o loop -t ext3 /mnt/us/webkitgtk/webkit.ext3 /usr/local
[root@kindle us]# cp -r /usr/local/root /var/tmp
[root@kindle us]# /usr/local/bin/gwebkit
Quote:
starting webkit
That should get you close enough to play around...

Enjoy!!!

EDIT: If you really want to look at the browser full size?

check your $LD_LIBRARY_PATH contains /usr/local/lib

[root@kindle root]# echo $LD_LIBRARY_PATH
Quote:
/mnt/us/usr/lib:/usr/local/lib:/usr/lib:/lib:/mnt/us/lib
Then you can run

[root@kindle root]# GtkLauncher -w 600 -h 800 http://mobileread.com
Attached Thumbnails
Click image for larger version

Name:	ImageMagick: root.fb.pgm_069.png
Views:	80
Size:	74.1 KB
ID:	98751   Click image for larger version

Name:	ImageMagick: root.fb.pgm_070.png
Views:	72
Size:	68.7 KB
ID:	98752   Click image for larger version

Name:	ImageMagick: root.fb.pgm_071.png
Views:	58
Size:	69.2 KB
ID:	98755   Click image for larger version

Name:	ImageMagick: root.fb.pgm_094.png
Views:	63
Size:	76.5 KB
ID:	98907   Click image for larger version

Name:	ImageMagick: root.fb.pgm_096.png
Views:	56
Size:	83.6 KB
ID:	98908   Click image for larger version

Name:	ImageMagick: root.fb.pgm_095.png
Views:	48
Size:	26.5 KB
ID:	98909  

Last edited by twobob; 01-06-2013 at 01:01 PM.
twobob is offline   Reply With Quote