Quote:
Originally Posted by NiLuJe
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)"