Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-04-2014, 05:21 AM   #301
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
@wickyman

You are right, fmon is less invasive. I think there were some problems related to suspend that can be solved by using the start menu. However, I did not follow that discussion in detail . Maybe you better look into the koreader thread, or read the discussions on github. Informations are unfortunately dispersed all over the place.
You could simply try to start koreader via fmon. If it works for you it is ok. If it doesn't, try the start menu. There is not much risk you take. A factory reset will bring you back to a clean device.

Last edited by tshering; 07-04-2014 at 05:24 AM.
tshering is offline   Reply With Quote
Old 07-04-2014, 05:29 AM   #302
Cyphox
Connoisseur
Cyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 50
Karma: 16356
Join Date: Apr 2013
Device: Kindle 4 NT
i wonder if its possible to display a picture when the device is powered off instead of text?

i fiddled around with the standard img-tag, but all i got was a "image could not be displayed"-like symbol instead of the actual picture.
Cyphox is offline   Reply With Quote
Advert
Old 07-04-2014, 06:05 AM   #303
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
Quote:
Originally Posted by Cyphox View Post
i wonder if its possible to display a picture when the device is powered off instead of text?

i fiddled around with the standard img-tag, but all i got was a "image could not be displayed"-like symbol instead of the actual picture.
Currently are only png and bmp supported. For code example cf. this post. See under image viewer.
tshering is offline   Reply With Quote
Old 07-04-2014, 09:24 AM   #304
Cyphox
Connoisseur
Cyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcoverCyphox exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 50
Karma: 16356
Join Date: Apr 2013
Device: Kindle 4 NT
i see instructions on how to find the best width and heigth, but i see no code-example for displaying images using poweroff_info.html

i a total n00b when it comes to html, but when i open the modified html-file in windows it works, on the reader it doesnt. the poweroff.png is in the same folder as the poweroff_info.html

so i guess its just not supported? (yet?) or am i missing something??

Code:
<html>
<head>
  <title>kobo menu info</title>
  <style type="text/css">
   p {
    margin-top: 0.5em; }
  </style>
</head>

<body>
<img src="poweroff.png" height="1000" width="750"> 
</body>
</html>
Cyphox is offline   Reply With Quote
Old 07-04-2014, 10:38 AM   #305
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Cyphox View Post
i see instructions on how to find the best width and heigth, but i see no code-example for displaying images using poweroff_info.html

i a total n00b when it comes to html, but when i open the modified html-file in windows it works, on the reader it doesnt. the poweroff.png is in the same folder as the poweroff_info.html

so i guess its just not supported? (yet?) or am i missing something??

Code:
<html>
<head>
  <title>kobo menu info</title>
  <style type="text/css">
   p {
    margin-top: 0.5em; }
  </style>
</head>

<body>
<img src="poweroff.png" height="1000" width="750"> 
</body>
</html>
Perhaps: <style type="image/png">

Here but that would only be part of the effort for use in the kbterminal, I am guessing here.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Advert
Old 07-04-2014, 11:11 AM   #306
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by tshering View Post
@wickyman

You are right, fmon is less invasive. I think there were some problems related to suspend that can be solved by using the start menu. However, I did not follow that discussion in detail . Maybe you better look into the koreader thread, or read the discussions on github. Informations are unfortunately dispersed all over the place.
You could simply try to start koreader via fmon. If it works for you it is ok. If it doesn't, try the start menu. There is not much risk you take. A factory reset will bring you back to a clean device.
This describes how the Koreader can get into a looping situation that prevents a proper install. Where most users seem to run into trouble is with the requirement to have the launching image processed by the Kobo software and the database properly updated -Before connecting to the PC again to place the KoboRoot.tgz file into the .kobo directory.

You can avoid the issue for a Koreader install by using The Kobo Start Menu and not messing with the koreader.png at all. It is not needed, unless you want to launch it within Nickel, using fmon.

Luck;
Ken

Last edited by Ken Maltby; 07-04-2014 at 11:23 AM.
Ken Maltby is offline   Reply With Quote
Old 07-04-2014, 02:25 PM   #307
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
Quote:
Originally Posted by Cyphox View Post
i a total n00b when it comes to html, but when i open the modified html-file in windows it works, on the reader it doesnt. the poweroff.png is in the same folder as the poweroff_info.html

so i guess its just not supported? (yet?) or am i missing something??
The application that handles the poweroff_info.html cannot resolve the relative path information (as your web browser does). One therefore has to give the full path. This works on my Kobo Touch:
Code:
<html>
<body>
<img src="/mnt/onboard/.kobo/kbmenu/images/test01.png" width="566">
</body>
</html>
In your case you might try something like the following:
Code:
<img src="/mnt/onboard/.kobo/kbmenu/txt/poweroff.png"  width="726">

