Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2020, 11:40 AM   #271
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,712
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by marp68 View Post
Thanks
I now copied the whole text into the file I created and named Config. Then I removed the # for the two things I wanted.

menu_item :reader :Invert Screen :nickel_setting :toggle :invert
menu_item :reader :Invert Orientation :nickel_orientation :invert

I then saved the file and unmounted the reader, but when I press the Nickel icon nothing happens. I have read the document. What did I miss?
The two lines are part of the ... menu when you are in the reading app with a book loaded.
JSWolf is offline   Reply With Quote
Old 08-29-2020, 12:36 PM   #272
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 JSWolf View Post
The two lines are part of the ... menu when you are in the reading app with a book loaded.
Aha, thanks. Thought I would do it from the Nickel menu.
marp68 is offline   Reply With Quote
Advert
Old 08-30-2020, 01:27 AM   #273
babygau
Enthusiast
babygau began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Apr 2020
Device: kobo libra h20
Quote:
Originally Posted by marp68 View Post
Aha, thanks. Thought I would do it from the Nickel menu.
yes, just change `:reader` to `:main`
babygau is offline   Reply With Quote
Old 08-30-2020, 03:41 AM   #274
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 babygau View Post
yes, just change `:reader` to `:main`
In the config file, I suppose?

And will it make it possible to Invert both when I am in the main/home page and when reading a book?
marp68 is offline   Reply With Quote
Old 08-30-2020, 12:21 PM   #275
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,011
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by marp68 View Post
In the config file, I suppose?

And will it make it possible to Invert both when I am in the main/home page and when reading a book?
Duplicate the line so there's a copy each with :main and :reader it if you want it in both places.
compurandom is offline   Reply With Quote
Advert
Old 09-01-2020, 05:15 AM   #276
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
Love the nightmode feature. Much easier then before.

I would also like to rotate the screen to lanscape, but I only find an Invert orientation option, which rotates it 180 degrees.

What did I miss?
marp68 is offline   Reply With Quote
Old 09-01-2020, 05:27 AM   #277
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@marp68: https://github.com/pgaskin/NickelMen...3/res/doc#L114
NiLuJe is offline   Reply With Quote
Old 09-01-2020, 05:50 AM   #278
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
Thanks

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

I tried it, but get an error message, "configuration error". And that it has to do with using it in chain..."

How can I use it correctly? Is it not working with the Invert/nightmode feature? That's the only other menu feature I have added.
marp68 is offline   Reply With Quote
Old 09-01-2020, 09:37 AM   #279
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I can't tell you anything if you don't show me what *exactly* you've done .
NiLuJe is offline   Reply With Quote
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
Old 09-01-2020, 02:40 PM   #281
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Emphasis on *show* .

But, this isn't how the documentation works: it's a documentation, not an example. There happens to be a few examples at the tail end of it, but that's besides the point.

Read it, grok the syntax, then write a *new* config *from scratch*, chances are, things will only get better from there .

Last edited by NiLuJe; 09-01-2020 at 02:44 PM.
NiLuJe is offline   Reply With Quote
Old 09-01-2020, 03:37 PM   #282
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
Thanks for forcing me to think again
Figured it out finally... and ended up with this:

menu_item :main :Invert Screen :nickel_setting :toggle :invert
menu_item :reader :Invert Screen :nickel_setting :toggle :invert
menu_item :main :Portrait/landscape :nickel_orientation :swap
menu_item :reader :Portrait/landscape :nickel_orientation :swap

And it worked...
marp68 is offline   Reply With Quote
Old 09-03-2020, 12:19 PM   #283
fer1803
Enthusiast
fer1803 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2012
Device: none
I don't know if it's possible what I'm asking, but would it be possible to open a book directly in koreader from nicklel? adding an option in the book's context menu to the style of how it's done on android?
fer1803 is offline   Reply With Quote
Old 09-03-2020, 02:29 PM   #284
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@fer1803: Potentially, yes, but it's a terrible idea because we don't run concurrently with Nickel. We murder it with fire on startup.

And even that theoretical is only that, highly theoretical, would need quite a bit of work, and the UX would be terrible.

TL;DR: No.
NiLuJe is offline   Reply With Quote
Old 09-04-2020, 01:45 PM   #285
Elektron
Banned
Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.
 
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
Hmm. Does NM have dual functions (do 2 actions with 1 menu item)? That would be useful.
Elektron is offline   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 04:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 06:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 02:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 01:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 06:42 AM


All times are GMT -4. The time now is 04:33 PM.


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