View Single Post
Old 04-13-2020, 02:43 PM   #5
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Hey Tired.

Sadly KOReader isn't tested on non-touch devices. I can reproduce your issue on the emulator with
Code:
export DISABLE_TOUCH=1
When onderocks added support for non-touch devices *almost* everything worked, but further changes weren't tested. Patches are welcome.

KOReader works based on modularity, so some settings only apply to a subset of documents. If you want to make changes to all documents you can edit settings.reader.lua

To modify Left/Right page margins to 20 add
Code:
    ["copt_h_page_margins"] = {
        [1] = 20,
        [2] = 20
    },
In the same vein you can use
Code:
["copt_t_page_margin"] = 20
and

Code:
["copt_b_page_margin"] = 20
to set top and bottom margin too. I hope it helps until somebody fixes these kind of quirks on non touch devices

Last edited by pazos; 04-13-2020 at 02:48 PM. Reason: be real
pazos is offline   Reply With Quote