Last edited by tshering; 07-04-2014 at 02:31 PM.
tshering is offline   Reply With Quote
Old 07-04-2014, 02:44 PM   #308
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
New Kobo is on its way, where can I find the newest version of Start Menu? Do I need to install one version and then some updates or is there somewhere "the latest" version?
WS64 is offline   Reply With Quote
Old 07-04-2014, 03:23 PM   #309
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by tshering View Post
The application that handles the poweroff_info.html cannot resolve the relative path information (as your web browser does). One therefore has to give the full path. This works on my Kobo Touch:
Code:
<html>
<body>
<img src="/mnt/onboard/.kobo/kbmenu/images/test01.png" width="566">
</body>
</html>
In your case you might try something like the following:
Code:
<img src="/mnt/onboard/.kobo/kbmenu/txt/poweroff.png"  width="726">
Right, it is working that way for me as well. I also got it working (now that I told it where to find the .png) using "image/png" for the style type, and no width or other argument and have the image full screen.

Now to get on Gimp2 and see what kind of a poster I can make. ( The image display is quite good, but I had better find something that is not X rated for my powered off image.)

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 07-04-2014, 04:24 PM   #310
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
Quote:
Originally Posted by WS64 View Post
New Kobo is on its way, where can I find the newest version of Start Menu? Do I need to install one version and then some updates or is there somewhere "the latest" version?
Sorry, there is no package containing the latest version. Install KBStartMenu_04.zip and KBStartMenu_04_update01a.zip one after the other.

If you have a device that is prone to freezing copy the content of preventfreeze.zip (find it here https://www.mobileread.com/forums/sho...&postcount=277) to your device.

Spoiler:

The following seven steps are confusing and might not be to the point. Don't follow them. I leave them here just as a reference for my own use.
  • 1. download KBStartMenu_04.zip (find it here) to your pc and extract the folders kbmenu and kbmenupngs
  • 2. download KBStartMenu_04_update01a.zip (find it here) to your pc and extract the folders kbmenu and kbmenupngs; copy the content of those two folder into the two folders of step 1 (replacing already existing files of KBStartMenu_04 with those of KBStartMenu_04_update01a)
  • 3. add the files of datetime_scripts.zip (find it here) to the kbmenu folder (of step 1)
  • Maybe edit the files usersettings.txt (edit the font size, it migth be to small for your new device) and runsettings.txt (runmenu=always).
  • 4. copy the folder kbmenu of step 1 to .kobo of your device
  • 5. copy the folder kbmenupngs of step 1 to the root of your device
  • 6. eject savely and let nickel process the image files.
  • 7. download KBStartMenu_04_udate01_un_re_install.zip (find it here) to your pc and extract its content. Copy KoboRoot.tgz from the folder reinstall to .kobo of your device, eject safely ...

Last edited by tshering; 07-11-2014 at 04:59 AM.
tshering is offline   Reply With Quote
Old 07-04-2014, 04:40 PM   #311
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
Quote:
Originally Posted by Ken Maltby View Post
Right, it is working that way for me as well. I also got it working (now that I told it where to find the .png) using "image/png" for the style type, and no width or other argument and have the image full screen.
I think this is only working for you since your image has already the appropriate size.

Quote:
Originally Posted by Ken Maltby View Post
( The image display is quite good, but I had better find something that is not X rated for my powered off image.)
Be prepared that the display might appear to loose its sharpness.
tshering is offline   Reply With Quote
Old 07-04-2014, 05:14 PM   #312
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Thanks for the recapitulation!
WS64 is offline   Reply With Quote
Old 07-04-2014, 05:17 PM   #313
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
This is my first quick attempt:
Right it was created at the AuraHD's image size.

This one looks like there is no loss of sharpness, but for photos it is often a different manner.

Luck;
Ken
Attached Thumbnails
Click image for larger version

Name:	Poweroff.png
Views:	805
Size:	374.2 KB
ID:	124912  

Last edited by Ken Maltby; 07-04-2014 at 05:27 PM.
Ken Maltby is offline   Reply With Quote
Old 07-04-2014, 05:41 PM   #314
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
Quote:
Originally Posted by Ken Maltby View Post
This is my first quick attempt:
Right it was created at the AuraHD's image size.

This one looks like there is no loss of sharpness, but for photos it is often a different manner.

Luck;
Ken
Since kbmessage (the executable that handles the image) unfortunately puts a frame around the image, you should see the scroll bars. Or does your <style type="image/png"> prevent this from happening? (Maybe I did something wrong when I tested the style definition.)

Last edited by tshering; 07-04-2014 at 05:45 PM.
tshering is offline   Reply With Quote
Old 07-04-2014, 05:49 PM   #315
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by tshering View Post
Since kbmessage (the executable that handles the image) unfortunately puts a frame around the image, you should see the scroll bars. Or does your <style type="image/png"> prevent this from happening? (Maybe I did something wrong when I tested it.)
Right there is a scroll bar at the bottom and on the left side. They are very narrow, as is the frame. I did not see them until you pointed them out.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kobo menu and message tshering Kobo Developer's Corner 26 01-15-2014 09:18 AM
Kobo WiFi - Battery indicator outside menu? Cyberman tM Kobo Reader 1 03-06-2013 04:42 AM
Kobo constantly crashes back to Reading menu avalanches Kobo Reader 0 04-11-2011 09:35 PM
main menu, section menu, css for calibre mobipocket output naisren Calibre 2 08-23-2010 11:42 PM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


All times are GMT -4. The time now is 09:02 AM.


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