View Single Post
Old 09-01-2020, 11:16 AM   #280
marp68
Addict
marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.marp68 substituted for the Southern Oracle when it was on vacation.
 
Posts: 283
Karma: 132294
Join Date: Apr 2016
Location: Sweden
Device: Kobo Clara HD
Quote:
Originally Posted by NiLuJe View Post
I can't tell you anything if you don't show me what *exactly* you've done .
I copied the whole script into a new file that I call "Config". It's a .txt-file. Then I removed the # for line 170 and added a line to be able to invert in main mode as well:

menu_item :reader :Invert Screen :nickel_setting :toggle :invert
menu_item :main :Invert Screen :nickel_setting :toggle :invert

I then got the Invert feature in both main mode and reader mode. Worked well.

I then removed the # for line 114:

swap (4.13.12638+) - Toggles between portrait/landscape
(preserves inversion) (this will not work if used in a chain with invert)

But when pressing the Nickel menu in main mode I get the Config error message and when pressing this I get the error description:

"parse config files: file /mnt/onboard/.adds/nmconfig.txt: line 114: field 1: unknown type 'swap (4.13.12638+)) - Toggles between portrait/landscape (preserves inversion) (this will not work if used in a chain with invert)' (src/config.c:279) (src/config.c761)"
marp68 is offline   Reply With Quote