Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2021, 12:46 PM   #31
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: 16,425
Karma: 78740911
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
Quote:
Originally Posted by Mio View Post
When I exucute kobopach it starts and close ... how to add code ?
Open the kobopatch.bat file with a text editor and add the pause as the last line in the file. You can also delete the log.txt file in the out directory and run kobopatch.bat which will give you a log of that session only. That can be posted here either in the message but please, wrap in in spoiler tags (the eye with the X icon) or as a file attachment

Code:
@echo off
cd /D "%~dp0"
erase "out/KoboRoot.tgz" >nul 2>&1
"./bin/koboptch-windows.exe"
pause
Also note that selecting all the options can cause errors since some of the options are mutually exclusive.
DNSB is offline   Reply With Quote
Old 03-11-2021, 01:55 PM   #32
Krios
Connoisseur
Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.Krios is no ebook tyro.
 
Posts: 74
Karma: 1354
Join Date: Jun 2019
Device: Bookeen Odyssey FrontLight 2, Pocketbook Inkpad 3, Kobo Libra H2O
I want to use "text-rendering optimizeLegibility" and "Make KePub font sizes match ePub font sizes" from KePub stylesheet additions patch.

Either one works by itself, but selecting both, just crashes command window.
Krios is offline   Reply With Quote
Advert
Old 03-11-2021, 02:01 PM   #33
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,496
Karma: 5070998
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by DNSB View Post
Open the kobopatch.bat file with a text editor and add the pause as the last line in the file. You can also delete the log.txt file in the out directory and run kobopatch.bat which will give you a log of that session only. That can be posted here either in the message but please, wrap in in spoiler tags (the eye with the X icon) or as a file attachment

Code:
@echo off
cd /D "%~dp0"
erase "out/KoboRoot.tgz" >nul 2>&1
"./bin/koboptch-windows.exe"
pause
Also note that selecting all the options can cause errors since some of the options are mutually exclusive.
I am going to add a message box on Windows for the next kobopatch version since doing this every time is getting kind of ridiculous.

https://github.com/pgaskin/kobopatch/issues/35

Last edited by geek1011; 03-11-2021 at 02:06 PM.
geek1011 is offline   Reply With Quote
Old 03-11-2021, 02:41 PM   #34
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 14403332
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by Krios View Post
I want to use "text-rendering optimizeLegibility" and "Make KePub font sizes match ePub font sizes" from KePub stylesheet additions patch.

Either one works by itself, but selecting both, just crashes command window.
You can't enable both those options simultaneously in the KePub stylesheet additions patch. Enable the "text-rendering optimizeLegibility" option only.

To have font-sizes match for both epub and kepub also enable patch ePub uniform font scale which is also found in the libnickel.so.1.0.0.yaml file.
jackie_w is offline   Reply With Quote
Old 03-17-2021, 06:49 AM   #35
skymix
Member
skymix began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2019
Device: kobo H2O Edition 2 Version 2
Why after upgrade my kobo H20 2 Ed2 and apply the patch the section my books are showing the icons on the folders plus the ebooks?

How could i override the show of the icons in the My Books Section?

Thanks a lot!
skymix is offline   Reply With Quote
Advert
Old 03-17-2021, 07:01 AM   #36
skymix
Member
skymix began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2019
Device: kobo H2O Edition 2 Version 2
Quote:
Originally Posted by skymix View Post
Why after upgrade my kobo H20 2 Ed2 and apply the patch the section my books are showing the icons on the folders plus the ebooks?

How could i override the show of the icons in the My Books Section?

Thanks a lot!
I have found my mistake:

I have lost the config on my Kobo.conf:

[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)

Thanks!
skymix is offline   Reply With Quote
Old 03-18-2021, 04:49 PM   #37
nishalc
Junior Member
nishalc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: Kobo libra h20
footnote font size?

Hi, I've had a look through all the patches but couldn't find what I was after -
is there a way to alter the font size of the footnotes (where you click on a little number and it brings up a popup)?

Thanks!
nishalc is offline   Reply With Quote
Old 03-18-2021, 05:33 PM   #38
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: 813
Karma: 249456
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by nishalc View Post
a way to alter the font size of the footnotes (where you click on a little number and it brings up a popup)?
Yep, take the patch here.
Semwize is offline   Reply With Quote
Old 03-19-2021, 08:09 AM   #39
nishalc
Junior Member
nishalc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: Kobo libra h20
Quote:
Originally Posted by Semwize View Post
Yep, take the patch here.
Ah thanks! Just to confirm is it the first chunk of code - do I just need to copy this into one of the .yaml files (and follow usual instructions) to get it installed?
nishalc is offline   Reply With Quote
Old 03-19-2021, 08:20 AM   #40
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: 813
Karma: 249456
Join Date: Jun 2016
Device: Kobo
Code:
test Pop-up footnote main text font-size:
  - Enabled: yes
  - Description: |
        Change pop-up footnote main text font-size
        fw 4.20.14601 CSS moved to libnickel.so.1.0.0 from nickel???
        Daylight: %1 = 42 ???
  - FindReplaceString:
      Find:    "p { font-size: %1px; line-height: 1.4em; }"
      Replace: "p { font-size: 34px; line-height: 1.4em; }"
      MustMatchLength: yes
You need to change the number marked in red to achieve the size you want.
Semwize is offline   Reply With Quote
Old 03-20-2021, 02:57 PM   #41
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 752
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
What patch should I enable to remove the "Discover" button at Home's lower section? I have no need to see anything about Kobo Store or Kobo wishlist or Kobo points or Kobo rewards or Kobo Recommendations.

I already enabled
Quote:
Never show Kobo Plus, wishlist, and points SmartLinks:
- Enabled: yes
But I still see Discover.
droopy is offline   Reply With Quote
Old 03-20-2021, 04:16 PM   #42
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 14403332
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by droopy View Post
What patch should I enable to remove the "Discover" button at Home's lower section?
Short answer: There isn't one in the published kobopatch pack.

Longer answer: There are no immediate plans to add one as we wish to avoid annoying Kobo. Quote from @geek1011's GitHub site:
Quote:
We generally avoid touching stuff to do with the store itself, or to do with OverDrive/Dropbox/etc. Sorry about that.
jackie_w is offline   Reply With Quote
Old 03-20-2021, 04:27 PM   #43
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,946
Karma: 6735838
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa, Sage, Forma, Libra 2 & H₂0, Mini, Oasis3, Voyage
Quote:
Originally Posted by jackie_w View Post
Short answer: There isn't one in the published kobopatch pack.

Longer answer: There are no immediate plans to add one as we wish to avoid annoying Kobo. Quote from @geek1011's GitHub site:
Regarding libnickel, would "Change Browse Kobo home screen link target (to either Activity or Articles) change the label from "Discover" to either of those?

Last edited by Skydog; 03-20-2021 at 04:34 PM.
Skydog is offline   Reply With Quote
Old 03-20-2021, 05:39 PM   #44
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: 813
Karma: 249456
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by Skydog View Post
Regarding libnickel, would "Change Browse Kobo home screen link target (to either Activity or Articles) change the label from "Discover" to either of those?
Can remove and change it (is a simple patch), but since Kobo receives the main income from the sale of books, that is, from its store, such patches will not be added, in order to avoid...

It is written in plain text above.
Semwize is offline   Reply With Quote
Old 03-20-2021, 06:20 PM   #45
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 752
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
If anyone can PM me the way to remove discover from the home page, I would appreciate it. My property - my wishes
droopy is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 07:15 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 06:20 AM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 04:40 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 10:22 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 02:23 PM


All times are GMT -4. The time now is 12:27 AM.


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