Update to patch release v65 (fw release 4.23.15505).
Remove old LD_PRELOAD dotfile hack as it has been superseded by https://pgaskin.net/kobo-mods/kobo-dotfile-hack-ng/master
parent
d20f4e31fb
commit
f6353a8cd2
|
@ -1,6 +1,6 @@
|
|||
## Sixthhokage1's kobopatch config
|
||||
version: 4.22.15190
|
||||
in: src/kobo-update-4.22.15190.zip
|
||||
version: 4.23.15505
|
||||
in: src/kobo-update-4.23.15505.zip
|
||||
out: out/KoboRoot.tgz
|
||||
log: out/log.txt
|
||||
|
||||
|
@ -35,7 +35,3 @@ files:
|
|||
# Anti-adware/malware hosts file
|
||||
# https://github.com/StevenBlack/hosts
|
||||
pkg/adblock-hosts/hosts.txt: etc/hosts
|
||||
|
||||
# kobo-dotfile-hack
|
||||
pkg/kobo-dotfile-hack-6f452d1/usr/local/geek1011/libhidedir_kobo.so: usr/local/geek1011/libhidedir_kobo.so
|
||||
pkg/kobo-dotfile-hack-6f452d1/etc/ld.so.preload: etc/ld.so.preload
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/usr/local/geek1011/libhidedir_kobo.so
|
|
@ -1 +0,0 @@
|
|||
/usr/local/geek1011/libhidedir_kobo.so
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
# The following patch(es) were fixed and are updated by geek1011
|
||||
# The following patch(es) were fixed and are updated by pgaskin (geek1011)
|
||||
|
||||
Remove PDF map widget shown during panning:
|
||||
- Enabled: no
|
||||
|
|
File diff suppressed because it is too large
Load Diff
225
src/nickel.yaml
225
src/nickel.yaml
|
@ -1,45 +1,3 @@
|
|||
# The following patch(es) are by geek1011
|
||||
|
||||
Show all games:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Shows all games in beta features. Since firmware 4.20.14601, this patch is
|
||||
not needed if you have developer mode enabled (search
|
||||
devmodeon/devmodeoff).
|
||||
- FindZlib: "#boggleContainer[devModeOn=false][qApp_deviceIsPika=true]"
|
||||
- ReplaceZlib: {Find: "qproperty-visible: false;", Replace: "qproperty-visible: true;"}
|
||||
|
||||
Remove forgot pin button from lock screen:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Removes the Forgot PIN -> Sign Out button from the lock screen.
|
||||
If this is enabled and you forget your pin, you will need to
|
||||
hard reset your Kobo.
|
||||
- BaseAddress: 0x140661E
|
||||
- ReplaceZlib:
|
||||
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
||||
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
|
||||
- BaseAddress: 0x1409CDC
|
||||
- ReplaceZlib:
|
||||
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
||||
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
|
||||
|
||||
Increase size of kepub chapter progress chart:
|
||||
- Enabled: no
|
||||
- Description: Originally by oren64, rewritten for 4.16.13337 by geek1011.
|
||||
- FindZlib: "#chapterSizes"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
# Top padding is aready set to 15px, 25px, 33px, vertical aligned to middle.
|
||||
# Progress chart bar sizes:
|
||||
- Find: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 56px;\n min-height: 56px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 90px;\n min-height: 90px;\n min-width: 385px;\n max-width: 385px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 70px;\n min-height: 70px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 130px;\n min-height: 130px;\n min-width: 495px;\n max-width: 495px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 100px;\n min-height: 100px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 170px;\n min-height: 170px;\n min-width: 678px;\n max-width: 678px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 130px;\n min-height: 130px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 215px;\n min-height: 215px;\n min-width: 865px;\n max-width: 865px;\n}"
|
||||
# The following patch(es) are ported from GeoffR's patch zips
|
||||
|
||||
Reduce top/bottom page spacer:
|
||||
|
@ -103,20 +61,20 @@ Increase home screen cover size:
|
|||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
# Touch/Mini (Trilogy)
|
||||
- {Find: "qproperty-leftMargin: 26;", Replace: "qproperty-leftMargin: 10;"}
|
||||
- {Find: "qproperty-rightMargin: 26;", Replace: "qproperty-rightMargin: 10;"}
|
||||
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"}
|
||||
- {Find: "qproperty-rightMargin: 32px;", Replace: "qproperty-rightMargin: 16px;"}
|
||||
# Glo/Aura/Aura2E (Phoenix)
|
||||
- {Find: "qproperty-leftMargin: 36;", Replace: "qproperty-leftMargin: 12;"}
|
||||
- {Find: "qproperty-rightMargin: 36;", Replace: "qproperty-rightMargin: 12;"}
|
||||
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
|
||||
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
|
||||
# AuraHD/H2O/GloHD/ClaraHD (Dragon)
|
||||
- {Find: "qproperty-leftMargin: 50;", Replace: "qproperty-leftMargin: 16;"}
|
||||
- {Find: "qproperty-rightMargin: 50;", Replace: "qproperty-rightMargin: 16;"}
|
||||
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
|
||||
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
|
||||
# AuraOne/Forma (Daylight)
|
||||
- {Find: "qproperty-leftMargin: 65;", Replace: "qproperty-leftMargin: 20;"}
|
||||
- {Find: "qproperty-rightMargin: 65;", Replace: "qproperty-rightMargin: 20;"}
|
||||
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
|
||||
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
|
||||
# LibraH2O (Storm)
|
||||
- {Find: "qproperty-leftMargin: 56;", Replace: "qproperty-leftMargin: 18;"}
|
||||
- {Find: "qproperty-rightMargin: 56;", Replace: "qproperty-rightMargin: 18;"}
|
||||
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
|
||||
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
|
||||
# The following patch(es) are ported from jackie_w's patches
|
||||
|
||||
Dictionary pop-up - increase available text area:
|
||||
|
@ -256,25 +214,22 @@ Custom collection/author header title font:
|
|||
See https://www.mobileread.com/forums/showpost.php?p=3520879&postcount=42
|
||||
fw 4.17.13694 rewritten by jackie_w to replace
|
||||
oren64's patch "Custom font to collection and author titles"
|
||||
# First set:
|
||||
- FindZlib: "#header,\n#backButton,\n#moreLink {"
|
||||
fw 4.23.15505 Author/Series/Collection list headers no longer forced to uppercase
|
||||
- FindZlib: "#scrollContainer[containerSpacing=true]"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
# #header #headerTitle Change font-family, case, font-size
|
||||
#
|
||||
# Un-comment next line to un-force UPPERCASE
|
||||
#- {Find: "text-transform: uppercase", Replace: "text-transform: none;"}
|
||||
# #header #headerTitle Change font-family, font-size
|
||||
#
|
||||
# Change font-family.
|
||||
# Note: If new font-family name contains spaces wrap in 'single quotes'
|
||||
# e.g. 'Kobo Nickel'
|
||||
# Un-comment & edit next line to change font-family
|
||||
#- {Find: "font-family: Avenir;", Replace: "font-family: 'Kobo Nickel';"}
|
||||
#- {Find: "font-family: Avenir;", Replace: "font-family: Georgia;"}
|
||||
#
|
||||
# Increase font-size.
|
||||
# Touch/Mini (Trilogy)
|
||||
- {Find: "font-size: 16px;", Replace: "font-size: 28px;"}
|
||||
# Glo/Aura/Aura2 (Phoenix)
|
||||
# Glo/Aura/Aura2/Nia (Phoenix)
|
||||
- {Find: "font-size: 20px;", Replace: "font-size: 36px;"}
|
||||
# AuraHD/H2O/H2O2/GloHD/ClaraHD (Dragon)
|
||||
- {Find: "font-size: 28px;", Replace: "font-size: 42px;"}
|
||||
|
@ -319,6 +274,8 @@ Custom new header/footer font:
|
|||
new header/footer. They will automatically be a matched pair. Full details & screenshots at
|
||||
https://www.mobileread.com/forums/showpost.php?p=3897175&postcount=4
|
||||
N.B: This patch is not suitable for Japanese/Chinese locale users
|
||||
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
|
||||
separately from AuraHD/H2O.
|
||||
|
||||
- FindZlib: "ReadingFooter"
|
||||
- ReplaceZlibGroup:
|
||||
|
@ -344,24 +301,18 @@ Custom new header/footer font:
|
|||
|
||||
# 2a. Change font-size for models other than Touch/Mini (header & footer simultaneously)
|
||||
# #caption[newHeader=true] & #caption[newFooter=true]
|
||||
# Glo/Aura/Aura2E (Phoenix)
|
||||
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 16px;\n}"
|
||||
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 16px;\n}"
|
||||
# AuraHD/H2O (Dragon)
|
||||
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 21px;\n}"
|
||||
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 21px;\n}"
|
||||
# GloHD (Alyssum)
|
||||
- Find: "[qApp_deviceIsAlyssum=true] {\n font-size: 23px;\n}"
|
||||
Replace: "[qApp_deviceIsAlyssum=true] {\n font-size: 23px;\n}"
|
||||
# ClaraHD (Nova)
|
||||
- Find: "[qApp_deviceIsNova=true] {\n font-size: 23px;\n}"
|
||||
Replace: "[qApp_deviceIsNova=true] {\n font-size: 23px;\n}"
|
||||
# Glo/Aura/Aura2E/Nia (Phoenix)
|
||||
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
|
||||
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
|
||||
# AuraHD/H2O/GloHD/ClaraHD (Dragon/Alyssum/Nova)
|
||||
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
|
||||
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
|
||||
# LibraH2O (Storm)
|
||||
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 25px;\n}"
|
||||
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 25px;\n}"
|
||||
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
|
||||
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
|
||||
# AuraOne/Forma (Daylight)
|
||||
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 27px;\n}"
|
||||
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 27px;\n}"
|
||||
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
|
||||
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
|
||||
|
||||
# N.B: If you do not have a Touch/Mini and your header/footer
|
||||
# positions are exactly as you like them you do not need the
|
||||
|
@ -370,22 +321,22 @@ Custom new header/footer font:
|
|||
|
||||
# Don't change the following pair. It exists to split the header/footer styles
|
||||
# which were merged in 4.19.14123.
|
||||
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true],\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
Replace: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true],\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
||||
Replace: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
||||
|
||||
# 2a. Touch/Mini users only: Adjust footer font-size as required.
|
||||
# 2b. All models (optional): Fine-tune footer position by adjusting margin-top value
|
||||
# A negative margin-top (e.g -10px) moves the footer text slightly upwards
|
||||
# further from the bottom bezel/progressbar, closer to the page content
|
||||
- Find: "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
Replace: "#caption[newFooter=true] {\n font-size: 13px; margin-top: 0px;}"
|
||||
- Find: "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
||||
Replace: "#caption[newFooter=true] {\n font-size: 14px; margin-top: 0px;}"
|
||||
|
||||
# 2a. Touch/Mini users only: Adjust header font-size as required.
|
||||
# 2b. All models (optional): Fine-tune header position by adjusting margin-bottom value.
|
||||
# A negative margin-bottom (e.g -10px) moves the header text slightly downwards
|
||||
# further from the top bezel, closer to the page content
|
||||
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
Replace: "#caption[newHeader=true] {\n font-size: 13px; margin-bottom: 0px;}"
|
||||
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
||||
Replace: "#caption[newHeader=true] {\n font-size: 14px; margin-bottom: 0px;}"
|
||||
|
||||
# Don't change anything below. It exists to free up some space for
|
||||
# your changes above by removing Japanese/Chinese-specific CSS code blocks
|
||||
|
@ -492,11 +443,7 @@ Customise Header back button:
|
|||
Series list increase cover thumbnails:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Series list view (not cover view). Enlarge cover thumbnails.
|
||||
NB: After enabling this patch, if you find that the
|
||||
last Series thumbnail on each page is truncated along its bottom edge
|
||||
then you should also enable the additional nickel patch:
|
||||
'Reduce height of page navigator arrows'
|
||||
Series list view (not Series cover view). Increase cover thumbnail size.
|
||||
- FindZlib: "#seriesCoverPack"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
|
@ -522,52 +469,25 @@ Series list increase cover thumbnails:
|
|||
# Part 2: #seriesCoverPack - Increase cover thumbnail size
|
||||
# Touch/Mini
|
||||
- {Find: "width: 60px;", Replace: "width: 85px;"}
|
||||
- {Find: "height: 94px;", Replace: "height: 105px;"}
|
||||
- {Find: "height: 94px;", Replace: "height: 102px;"}
|
||||
# Glo/Aura6"/Aurav2
|
||||
- {Find: "width: 70px;", Replace: "width: 100px;"}
|
||||
- {Find: "height: 115px;", Replace: "height: 140px;"}
|
||||
- {Find: "height: 115px;", Replace: "height: 137px;"}
|
||||
# AuraHD/H2O/H2Ov2/GloHD/ClaraHD
|
||||
- {Find: "width: 108px;", Replace: "width: 141px;"}
|
||||
- {Find: "height: 175px;", Replace: "height: 200px;"}
|
||||
- {Find: "height: 175px;", Replace: "height: 195px;"}
|
||||
# AuraOne/Forma
|
||||
- {Find: "width: 140px;", Replace: "width: 190px;"}
|
||||
- {Find: "height: 222px;", Replace: "height: 265px;"}
|
||||
- {Find: "height: 222px;", Replace: "height: 260px;"}
|
||||
# LibraH2O
|
||||
- {Find: "width: 126px;", Replace: "width: 165px;"}
|
||||
- {Find: "height: 205px;", Replace: "height: 234px;"}
|
||||
- {Find: "height: 205px;", Replace: "height: 229px;"}
|
||||
#
|
||||
# Part 3: All models: #hBooks - Move bookcount up & away from horizontal gridline
|
||||
# Users of lower-res models (Touch/Mini/Glo/Aura6"/Aurav2) may prefer to
|
||||
# decrease the Replace value of 20px for padding-bottom
|
||||
- Find: "#hBooks {\n padding-left: 0px;\n padding-bottom: 0px;\n font-style: normal;\n}"
|
||||
Replace: "#hBooks {\n padding-left: 0px;\n padding-bottom:20px;\n font-style: normal;\n}"
|
||||
|
||||
Reduce height of page navigator arrows:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Reduce page navigator footer height (Book list, Series list)
|
||||
This patch may be helpful to users who also enable the nickel patch
|
||||
'Series list increase cover thumbnails'
|
||||
It should prevent the white background of the page footer/navigation arrow
|
||||
overlapping the bottom edge of the last Series list thumbnail on each page.
|
||||
- FindZlib: "QWidget[footerFixedHeight=true][qApp_deviceIsTrilogy=true]"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
# Touch/Mini
|
||||
- Find: "QWidget[footerFixedHeight=true][qApp_deviceIsTrilogy=true] {\n min-height: 70px;\n max-height: 70px;\n}"
|
||||
Replace: "QWidget[footerFixedHeight=true][qApp_deviceIsTrilogy=true] {\n min-height: 54px;\n max-height: 54px;\n}"
|
||||
# Glo/Aura6"/Aurav2
|
||||
- Find: "QWidget[footerFixedHeight=true][qApp_deviceIsPhoenix=true] {\n min-height: 82px;\n max-height: 82px;\n}"
|
||||
Replace: "QWidget[footerFixedHeight=true][qApp_deviceIsPhoenix=true] {\n min-height: 70px;\n max-height: 70px;\n}"
|
||||
# AuraHD/H20/H20v2/GloHD/ClaraHD
|
||||
- Find: "QWidget[footerFixedHeight=true][qApp_deviceIsDragon=true] {\n min-height: 120px;\n max-height: 120px;\n}"
|
||||
Replace: "QWidget[footerFixedHeight=true][qApp_deviceIsDragon=true] {\n min-height: 90px;\n max-height: 90px;\n}"
|
||||
# AuraOne/Forma
|
||||
- Find: "QWidget[footerFixedHeight=true][qApp_deviceIsDaylight=true] {\n min-height: 156px;\n max-height: 156px;\n}"
|
||||
Replace: "QWidget[footerFixedHeight=true][qApp_deviceIsDaylight=true] {\n min-height: 120px;\n max-height: 120px;\n}"
|
||||
# LibraH2O
|
||||
- Find: "QWidget[footerFixedHeight=true][qApp_deviceIsStorm=true] {\n min-height: 138px;\n max-height: 138px;\n}"
|
||||
Replace: "QWidget[footerFixedHeight=true][qApp_deviceIsStorm=true] {\n min-height: 105px;\n max-height: 105px;\n}"
|
||||
# The following patch(es) are ported from oren64's patches
|
||||
|
||||
Increase headlines font:
|
||||
|
@ -597,7 +517,7 @@ New home screen subtitle custom font:
|
|||
- Description: |
|
||||
Increase subtitle font size, font color black. Works best when used
|
||||
with with patch `New home screen increasing cover size`
|
||||
- BaseAddress: 0x1400C98 # FindZlib: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}"
|
||||
- BaseAddress: 0x14AAB73 # FindZlib: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}"
|
||||
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
|
||||
- ReplaceZlib:
|
||||
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
|
@ -612,7 +532,7 @@ New home screen subtitle custom font:
|
|||
Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
|
||||
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
|
||||
# duplicate
|
||||
- BaseAddress: 0x14093E8
|
||||
- BaseAddress: 0x14AF266
|
||||
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
|
||||
- ReplaceZlib:
|
||||
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
||||
|
@ -630,18 +550,19 @@ New home screen subtitle custom font:
|
|||
Remove footer (row3) and increase cover size on new home screen:
|
||||
- Enabled: no
|
||||
- PatchGroup: Home screen layout tweaks
|
||||
- FindZlib: "#mainContainer[qApp_deviceIsTrilogy=true] {\n qproperty-leftMargin: 26;"
|
||||
- FindZlib: "#row1col2"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
- Find: "#mainContainer[qApp_deviceIsTrilogy=true] {\n qproperty-leftMargin: 26;\n qproperty-rightMargin: 26;\n qproperty-topMargin: 96;\n qproperty-bottomMargin: 26;\n qproperty-spacing: 10;\n}"
|
||||
Replace: "#mainContainer[qApp_deviceIsTrilogy=true] {\n qproperty-leftMargin: 10;\n qproperty-rightMargin: 10;\n qproperty-topMargin: 96;\n qproperty-bottomMargin: 26;\n qproperty-spacing: 10;\n}"
|
||||
- Find: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 36;\n qproperty-rightMargin: 36;\n qproperty-topMargin: 126;\n qproperty-bottomMargin: 36;\n qproperty-spacing: 14;\n}"
|
||||
Replace: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 12;\n qproperty-rightMargin: 12;\n qproperty-topMargin: 126;\n qproperty-bottomMargin: 36;\n qproperty-spacing: 14;\n}"
|
||||
- Find: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 50;\n qproperty-rightMargin: 50;\n qproperty-topMargin: 170;\n qproperty-bottomMargin: 50;\n qproperty-spacing: 20;\n}"
|
||||
Replace: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 16;\n qproperty-rightMargin: 16;\n qproperty-topMargin: 170;\n qproperty-bottomMargin: 50;\n qproperty-spacing: 20;\n}"
|
||||
- Find: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 65;\n qproperty-rightMargin: 65;\n qproperty-topMargin: 220;\n qproperty-bottomMargin: 65;\n qproperty-spacing: 26;\n}"
|
||||
Replace: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 20;\n qproperty-rightMargin: 20;\n qproperty-topMargin: 220;\n qproperty-bottomMargin: 65;\n qproperty-spacing: 26;\n}"
|
||||
# Note: this shouldn't conflict with the below patch, as the original row1col2 rule is kept intact, and there's no harm in duplicate rules.
|
||||
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"}
|
||||
- {Find: "qproperty-rightMargin: 32px;", Replace: "qproperty-rightMargin: 16px;"}
|
||||
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
|
||||
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
|
||||
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
|
||||
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
|
||||
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
|
||||
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
|
||||
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
|
||||
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
|
||||
- Find: "#row1col2 {\n qproperty-visible: false;\n}"
|
||||
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
|
||||
|
||||
|
@ -652,3 +573,45 @@ Remove footer (row3) on new home screen:
|
|||
- ReplaceZlib:
|
||||
Find: "#row1col2 {\n qproperty-visible: false;\n}"
|
||||
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
|
||||
# The following patch(es) are by pgaskin (geek1011)
|
||||
|
||||
Show all games:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Shows all games in beta features. Since firmware 4.20.14601, this patch is
|
||||
not needed if you have developer mode enabled (search
|
||||
devmodeon/devmodeoff).
|
||||
- FindZlib: "#boggleContainer[devModeOn=false][qApp_deviceIsPika=true]"
|
||||
- ReplaceZlib: {Find: "qproperty-visible: false;", Replace: "qproperty-visible: true;"}
|
||||
|
||||
Remove forgot pin button from lock screen:
|
||||
- Enabled: no
|
||||
- Description: |
|
||||
Removes the Forgot PIN -> Sign Out button from the lock screen.
|
||||
If this is enabled and you forget your pin, you will need to
|
||||
hard reset your Kobo.
|
||||
- BaseAddress: 0x14B787C
|
||||
- ReplaceZlib:
|
||||
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
||||
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
|
||||
- BaseAddress: 0x14BB84A
|
||||
- ReplaceZlib:
|
||||
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
||||
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
|
||||
|
||||
Increase size of kepub chapter progress chart:
|
||||
- Enabled: no
|
||||
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
|
||||
- FindZlib: "#chapterSizes"
|
||||
- ReplaceZlibGroup:
|
||||
Replacements:
|
||||
# Top padding is aready set to 15px, 25px, 33px, vertical aligned to middle.
|
||||
# Progress chart bar sizes:
|
||||
- Find: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 56px;\n min-height: 56px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 90px;\n min-height: 90px;\n min-width: 385px;\n max-width: 385px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 70px;\n min-height: 70px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 130px;\n min-height: 130px;\n min-width: 495px;\n max-width: 495px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 100px;\n min-height: 100px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 170px;\n min-height: 170px;\n min-width: 678px;\n max-width: 678px;\n}"
|
||||
- Find: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 130px;\n min-height: 130px;\n}"
|
||||
Replace: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 215px;\n min-height: 215px;\n min-width: 865px;\n max-width: 865px;\n}"
|
||||
|
|
Loading…
Reference in New Issue