Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 06:50 PM   #1
Gormagon
monstrous mythical beast
Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.Gormagon ought to be getting tired of karma fortunes by now.
 
Gormagon's Avatar
 
Posts: 207
Karma: 5078396
Join Date: May 2023
Location: Klopstokia
Device: Tab Ultra C, Meebook P78 Pro, Viwoods AIPaper Reader, various NXTPAPER
How to use KOReader full screen on Android with camera cut-out

It took me some time to figure out how to use KOReader in real full screen mode on Android devices with a camera cut-out. I always had an ugly solid black bar on top that bothered me.

To use KOReader in real full screen mode you have to use the adb command:

Code:
adb shell am compat enable 332679525 org.koreader.launcher
But then there's some space on the bottom. To fix this you can create a really small patch:

Code:
local screen = require("android").screen
screen.height = screen.height + X
Replace X with the number of pixels (for example 170). To determinate the pixel number just make a screenshot when in KOReader and cut out the free space at the bottom for example in irfan view. Then use the height of this cut out as value for X.
Name the patch "1-full-screen.lua" (or whatever, just male sure it starts with "1-" [or "10-" or "11-" et cetera] and ends with ".lua") and put it in the patch folder in root/koreader/patches. If the folder "patches" isn't there just create a new folder. Patches only work if you use the apk from KOReader's github page, not with the F-Droid version.

I found the solution hidden in a discussion on github: https://github.com/koreader/koreader...ent-5436399447
Gormagon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text cut off on right/left on full screen option despite fix Katsunami Kobo Reader 13 02-05-2018 05:22 AM
Anyone tried KOreader on their M96? Full screen? timofonic Onyx Boox 0 12-28-2015 08:41 PM
CSS solution for words cut-off in kepub full screen reading scoky Kobo Reader 35 04-29-2015 02:07 AM


All times are GMT -4. The time now is 10:49 PM.


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