![]() |
#886 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Oct 2022
Device: Kobo Libra 2
|
CLI?
So I am pretty new to Kobo hacking. I setup a reader menu entry for toggling dark mode. The thing is that I am usually always enabling darkmode during the night and disabling it in the morning. Now I am looking for a way to do this programatically.
I have been thinking about setting up a udev hook and write a small script to enable/disable dark mode based on time of day, but I can't figure out a way to do it from the terminal. I know NickelDBus exists, but it doesn't appear to have support for the newer firmware darkmode, only for invert, which does nothing on my Libra 2. Anybody got an idea how to achieve this? |
![]() |
![]() |
![]() |
#887 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Natore, you wrote "invert, which does nothing on my Libra 2."
Invert mode works just fine, inverting the entire display, including the user interface and pictures. I use it all the time on my Libra 2, Clara HD, and Clara 2E. Both invert mode and dark mode are available on all those devices and can be used in any combination. |
![]() |
![]() |
Advert | |
|
![]() |
#888 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
|
|
![]() |
![]() |
![]() |
#889 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#890 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
Advert | |
|
![]() |
#891 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Aug 2020
Device: Kobo Libra
|
Hello,
we have two Kobo at home with NickelMenu. On my Kobo, when I activate the Dark mode for example, I have a popup that display "dark mode enabled" or "dark mode disabled". On my daughter's kobo, there is not this popup. How can I activate this popup on her Kobo ? Thank you |
![]() |
![]() |
![]() |
#892 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Do your Nickel Menu lines look like this? They should:
Code:
menu_item :main :Dark Mode :nickel_setting :toggle :dark_mode chain_success :power :reboot Code:
menu_item :reader :Dark Mode :nickel_setting :toggle :dark_mode chain_success :power :reboot |
![]() |
![]() |
![]() |
#893 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Idon't think you need to reboot when you toggle dark mode. I just exit and re-enter the book. I am on an older firmware.
|
![]() |
![]() |
![]() |
#894 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#895 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
![]() |
#896 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2018
Device: Kobo Aura One
|
I'm considering switching to NickelMenu from KSM for my Kobo Aura One since development has stopped on that and I have now encountered problems likely related to that. Is there a way to make NickelMenu auto-start KOReader like I managed to do with KSM?
|
![]() |
![]() |
![]() |
#897 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Quote:
https://github.com/koreader/koreader...n-Kobo-devices One important advantage of launching KOreader directly with NM is that it survives over firmware updates. Last edited by ps67; 11-14-2022 at 05:59 PM. |
|
![]() |
![]() |
![]() |
#898 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
But it doesn't autostart KoReader, as it goes first to nickel, then you have to start KoReader. Maybe, I don't use NickelMenu, there's an option for autostarting some things?
|
![]() |
![]() |
![]() |
#899 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2018
Device: Kobo Aura One
|
Quote:
And for the record, I haven't updated the firmware at all since I originally installed KOReader, I only update KOReader itself. |
|
![]() |
![]() |
![]() |
#900 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
For those using KSM to auto start KOReader, do you know how to stop the auto start process to get back tho Nickel?
|
![]() |
![]() |
![]() |
Tags |
kobo, launcher, ldpreload, nickel |
|
![]() |
||||
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 |