01-12-2016, 05:29 PM | #76 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
As for your suggestions in #74, I am currently a little under time pressure and cannot carefully go through it now. Therefore I might misunderstand some points and will only make some quick remarks One point, I think, is that we differ in our understanding what the expression "dontTamperwithFrontlight" is meant to convey. I meant it to express that KSM should restore the original state of the light intensity (as it was after powering on and before KSM might have changed it, that means "0") before passing control to another application , since otherwise I would have to make changes to the configuration files of nickel and older versions of koreader. If you can live with this understanding of "dontTamperwithFrontlight", there is not need to change all "false" to "true" and vice versa. Currently, with the default setting (dontTamperwithFrontlight=true), KSM switches off the light before passing control to nickel or koreader, and these applications set the light intensity according to the settings of their configuration files (if there are those settings). Therefore, if you decide to make koreader read and change the light settings of Kobo eReader.conf, it should still work as you intend without changing the KSM files, and this would not create problems with older versions of koreader (which do not change the setting in Kobo eReader.conf). Before returning control back to KSM, I think it is better to restore (as it is now done) the light intensity according to the KSM settings independent of the value of dontTamperwithFrontlight, since otherwise you would have to inform KSM about the current light intensity by writing to a config file, and KSM would have to continually read this config file. By the way, how can I get the concerned modified lua files for testing? Last edited by tshering; 01-12-2016 at 05:31 PM. |
|
01-13-2016, 08:13 AM | #77 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2015
Device: None
|
Hi, just installed this on my new Aura H2O, like it so far, but a couple small issues. Running KSM08 stable, and for some reason, I don't have a sleep option on my menu, and the sleep button doesn't work. Did a search on the forum, didn't find anyone else who mentioned this, is this a known issue?
|
Advert | |
|
01-13-2016, 09:37 AM | #78 |
Evangelist
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
The sleep button was eliminated in KSM07. You have only poweroff, but can use koreader or coolreader which have sleep funtion
|
01-14-2016, 02:03 PM | #79 | |||
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2015
Device: Kobo Glo HD
|
Oh, thanks davidfor. That makes sense.
Quote:
Quote:
This leaves the `nkloopfifo` checking bits from my link above as a potential patch. (this and this) Quote:
--------- I have a few more things that bugged me while testing and I'll just note them down for reference before I forget them: * First of all, related to the above: It's trivial to make KSM write to Nickel's config. To me it's important to be able to switch my device on in the night and for that I need brightness=1. We could have a feature that forces Nickel conf to be at least 1. For reference here's how I get and set the brightness value from the shell: Code:
grep '^FrontLightLevel=' '/mnt/onboard/.kobo/Kobo/Kobo eReader.conf' | cut -d= -f2 | tr -d '\n' Code:
brightness="$1" if [ "$brightness" -ge 0 -a "$brightness" -le 100 ]; then sed -i -r 's/^(FrontLightLevel=)[0-9]+/\1'$brightness'/' '/mnt/onboard/.kobo/Kobo/Kobo eReader.conf' else exit 1 fi Code:
ksmAutoselectoption=start_nickel_koreader_switch ksmAutoselectoption=start_koreader_nickel_switch * The "Info: Wifi is enabled!" message when returning to KSM is useful, but you still need to go into the wifi settings to switch it off. If it was a dialog with options "Switch it off"/"Leave it on" it would be even more useful. * I use usbnet a lot and it would be heavenly if there was another way to change the desired IP address from the default 192.168.2.101 to something else from a configuration file / interactively instead of editing the script itself (I'm already on a 192.168.2.* network). This is probably a little too specific to developers. * When the bouncer is vertical the keyboard is huge on my Kobo Glo HD. * The bouncer can be vastly improved for security, including file security when the device is stolen. Since there is an `openssl` binary we can use that to decrypt encrypted files on boot, while at the same time verifying the password. This would have to be tweakable by the user somehow but I haven't worked on it at all. (Keep in mind that decrypting large files on these readers is slow, but if you're carrying work with you this can be very useful.) Last edited by refj; 01-14-2016 at 02:21 PM. |
|||
01-15-2016, 07:17 AM | #80 | ||
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@refj,
since your post is rather long, I will probably split my response up into serveral pieces. Quote:
Quote:
If I were to give up this reluctance, I would think of something like this: The basic idea is to have a file "currentlightlevel.txt" with the currently set/wished light level that we can read before starting an application, and write to after this application has exited. So I would give up dontTamperwithFrontlight and would replace it by syncLightBetweenApps (currently KSM, Koreader, Nickel). in start_koreader.sh
Similar for start_nickel.sh How do you think about this? (This idea does however not consider your recent proposals for koreader) Edit: One problem is that in the koreader configuration files there is possibly nothing like nickel's FrontLightState. I take a note for the next update. Last edited by tshering; 01-15-2016 at 06:26 PM. |
||
Advert | |
|
01-15-2016, 08:50 AM | #81 | ||||
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
... continuing the previous post.
Quote:
Quote:
The other option I can think of now is to introduce a usbnet_toggle_2.sh that reads a list of addresses from a file and offers them for selection each time you try to enable usbnet. I think this might only be useful if you have to change repeatedly in a short time between different addresses. Quote:
Spoiler:
Quote:
Last edited by tshering; 01-15-2016 at 10:18 AM. |
||||
01-21-2016, 02:28 PM | #82 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
syncthing under KSM 08
This package installs syncthing under KSM 08
How to install and activate: Spoiler:
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. Last edited by tshering; 01-26-2016 at 06:49 AM. |
01-21-2016, 03:16 PM | #83 | |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
A couple of tips for using Syncthing with the Kobo:
The Syncthing documentation http://docs.syncthing.net/intro/getting-started.html is pretty good, and the first place you should consult for info on getting things set up. It's dead simple, really. Last edited by gummihuhn; 01-21-2016 at 03:47 PM. Reason: correction in light of new info |
|
01-21-2016, 03:24 PM | #84 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
01-21-2016, 03:25 PM | #85 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
gummihuhn,
thank you for the feedback and also for the tips. Quote:
|
|
01-21-2016, 03:37 PM | #86 | |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
That said, I'm not aware of any negative consequences of ignoring permissions on the Kobo side of a sync. |
|
01-21-2016, 03:41 PM | #87 |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
So we can use the '.sdr' folders to sync, progress, highlights and other books settings between devices? For some reason I was under the misimpression that those folders were device specific. That's great news. I'll amend my post to reflect this info.
|
01-21-2016, 04:12 PM | #88 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
I start KOReader with the external uSD card remounted read/write, without that, I can't use the long press delete option, in the File Manager or have OPDS downloads to a folder on the external uSD card (/mnt/sd).
The .sdr folder and KOReader's "History" seem to work in parallel to maintain the current status of each book that has been opened. That said, I haven't tried to manually move a set of the files for a book from device to device. I have used the "Progress sync" function which works between my Kobo Aura HD and Android tablet. I believe that the .sdr files are specific to the book file, while if there were any device specific settings, they would not have effect in a different device. Luck; Ken Last edited by Ken Maltby; 01-21-2016 at 04:16 PM. |
01-24-2016, 04:43 PM | #89 | |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
Syncthing on the Kobo and your scripts have been working nicely for me. I'm glad to report that Syncthing on my Kobo automatically upgraded itself to the latest version (a feature on most devices) meaning that one will only need use your installer once, and subsequent upgrades are automatic. |
|
01-25-2016, 11:15 AM | #90 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
gummihuhn,
thank you for sharing this information! |
|
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 |