Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 12:32 AM   #376
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: 8,900
Karma: 41038543
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
Quote:
Originally Posted by blackwalrus View Post
In two lines (on / off) everything works, but it clutters the menu, incorrectly and ugly.
Can you try this and see if it works for you:

Code:
#
menu_item :main :Screensaver Status :cmd_output :500:quiet:test -e /mnt/onboard/.kobo/screensaver_old
      chain_success  : dbg_toast :Screensaver is off
      chain_failure  : dbg_toast :Screensaver is on
#
menu_item :main :Toggle screensaver :cmd_output :500:quiet:test -e /mnt/onboard/.kobo/screensaver_old
    chain_failure :skip :3
        chain_success :cmd_spawn :quiet:mv /mnt/onboard/.kobo/screensaver_old /mnt/onboard/.kobo/screensaver
        chain_success :dbg_toast :Screensaver on
        chain_always :skip :-1
    chain_failure :cmd_spawn :quiet:mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old
    chain_success :dbg_toast :Screensaver off
#
The screen saver status echo was just to allow me to check if the status had been toggled so can be removed.

Edit: Also note that I set this in my Main/homepage menu.

Last edited by DNSB; Yesterday at 12:37 AM. Reason: Note about menu
DNSB is offline   Reply With Quote
Old Yesterday, 12:53 AM   #377
blackwalrus
Member
blackwalrus began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2020
Device: Aura One
Quote:
Originally Posted by DNSB View Post
Can you try this and see if it works
Yes, it works.
blackwalrus is offline   Reply With Quote
Old Yesterday, 03:58 AM   #378
compurandom
Fanatic
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: 589
Karma: 294342
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by blackwalrus View Post
I got this error when I tried to replace "-e" with "-d". Which is probably more correct (not sure).
Do you really even have to test it? Just move it, and if it fails, move it the other way. I think it would be the same, but 2 lines shorter.

edit: nevermind. More error checking is better anyway.

Last edited by compurandom; Yesterday at 04:17 AM.
compurandom is offline   Reply With Quote
Old Yesterday, 05:33 AM   #379
anki
Connoisseur
anki will become famous soon enoughanki will become famous soon enoughanki will become famous soon enoughanki will become famous soon enoughanki will become famous soon enoughanki will become famous soon enough
 
Posts: 63
Karma: 550
Join Date: Apr 2015
Device: Kobo Glo HD | KSM9 | KoReader | Plato
Have someone success with FTP connection? Where do i put the username on the config file?

Can i open books directly from the FTP when connected or do i need to download them first on the mounted directory?
anki is offline   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:58 PM.


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