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 06-11-2017, 08:24 AM   #706
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
You need to index the PNGs in Nickel without filemon active. That means you can't go into Nickel from KSM because that'll always be with the file monitor noticing Nickel's trying to index them. Hence why the instructions say to do this before you install KSM at all, but you can easily do it afterward if you set KSM to boot into KSM only half the time.
Frenzie is offline   Reply With Quote
Old 06-11-2017, 08:53 AM   #707
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 104
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Quote:
Originally Posted by Frenzie View Post
You need to index the PNGs in Nickel without filemon active. That means you can't go into Nickel from KSM because that'll always be with the file monitor noticing Nickel's trying to index them. Hence why the instructions say to do this before you install KSM at all, but you can easily do it afterward if you set KSM to boot into KSM only half the time.
By "boot into KSM only half the time", do you mean every other time? If it is so, I prefer to choose exit nickel from My Books in the nickel rather than tapping its homepage icon. The main trouble was the consecutive boot-ups which I intended to get rid of at the first place.
ebrahimpak is offline   Reply With Quote
Advert
Old 06-11-2017, 11:35 AM   #708
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
You can put it back after Nickel has indexed the PNGs.
Frenzie is offline   Reply With Quote
Old 06-11-2017, 11:58 AM   #709
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 104
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Quote:
Originally Posted by Frenzie View Post
You can put it back after Nickel has indexed the PNGs.
As long as the PNGs' thumbnails are shown in the Nickel's homepage, Nickel would not be started, unless through the "nofmn.sh". Therefore I have to keep the thumbnails away from home.

Last edited by ebrahimpak; 06-11-2017 at 12:50 PM.
ebrahimpak is offline   Reply With Quote
Old 06-11-2017, 01:05 PM   #710
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 ebrahimpak View Post
As long as the PNGs' thumbnails are shown in the Nickel's homepage, Nickel would not be started, unless through the "nofmn.sh". Therefore I have to keep the thumbnails away from home.
Is it difficult for yoou to keep them away? Since the new home screen, the KSM pngs never appear on my home screen (my KSM pngs are marked as finished). Try to open some books in nickel in order to get them on your home screen.
Quote:
Originally Posted by Frenzie View Post
, but you can easily do it afterward if you set KSM to boot into KSM only half the time.
This is true. But you can also launch nickel by selecting "tools" > "nickel diverse.msh" > "start nickel no fmon.sh" to run nickel without fmon running.
tshering is offline   Reply With Quote
Advert
Old 06-11-2017, 01:49 PM   #711
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 104
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Unhappy

Quote:
Originally Posted by tshering View Post
Is it difficult for yoou to keep them away? Since the new home screen, the KSM pngs never appear on my home screen (my KSM pngs are marked as finished). Try to open some books in nickel in order to get them on your home screen.
This is true. But you can also launch nickel by selecting "tools" > "nickel diverse.msh" > "start nickel no fmon.sh" to run nickel without fmon running.
Since I don't read anything on nickel, no it's not difficult at all. It acts as a light adjustment tool! I wouldn't expect it to provide any decent reading experience.

Last edited by ebrahimpak; 06-11-2017 at 02:05 PM.
ebrahimpak is offline   Reply With Quote
Old 06-11-2017, 02:22 PM   #712
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by tshering View Post
This is true. But you can also launch nickel by selecting "tools" > "nickel diverse.msh" > "start nickel no fmon.sh" to run nickel without fmon running.
My bad. So in that case I suppose there's no way to get out of it without shutting down? (Not that it makes a difference for the scenario I described, of course!)

Sorry, tend not to use Nickel at all for very long stretches at a time so I forget about all of the available options.
Frenzie is offline   Reply With Quote
Old 06-11-2017, 10:00 PM   #713
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by tshering View Post
Is it difficult for yoou to keep them away? Since the new home screen, the KSM pngs never appear on my home screen (my KSM pngs are marked as finished). Try to open some books in nickel in order to get them on your home screen.
Also, if you remove a book from the new home screen, it will never come back.
davidfor is offline   Reply With Quote
Old 06-12-2017, 03:17 AM   #714
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 davidfor View Post
Also, if you remove a book from the new home screen, it will never come back.
Thank you for pointing at this. I understood eprahimpak's message to the effect that he has to undertake a continuous effort to keep the pngs away from the home screen. Now I think that I just misunderstood what he was saying, and that he somehow managed to removed them once from the home screen, and they are now gone for good.
tshering is offline   Reply With Quote
Old 06-12-2017, 03:28 AM   #715
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 Frenzie View Post
So in that case I suppose there's no way to get out of it without shutting down?
Unfortunately there is currently no other way. I was thinking of overwriting one of the nickel functions that are accessible by a menu entry by an exit function in order to get rid of the fmon problem. But somehow I never started doing it. I was (and still am) even to lazy to try the kute file monitor.
tshering is offline   Reply With Quote
Old 06-12-2017, 10:14 AM   #716
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 104
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Quote:
Originally Posted by tshering View Post
Thank you for pointing at this. I understood eprahimpak's message to the effect that he has to undertake a continuous effort to keep the pngs away from the home screen. Now I think that I just misunderstood what he was saying, and that he somehow managed to removed them once from the home screen, and they are now gone for good.
Yes, absolutely. And no need to rearrange the thumbnails.
ebrahimpak is offline   Reply With Quote
Old 07-02-2017, 08:08 AM   #717
Zekathon
Member
Zekathon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
There seems to be something wrong with the custom power off HTML file. I have tried to get the random power off screen script working and found out, that when i try to use any image, the poff test script opens it correctly, but when the device is powered off, it just shows the KSM menu like nothing happened, but shuts down. If i remove the image from the HTML code, it works correctly and the screen displays whatever text is inside the html. Or is it on purpose, that it doesn't accept images? I am not saying it might not be my error somewhere in the code, but the poff script and even my browser shows it correctly
Zekathon is offline   Reply With Quote
Old 07-02-2017, 12:24 PM   #718
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 Zekathon View Post
There seems to be something wrong with the custom power off HTML file. I have tried to get the random power off screen script working and found out, that when i try to use any image, the poff test script opens it correctly, but when the device is powered off, it just shows the KSM menu like nothing happened, but shuts down. If i remove the image from the HTML code, it works correctly and the screen displays whatever text is inside the html. Or is it on purpose, that it doesn't accept images? I am not saying it might not be my error somewhere in the code, but the poff script and even my browser shows it correctly
That sounds like your image files are too large, try some with a lower resolution. The higher the resolution of the image, the more time is needed to write it to the screen. Therefore it can happen that the device powers off before the image appears on the screen.

Edit: For some example power off scipts with images, which are already on your device, see this post.

Last edited by tshering; 07-02-2017 at 12:31 PM.
tshering is offline   Reply With Quote
Old 07-02-2017, 06:22 PM   #719
Zekathon
Member
Zekathon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Quote:
Originally Posted by tshering View Post
That sounds like your image files are too large, try some with a lower resolution. The higher the resolution of the image, the more time is needed to write it to the screen. Therefore it can happen that the device powers off before the image appears on the screen.

Edit: For some example power off scipts with images, which are already on your device, see this post.
Hi, thank you, i have read this guide before. You were right about the file size. Tried images >=24kb and none of them worked. I wanted to have a full-screen image displayed and failed to stretch a smaller res image to whole screen (i am not very familiar with HTML), so i had to use images 1872*1404px large and even with maximally compressed .jpg couldn't get lower then to 24kb.

Only those preloaded 1kb images do work. Still better then the "you can edit this text..." default power off message

So, thanks for help , will keep on testing smaller images
Zekathon is offline   Reply With Quote
Old 07-02-2017, 08:53 PM   #720
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,
For my AuraHD I have the following:

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

<body>
<img src="/mnt/onboard/.adds/kbmenu/txt/poweroff.png">
</body>
</html>

For my "poweroff_info.html". The Poweroff.png is 1040x1387 bit depth 32, its 361KB.
Works fine.

The image was created using Gimp2 to fit the full screen.

Luck;
Ken

Last edited by Ken Maltby; 07-02-2017 at 09:08 PM.
Ken Maltby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo-Adding alternative readers using Kobo Start Menu Ken Maltby KOReader 75 01-10-2020 01:35 PM
Kobo Start Menu tshering Kobo Developer's Corner 918 10-12-2017 02:32 PM
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM
QT Browser for Kobo Start Menu? gloriousglib Kobo Developer's Corner 1 05-24-2014 03:59 AM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


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


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