View Single Post
Old 12-19-2012, 02:19 PM   #1
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,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
imlib2 on the kindles

/usr/bin/imlib2_view appears to be a built in picture viewer.
with touchscreen support.

Spoiler:

Here's one way to make an interesting picture (using xplanet)

[root@kindle root]# xplanet -num_times 1 -geometry 600x800 -background /opt/amazon/low_level_screens/600x800/splash.png -output /mnt/us/
system/screensaver.png


to display it/them (Run Xephyr)
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:U_PC:N" -screen 600x800 -fp /mnt/us/usr/share/fonts/X11/75dpi -dpi 96

[root@kindle root]# DISPLAY=:1 /usr/bin/imlib2_view /mnt/us/system/screensaver.png [more image paths]

pictured. pure White is treated as transparent.

helpful. I may use this.

Spoiler:
EDIT: possibly helpful docs http://docs.enlightenment.org/api/imlib2/html/

Doesn't appear to support a title attribute. so is backgrounded by regular Awesome. but does actually render. although seemingly in 2 bits. and without transparency

using some onboard images so it works OOTB for people having a play:

/usr/bin/imlib2_view /var/local/blanket/low_level_screens/images/shipping_mode.png /var/local/blanket/low_level_screens/images/reboot.png /usr/share/blanket/ad_screensaver/screensaver-unregistered.png

touching the screen will make the images advance. much like a picture viewer.

haven't figured out a switch to make it close at the end yet... anyone ? : )
Attached Thumbnails
Click image for larger version

Name:	screensaver.png
Views:	152
Size:	432.9 KB
ID:	97940   Click image for larger version

Name:	TightVNC: kindle:0.0_069.png
Views:	173
Size:	98.2 KB
ID:	97941   Click image for larger version

Name:	TightVNC: kindle:0.0_071.png
Views:	155
Size:	15.4 KB
ID:	97943  

Last edited by twobob; 12-20-2012 at 12:14 PM.
twobob is offline   Reply With Quote