09-14-2023, 01:21 PM | #1096 | |
Alive'n'Reading
Posts: 43
Karma: 70
Join Date: Dec 2008
Location: uk
Device: Kobo Libra H20, Kobo Libra 2, Paperwhite 5 SE
|
Quote:
|
|
09-14-2023, 04:57 PM | #1097 | |
Grand Sorcerer
Posts: 7,542
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
Thanks. |
|
Advert | |
|
09-14-2023, 05:05 PM | #1098 | ||
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
|
||
09-14-2023, 05:18 PM | #1099 |
Grand Sorcerer
Posts: 7,542
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
09-14-2023, 05:45 PM | #1100 | |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
At some point, pgaskin might add the ioctl binary to the NickelMenu install but given how busy he has been for the last while, I wouldn't hold my breath waiting. |
|
Advert | |
|
09-14-2023, 06:02 PM | #1101 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Kobo ships the ioctl binary, we've already had the discussion (possibly in this very thread) with the very same people (namely, Jon) with example code.
EDIT: Yup. (See surrounding pages (~65) for context and more examples) Last edited by DNSB; 09-14-2023 at 06:07 PM. |
09-14-2023, 06:09 PM | #1102 | |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
09-14-2023, 06:59 PM | #1103 | |
Grand Sorcerer
Posts: 7,542
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
Code:
ioctl /dev/ntx_io 241 -v 0 ioctl /dev/ntx_io 241 -v some-number I appreciate the "teach someone to fish, ..." philosophy, but sometimes you have to give them the fish. |
|
09-14-2023, 07:08 PM | #1104 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
No worries, I think I followed the exact same train of thought at the time, until I actually sat down and tried it on a device ;p.
|
09-14-2023, 07:10 PM | #1105 | |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
I can't speak for the NM-specific bits as I don't know the syntax off the top of my head, and cannot test it readily as I don't actually run Nickel most of the time . Something based on cmd_spawn ought to do the trick, though. |
|
09-14-2023, 07:20 PM | #1106 | |
Grand Sorcerer
Posts: 7,542
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
I actually want two menu entries: set dark mode true AND set the light level to a value Set dark mode false AND set the light level to a different value I think I can work my way through that. |
|
09-14-2023, 08:10 PM | #1107 |
Wizard
Posts: 1,429
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
Based on the KOReader code, it looks like you can also do something like:
echo 10 > /sys/class/backlight/mxc_msp430.0/brightness to set the backlight to 10% and: echo 5 > /sys/class/backlight/lm3630a_led/color to set the warmth to 50% on the Libra 2. Older devices require the ioctl method, though, and I haven't actually tried this yet. |
09-14-2023, 11:41 PM | #1108 |
Resident Curmudgeon
Posts: 76,438
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
delete post
Last edited by JSWolf; 09-14-2023 at 11:44 PM. |
09-15-2023, 07:28 AM | #1109 |
Member
Posts: 14
Karma: 10
Join Date: May 2019
Device: Kobo Aura ONE
|
Hello all,
after uninstalling NM, redoing a fresh firmware installation, and applying some patches, including "Replace adobe page numbers toggle with invert screen", I can see the new setting, but it does not work anymore. Manually editing the setting inside ".kobo/Kobo/Kobo eReader.conf" works. What can I do to regain the right behavior? Thanks for any hint. |
09-15-2023, 08:14 AM | #1110 |
Zealot
Posts: 145
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
|
Hi,
To do invert, I think you should reboot your device to make it work. I use the below command in nickelmmenu configuration: Code:
menu_item :main :Invert :nickel_setting :toggle :invert chain_success :nickel_orientation :swap the other command is below and it will reboot your device in order to do the invert: Code:
menu_item :main :Invert :nickel_setting :toggle :invert chain_success :power :reboot (edit colon power :reboot) Last edited by hatuluang; 09-18-2023 at 03:44 PM. Reason: Added code block to get rid of smiley |
Tags |
kobo, launcher, ldpreload, nickel |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 05:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 07:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 03:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 02:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 07:42 AM |