![]() |
#16 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Um, possibly stupid question, but why doesn't it work natively on the Kobo?
Or is there still no one who actually knows how to write a launcher stub for running commands from an easy GUI menu on the Kobo? ... Can't you add custom scripts to Kobo Start Menu or something??? This should not be so complicated... As I said before -- I don't own a Kobo and am not familiar with how to hack it, but it does sound like Kobo Start Menu is equivalent or has similar functionality to KUAL (i.e. you use it to launch custom actions by way of shell scripts). If it takes five minutes to write a simple JSON description for KUAL, I imagine it should take about the same time to package a hack for the Kobo. I refuse to believe that this is the first time anyone thought of running custom shell scripts on demand on the Kobo. |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
If it has a user interface that works on the Kobo, reads the touchscreen, displays properly on the device, then it would not be hard to add it to tshering's Kobo Start Menu. The script to launch it, isn't the hard part.
Luck; Ken |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Well, based on the nudge from eschwartz and Ken, I took a look at this. And it is definitely a bit more complicated than:
Quote:
Granted, before today I've not done anything more tricky on the Kobo than install Koreader and KSM. So it could just be inexperience on my part. I've now installed dropbear on the Kobo and put Syncthing on it. But I'm getting an error saying that the Kobo is refusing to let Syncthing open a port, similar to https://forum.syncthing.net/t/16-32-...-address/668/4 Poking around on the Kobo and about 1/2 an hour of internet searches hasn't clued me in to what the problem might be. I don't see any firewall rules (iptables or otherwise) on the Kobo. Maybe I need to add some lines to /etc/inetd.conf.local (and perhaps /etc/services)? I'm afraid I don't have any experience with inetd. I probably just need to read through some man pages (maybe if I get some time this weekend) but any tips in the meantime are welcome. |
|
![]() |
![]() |
![]() |
#19 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
the kobo by default has no local interface so you might need an `ifconfig lo 127.0.0.1` if you want to bind stuff to that address. or you could install my webportal mod which does something similar.
|
![]() |
![]() |
![]() |
#20 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
#!/bin/sh syncthing_log=/mnt/onboard/syncthing_extern.log ifconfig lo | grep -q addr:127.0.0.1 || ifconfig lo 127.0.0.1 /adds/syncthing/syncthing -no-browser -gui-address=0.0.0.0:8384 >> $syncthing_log 2>&1 As you see from the script, I put the executable syncthing to /adds/syncthing/. So you have to change this, if you put it another location. The logging is not necessary, of course. But I am still testing, since I did not know syncthing before. It might be a good idea, if execute the commands from telnet while you are testing things. I will update KSM (maybe this weekend) in order to make it easier to ran scripts in the background so that the menu is not blocked. Then it will be really easy to start and kill syncthing. Last edited by tshering; 01-20-2016 at 04:57 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Thanks frostschutz and tshering!
tshering's script did the trick for me. I haven't played around with it much yet, but Syncthing now appears to be working properly on the Kobo. I can now sync wirelessly directly with my other computers and my Android device, and manage the sync settings via a web browser. ![]() |
![]() |
![]() |
![]() |
#22 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Did you try to manage the sync settings via the web browser on the Kobo device? How does it work for you? For instance, I cannot add a folder. With the stock web browser, the input mask is so distorted, that I cannot make head or tail of it. With my own web browser, I can at least fill in the data, but the safe button does not work. The cancel button, however, works, great. |
|
![]() |
![]() |
![]() |
#24 | ||
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
Quote:
I guess for most use cases, the Syncthing settings and synced folders on the Kobo won't change very often, so I figure most people won't mind configuring these from a browser on another device. |
||
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
So tshering -- that would be an example of how to add custom script actions to the Kobo using KSM, similar to the Kindle Unified Application Launcher extensions?
![]() |
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
As for KUAL, I do not know. I have never seen it. Last edited by tshering; 01-21-2016 at 02:58 PM. |
|
![]() |
![]() |
![]() |
#29 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Having looked at your "simple JSON description" I understand your question better now. KSM has some dedicated folders where you can put your sh script files directly, or in sub folders if you like. Then you can browse through these folders and select the script you want to execute. Last edited by tshering; 01-22-2016 at 04:07 AM. |
|
![]() |
![]() |
![]() |
#30 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2018
Device: kobo aura hd
|
syncthing 1.0.0 for kobo
I found this thread with google and later discovered there is a readily available solution hidden here:
https://www.mobileread.com/forums/sh...8&postcount=82 I recreated the archive replacing old syncthing binary with current version available on github. Installation instructions from original post work. Many thanks to original author. Last edited by akamaus; 01-20-2019 at 02:11 PM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Kobo User becomes burned EX-Kobo user aka KOBO is horrible | tvuongpham | Kobo Reader | 140 | 09-18-2015 08:42 AM |
Changing fonts issue on Kobo Aura HD/Kobo Glo [PROBLEM SOLVED] | Dr. Drib | Kobo Reader | 19 | 05-13-2014 04:35 PM |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |