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 01-25-2022, 10:43 PM   #1
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Screensaver Patching Question

Hi, is there a way to patch the screensaver text of "Sleeping'' and "Powered Off'' to be smaller and use a different font?
Attached Thumbnails
Click image for larger version

Name:	IMG_20220126_113959.jpg
Views:	331
Size:	277.2 KB
ID:	191891  
Deobulakenyo is offline   Reply With Quote
Old 01-25-2022, 11:03 PM   #2
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
https://www.mobileread.com/forums/sh...&postcount=678

The last thing Jackie did. There didn't seem to be any more patches. Are you interested in this patch?

Last edited by Semwize; 01-25-2022 at 11:10 PM.
Semwize is offline   Reply With Quote
Advert
Old 01-25-2022, 11:14 PM   #3
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
https://www.mobileread.com/forums/sh...&postcount=678

The last thing Jackie did. There didn't seem to be any more patches. Are you interested in this patch?
Thank you for directing me to it.

I am very much interested in patching the screensaver screen.

jackie's patch seems to disable the info panel while sleeping. Can it still be visible but with smaller footprints like when it is powered off?

Can this be used as is on Libra 2?

Last edited by Deobulakenyo; 01-25-2022 at 11:17 PM.
Deobulakenyo is offline   Reply With Quote
Old 01-25-2022, 11:38 PM   #4
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by Deobulakenyo View Post
Can this be used as is on Libra 2?
I haven't tested it, but I think a fix is needed for Libra.

Replace part of the patch.

Spoiler:
Code:
 # #infoWidget reduce width
        - {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
        - {Find: "width: 611px;", Replace: "width: 390px;"} #Daylight
        # #infoWidget, #infoFrame: reduce top/bottom/right margins
        - {Find: "Margin: 22px;", Replace: "Margin: 5px;"}  #Dragon
        - {Find: "Margin: 28px;", Replace: "Margin: 7px;"}  #Daylight
        - {Find: "Margin: 25px;", Replace: "Margin: 6px;"}  #Storm
        # #infoFrame: remove Sleeping borders
        - {Find: "#infoFrame {\n  border-top: 1px solid black;\n  border-bottom: 1px solid black;\n  border-right: 1px solid black;\n}\n", Replace: "\n"}
        # #infoFrame: reduce left margin
        - {Find: "leftMargin: 44px;", Replace: "leftMargin: 5px;"}  # Dragon
        - {Find: "leftMargin: 56px;", Replace: "leftMargin: 7px;"}  # Daylight
        - {Find: "leftMargin: 50px;", Replace: "leftMargin: 6px;"}  # Storm
        # #infoWidget size reduced to zero when Sleeping
        - Find:    "#batteryStatus {\n  font-family: Georgia;\n}"
          Replace: "#infoWidget[powerOffView=false] {\n  min-width:0px; max-width:0px;\n  min-height:0px; max-height:0px;\n  qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n  qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {font-family:Georgia;}"
Semwize is offline   Reply With Quote
Old 01-25-2022, 11:45 PM   #5
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
I haven't tested it, but I think a fix is needed for Libra.

Replace part of the patch.

Spoiler:
Code:
 # #infoWidget reduce width
        - {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
        - {Find: "width: 611px;", Replace: "width: 390px;"} #Daylight
        # #infoWidget, #infoFrame: reduce top/bottom/right margins
        - {Find: "Margin: 22px;", Replace: "Margin: 5px;"}  #Dragon
        - {Find: "Margin: 28px;", Replace: "Margin: 7px;"}  #Daylight
        - {Find: "Margin: 25px;", Replace: "Margin: 6px;"}  #Storm
        # #infoFrame: remove Sleeping borders
        - {Find: "#infoFrame {\n  border-top: 1px solid black;\n  border-bottom: 1px solid black;\n  border-right: 1px solid black;\n}\n", Replace: "\n"}
        # #infoFrame: reduce left margin
        - {Find: "leftMargin: 44px;", Replace: "leftMargin: 5px;"}  # Dragon
        - {Find: "leftMargin: 56px;", Replace: "leftMargin: 7px;"}  # Daylight
        - {Find: "leftMargin: 50px;", Replace: "leftMargin: 6px;"}  # Storm
        # #infoWidget size reduced to zero when Sleeping
        - Find:    "#batteryStatus {\n  font-family: Georgia;\n}"
          Replace: "#infoWidget[powerOffView=false] {\n  min-width:0px; max-width:0px;\n  min-height:0px; max-height:0px;\n  qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n  qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {font-family:Georgia;}"

Thanks very much. I will test this out. Thank you.

Should i put this on nickel.yaml or libnickel.yaml?

Last edited by Deobulakenyo; 01-25-2022 at 11:49 PM.
Deobulakenyo is offline   Reply With Quote
Advert
Old 01-25-2022, 11:50 PM   #6
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
@Deobulakenyo

When you check, take screenshots - before and after. So that there is a sample for other users how it works.
Semwize is offline   Reply With Quote
Old 01-25-2022, 11:54 PM   #7
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
@Deobulakenyo

When you check, take screenshots - before and after. So that there is a sample for other users how it works.
Okay. Kinda nervous. Can patches brick a kobo?
Deobulakenyo is offline   Reply With Quote
Old 01-25-2022, 11:59 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,985
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Deobulakenyo View Post
Okay. Kinda nervous. Can patches brick a kobo?
It's not a common issue and I haven't seen it happen since the early Metazoa patches. Even then, a factory reset would let you unbrick your Kobo.
DNSB is offline   Reply With Quote
Old 01-26-2022, 12:01 AM   #9
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by DNSB View Post
It's not a common issue and I haven't seen it happen since the early Metazoa patches. Even then, a factory reset would let you unbrick your Kobo.
Alright, then. in the name of science, i will try lols
Deobulakenyo is offline   Reply With Quote
Old 01-26-2022, 12:02 AM   #10
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by Deobulakenyo View Post
Can patches brick a kobo?
No...

nickel.yaml

I haven't tested it because I'm just too lazy and don't need to.

Last edited by Semwize; 01-26-2022 at 12:04 AM.
Semwize is offline   Reply With Quote
Old 01-26-2022, 12:21 AM   #11
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Patch works but info panel is not showing during sleeping mode.

Is there a way to make it visible while sleeping?

Image 1 is without the patch.

Image 2 is patched.
Attached Thumbnails
Click image for larger version

Name:	IMG_20220126_131900.jpg
Views:	426
Size:	520.0 KB
ID:	191892   Click image for larger version

Name:	IMG_20220126_131910.jpg
Views:	151
Size:	484.1 KB
ID:	191893  
Deobulakenyo is offline   Reply With Quote
Old 01-26-2022, 12:28 AM   #12
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by Deobulakenyo View Post
Patch works but info panel is not showing during sleeping mode.

Is there a way to make it visible while sleeping?
Enable it in the settings
Semwize is offline   Reply With Quote
Old 01-26-2022, 12:31 AM   #13
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
Enable it in the settings
It is enabled: "Show info panel on full screen cover" is ticked/enabled.


maybe this line of code removes it:

Code:
# #infoWidget size reduced to zero when Sleeping
        - Find:    "#batteryStatus {\n  font-family: Georgia;\n}"
          Replace: "#infoWidget[powerOffView=false] {\n  min-width:0px; max-width:0px;\n  min-height:0px; max-height:0px;\n  qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n  qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {font-family:Georgia;}"
I will remove it and see if it shows


Edit: removing the above codes did it.

Thank you, Semwise, DNSB and of course, jackie_w.

I am happy now.

THOUGH: I am thinking if the background of the SLEEPING panel can be as transluscent as the powered off panel.
Attached Thumbnails
Click image for larger version

Name:	IMG_20220126_133549.jpg
Views:	403
Size:	481.8 KB
ID:	191894   Click image for larger version

Name:	IMG_20220126_133610.jpg
Views:	139
Size:	479.3 KB
ID:	191895  

Last edited by Deobulakenyo; 01-26-2022 at 12:39 AM.
Deobulakenyo is offline   Reply With Quote
Old 01-26-2022, 12:41 AM   #14
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Delete

Last edited by Semwize; 01-26-2022 at 12:57 AM.
Semwize is offline   Reply With Quote
Old 01-26-2022, 12:45 AM   #15
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
@Deobulakenyo

Try to fix this line
Code:
- {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
Increase the number marked in red (330 for example or 350 do)
This is for the transluscency of the info panel background?

aren't those figures/numbers for the width size?
Deobulakenyo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patching H2O Maillemom Kobo Developer's Corner 8 10-19-2016 09:58 AM
Instructions for patching firmware 3.13.1 GeoffR Kobo Developer's Corner 56 07-01-2016 09:59 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Hacks Screensaver question yankgirl Amazon Kindle 1 08-07-2009 12:09 PM


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


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