View Single Post
Old 07-09-2014, 07:22 AM   #2
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
The Kobo Start Menu includes an executable kbmessage, which depends on some Qt libraries (also included in the package). There a two ways of calling it:
Code:
kbmessage 'Hello world!'
Code:
kbmessage -f /mnt/onboard/hello_world.txt
It supports a limited set of html tags. As for images, currently only png and bmp are supported.
kbmessage needs user interaction to be closed. So this migth not fit well your needs, but of course you can kill it before calling it again with new content.

The KoboLaucher includes an executable msgbox. Maybe this would be the better choice for you. I never tried to call it myself however. So I don't know exactly how to do it, but it should not be to difficult.

The original kobo software includes an executable pickel, which can display images in raw format. It is mostly used in this way:
Code:
zcat someimage.raw.gz | /usr/local/Kobo/pickel showpic 1;

You could also be interested in this.

Last edited by tshering; 07-09-2014 at 07:35 AM.
tshering is offline   Reply With Quote