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 10-14-2022, 04:51 AM   #886
natore
Junior Member
natore began at the beginning.
 
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?
natore is offline   Reply With Quote
Old 10-17-2022, 09:45 AM   #887
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
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.
RobertJSawyer is offline   Reply With Quote
Advert
Old 10-17-2022, 12:56 PM   #888
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by RobertJSawyer View Post
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.
Is there anything extra you have to do when toggling the invert mode with Nicklemenu (like reboot)?
John F is offline   Reply With Quote
Old 10-17-2022, 04:49 PM   #889
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by John F View Post
Is there anything extra you have to do when toggling the invert mode with Nicklemenu (like reboot)?
Yes, a reboot is necessary. My entry in NickelMenu is:

menu_item :main : Invert & Reboot : nickel_setting :toggle: invert
chain_success : power : reboot
DNSB is offline   Reply With Quote
Old 10-18-2022, 05:59 AM   #890
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by DNSB View Post
Yes, a reboot is necessary. My entry in NickelMenu is:

menu_item :main : Invert & Reboot : nickel_setting :toggle: invert
chain_success : power : reboot
Thanks. If I didn't have to reboot, I would use Invert mode instead of Dark Mode. I like everything inverted.
John F is offline   Reply With Quote
Advert
Old 10-23-2022, 04:28 PM   #891
dem1980fr
Enthusiast
dem1980fr began at the beginning.
 
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
dem1980fr is offline   Reply With Quote
Old 10-23-2022, 04:41 PM   #892
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
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
and

Code:
menu_item :reader    :Dark Mode        :nickel_setting :toggle :dark_mode
  chain_success                        :power          :reboot
RobertJSawyer is offline   Reply With Quote
Old 10-23-2022, 05:37 PM   #893
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by RobertJSawyer View Post
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
and

Code:
menu_item :reader    :Dark Mode        :nickel_setting :toggle :dark_mode
  chain_success                        :power          :reboot
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.
John F is offline   Reply With Quote
Old 10-24-2022, 11:55 AM   #894
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by John F View Post
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.
That may be your issue. Dark mode should not require a restart though invert does.
DNSB is offline   Reply With Quote
Old 10-24-2022, 02:00 PM   #895
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by DNSB View Post
That may be your issue. Dark mode should not require a restart though invert does.
I don't have an issue.
John F is offline   Reply With Quote
Old 11-13-2022, 08:50 AM   #896
Octane
Junior Member
Octane began at the beginning.
 
Octane's Avatar
 
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?
Octane is offline   Reply With Quote
Old 11-14-2022, 05:56 PM   #897
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
Quote:
Originally Posted by Octane View Post
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?
You can see these instruction:
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.
ps67 is offline   Reply With Quote
Old 11-15-2022, 07:05 AM   #898
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
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?
Alan_S is offline   Reply With Quote
Old 11-15-2022, 08:32 AM   #899
Octane
Junior Member
Octane began at the beginning.
 
Octane's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2018
Device: Kobo Aura One
Quote:
Originally Posted by ps67 View Post
You can see these instruction:
https://github.com/koreader/koreader...n-Kobo-devices

One important advantage of launching KOreader directly with NM is that it survives over firmware updates.
The instructions don't tell how to make KOReader autostart, it only says that it will show up in a menu in Nickel.

And for the record, I haven't updated the firmware at all since I originally installed KOReader, I only update KOReader itself.
Octane is offline   Reply With Quote
Old 11-15-2022, 09:16 AM   #900
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,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?
JSWolf is online now   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 03:06 PM.


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