Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-10-2016, 07:14 PM   #106
loviedovie
Addict
loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
Quote:
Originally Posted by tshering View Post
This package installs syncthing under KSM 08

How to install and activate:
Spoiler:
  • extract KoboRoot.tgz from the uploaded zip archive and copy it into .kobo
  • eject and disconnect the device
  • select (from home): handle update > install update
  • wait until the reader has restarted
  • select (from home): scripts > syncthing > syncthing start.sh
  • if you see "Syncthing has been configured successfully", touch the middle of the screen, and then press the "close" button
  • Enable wifi, if it is not already on
  • On your pc, type into the location bar "http://<your device IP>:8384" (for instance, "http://10.0.0.3:8384"), and manage the syncthing settings. Note: To refer to a folder with the name ".testsyncfolder" on the user partition of the Kobo (this is what you see, when you connect the device via USB to your pc), you would write "/mnt/onboard/.testsyncfolder".

You can shut down syncthing by selecting "Actions" > "Shutdown" in the web browser, or by selecting "scripts" > "syncthing" > "syncthing kill.sh", in KSM. You can access the syncthing GUI also from your webbrowers on nickel via "http://127.0.0.1:8384", but this seems to be only of limited use.

Note: Do not use the default synchronization folder (/Sync), which is created by syncthing, except you know exactly what you are doing. Anyway, it is not advisable to use the system partition as storage.

There is also syncthing-inotify that watches for file changes (instead of regular interval scans). It can be useful on these low power devices since syncthing can be a greedy battery drainer if you sync a lot of files.
loviedovie is offline   Reply With Quote
Old 02-11-2016, 04:21 PM   #107
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by loviedovie View Post
There is also syncthing-inotify that watches for file changes (instead of regular interval scans). It can be useful on these low power devices since syncthing can be a greedy battery drainer if you sync a lot of files.
Thank you for the information!
tshering is offline   Reply With Quote
Advert
Old 02-11-2016, 04:28 PM   #108
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Setting a network with KSM is only of limited use. The cause of this is that I used only those means that were already available in KSM. One shortcoming is that one can only type a very restricted set of characters (0-9, a-z, A-Z) into the password input mask.

I can think of several ways to improve this situation and mention two:
  • One could write a new input mask (and everybody is invited to do this).
  • One could define some substitution codes for additional characters, so that one would type, e.g., "CCC" and afterwards replace "CCC" by a comma. See the spoiler:
    Spoiler:
    In /adds/kbmenu/scripts_intern/wifi/wifi_ap_scan.sh insert after the line
    Code:
    pw1=$($bouncer)
    something like
    Code:
    pw1=${pw1//CCC/,}
    pw1=${pw1//DDD/.}
    pw1=${pw1//EEE/!}
    pw1=${pw1//QQQ/?}
    pw1=${pw1//SSS/;}
    For instance, if your password is "my;password", you would type "mySSSpassword" instead.

Last edited by tshering; 02-11-2016 at 04:55 PM.
tshering is offline   Reply With Quote
Old 02-11-2016, 05:04 PM   #109
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by had View Post
Ken, how do you set the uSD card to read/write ? For me, syncthing will not sync to a folder within /mnt/sd/ because it complains that the filesystem is read-only.
I put the following in /mnt/onboard/.adds/koreader/koreader.sh, after
"# end of value check of PLATFORM"

#remount SD card as read/write
mount -o remount,rw /mnt/sd/

just before:

./reader.lua "${args}" 2> crash.log

So, the second option tshering listed.

Luck;
Ken

Last edited by Ken Maltby; 02-11-2016 at 05:07 PM.
Ken Maltby is offline   Reply With Quote
Old 02-18-2016, 08:36 PM   #110
Glukkkk
Enthusiast
Glukkkk began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2015
Device: Forma _ KSM-9 _ vlasovsoft
The power button and sleep mode , cover with automatic on/off, must work when the KSM8 is active?

Last edited by Glukkkk; 02-19-2016 at 12:30 AM.
Glukkkk is offline   Reply With Quote
Advert
Old 02-19-2016, 04:08 AM   #111
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Glukkkk View Post
The power button and sleep mode , cover with automatic on/off, must work when the KSM8 is active?
I am not totally sure whether I understand the question correctly. I try to answer nevertheless.

There are some things the power button/slider does independent of any application. It powers on the device if it was off, and it forces the device to power off,if you hold the button for 20 secs or so in the off position. In combination with the home or light button, the power button/slider can trigger a factory reset. The power button also awakes the device from suspend state.

Any application can add functionality to the power button. The different applications of KSM (the menu proper speaking, the text viewer, the image viewer, the ini file manager, and so on) do not add any new functionality.

Other applications do. With nickel, KOReader or any application of the Pbchess package running, a short push on or slide of the power button/slider puts the device to sleep. With nickel, holding the power button a little longer powers the device off (maybe this is also the case with Pbchess, I never tried).

As for a sleep cover, I cannot remember exactly, since I do not use one. But I think it is the task of each application to handle it.

I try to say it another way: Under nickel the functions of the button(s)/slider and sleep cover are always the same, irrespective whether nickel was started from KSM or not. This is true also for KOReader and the Pbchess applications.

Last edited by tshering; 02-19-2016 at 04:32 AM.
tshering is offline   Reply With Quote
Old 02-19-2016, 06:37 PM   #112
Glukkkk
Enthusiast
Glukkkk began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2015
Device: Forma _ KSM-9 _ vlasovsoft
Thanks for the answer.
You almost have correctly understood.
With nickel, KOReader or any application of the Pbchess package running, a short push on or slide of the power button / slider puts the device to sleep.
And when we see on the screen "KSM", why it does not work "a short push on or slide of the power button / slider puts the device to sleep"?
Glukkkk is offline   Reply With Quote
Old 02-19-2016, 06:54 PM   #113
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
KSM doesn't have or need a sleep function. Nickel, KOReader, and Coolreader do.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 02-20-2016, 03:00 PM   #114
Glukkkk
Enthusiast
Glukkkk began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2015
Device: Forma _ KSM-9 _ vlasovsoft
Cool

This is bad.
There is a habit: the book closed, book sleeping.
When enabled KSM, the book does not go into sleep mode ...
Glukkkk is offline   Reply With Quote
Old 02-20-2016, 04:18 PM   #115
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Glukkkk View Post
This is bad.
There is a habit: the book closed, book sleeping.
When enabled KSM, the book does not go into sleep mode ...
There are some problems with suspending the device. If you search the Kobo forum, you will find a lot complaining about battery drains during sleep, about the device not reliably sleeping while the cover is closed and so on. I simply do not want KSM to be responsible for your battery going flat.

If you want your device to be put into suspend state after a certain time or when you close the cover, make sure you have one of the reading applications running. Most of the time, this will be the case anyway.

Last edited by tshering; 02-20-2016 at 04:30 PM.
tshering is offline   Reply With Quote
Old 02-20-2016, 04:24 PM   #116
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Glukkkk View Post
This is bad.
There is a habit: the book closed, book sleeping.
When enabled KSM, the book does not go into sleep mode ...
KSM doesn't normally have anything to do with books, you can't be in KSM and be reading a book. In fact, if you leave a reader, like KOReader or Coolreader and go to KSM, you have shutdown the reader, it won't be in "sleep mode", either.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 02-20-2016, 04:33 PM   #117
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Ken; I think that Glukkkk means that when the eBook reader is closed (ie the KOBO cover is closed) that with KSM enabled the eBook reader does not go into sleep reader.
PeterT is offline   Reply With Quote
Old 02-20-2016, 05:05 PM   #118
Glukkkk
Enthusiast
Glukkkk began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2015
Device: Forma _ KSM-9 _ vlasovsoft
Maybe write a script that will be KSM switched to nickel after 5 ... 10 minutes of inaction?
Then you can use a standard automatic sleep / shutdown nickel ...
Glukkkk is offline   Reply With Quote
Old 02-20-2016, 05:53 PM   #119
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
@Glukkkk
thank you for the suggestion!
tshering is offline   Reply With Quote
Old 02-23-2016, 04:07 AM   #120
had
Member
had began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2015
Device: kobo aura hd, aura h20, elipsa 2e
Thanks Ken and tshering,

I will add this to the script that starts syncthing, as it always needs write access to the external sd.



Quote:
Originally Posted by Ken Maltby View Post
I put the following in /mnt/onboard/.adds/koreader/koreader.sh, after
"# end of value check of PLATFORM"

#remount SD card as read/write
mount -o remount,rw /mnt/sd/

just before:

./reader.lua "${args}" 2> crash.log

So, the second option tshering listed.

Luck;
Ken
had is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo-Adding alternative readers using Kobo Start Menu Ken Maltby KOReader 75 01-10-2020 01:35 PM
Kobo Start Menu tshering Kobo Developer's Corner 918 10-12-2017 02:32 PM
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM
QT Browser for Kobo Start Menu? gloriousglib Kobo Developer's Corner 1 05-24-2014 03:59 AM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


All times are GMT -4. The time now is 05:28 PM.


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