View Single Post
Old 11-15-2023, 02:20 PM   #478
nmyshkin
Connoisseur
nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.
 
nmyshkin's Avatar
 
Posts: 59
Karma: 56675
Join Date: Nov 2021
Device: Nook Simple Touch (3), Nook Simple Touch w/Glowlight (3)
Quote:
Originally Posted by Tialex View Post
Anyway, the script below works for any file (epub, pdf) and probably for any view of the program. Anyone who want to force the program rotation (vs system) for KoReader 2023.08 should create the file named 1-force-soft-rot.lua in the sdcard/koreader/patches directory with the following text
I just want to say thanks for this. I have two Nook Tablets running different custom ROMs and neither one apparently handles screen orientation in a way that KOreader likes. No problems with a stock ROM on another device.

I've been using an app that can force orientation on an app-by-app basis through Accessibility settings. This is so much better! Now KOreader behaves just like everything else, adopting the current system orientation.

Edit: Okay......never mind. I had only turned off control of KOreader screen orientation with the rotation control app, even rebooted, and everything looked good. But when I actually uninstalled the rotation control app, then KOreader resumed its random screen orientations, regardless of the system orientation even with the patch. SIGH. Well, I still think your patch is a great idea, it just doesn't work for these ROMs. At least I have something that does work.

Last edited by nmyshkin; 11-16-2023 at 02:06 PM. Reason: change in behavior
nmyshkin is offline   Reply With Quote