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 07-28-2020, 03:17 PM   #1
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Question Feeding live text input of Linux computer to Kobo terminal

Hi,
I recently bought a Kobo Libra H2O and I love it. I installed pbchess, KOReader and Plato, and was able to access a terminal locally via the vlasovsoft launcher (thanks Sergey!), telnet to other computers, and even watch Star Wars ASCIIMation movie directly from my Kobo
However, I would like to reduce my eyestrain while typing on my LCD screen computer, and be able to see directly, live, the text input I type on my computer's keyboard. I'm on Arch Linux.
I'm looking for something like telnet, in terminal/shell.

Thanks for your answers, they're always of valuable help!
NiMa is offline   Reply With Quote
Old 07-28-2020, 04:18 PM   #2
Mavireck
Connoisseur
Mavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a Texan
 
Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
Quote:
Originally Posted by NiMa View Post
Hi,
I recently bought a Kobo Libra H2O and I love it. I installed pbchess, KOReader and Plato, and was able to access a terminal locally via the vlasovsoft launcher (thanks Sergey!), telnet to other computers, and even watch Star Wars ASCIIMation movie directly from my Kobo
However, I would like to reduce my eyestrain while typing on my LCD screen computer, and be able to see directly, live, the text input I type on my computer's keyboard. I'm on Arch Linux.
I'm looking for something like telnet, in terminal/shell.

Thanks for your answers, they're always of valuable help!
First, you should definitely consider using VNC (This thread used to work back when I needed that kind of thing, I do not know if it still works with recent firmware versions). it allows you to mirror your computer screen on the ereader. I think that is what you want.


If you want to code it yourself, choose whatever programming language you like. You can print stuff on the ereader with FBInk, and set up a HTTP server on the kobo. Then on your computer set up a script which sends whatever you are typing to the kobo through a GET or POST request.

If you prefer, you can avoid developping a Kobo app and simply use a custom webpage which can be accessed through the Kobo web browser. Your computer will act as a server and you simply open the webpage pointing to your computer's IP address on the Kobo. See this thread.

It all depends on your need and if you want to code it yourself or not
That is only my take on it though, if anyone has a better idea, do not hesitate.
Mavireck is offline   Reply With Quote
Advert
Old 07-28-2020, 04:33 PM   #3
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Quote:
Originally Posted by Mavireck View Post
First, you should definitely consider using VNC (This thread used to work back when I needed that kind of thing, I do not know if it still works with recent firmware versions). it allows you to mirror your computer screen on the ereader. I think that is what you want.


If you want to code it yourself, choose whatever programming language you like. You can print stuff on the ereader with FBInk, and set up a HTTP server on the kobo. Then on your computer set up a script which sends whatever you are typing to the kobo through a GET or POST request.

If you prefer, you can avoid developping a Kobo app and simply use a custom webpage which can be accessed through the Kobo web browser. Your computer will act as a server and you simply open the webpage pointing to your computer's IP address on the Kobo. See this thread.

It all depends on your need and if you want to code it yourself or not
That is only my take on it though, if anyone has a better idea, do not hesitate.
Hi, thanks for your input on that. I looked around in Google and Stack Overflow and found tmux. I installed it on my Arch computer, and it ... worked (kind of). I tried ed, but all it does it show up a long line of vertical characters when I type, and then, when I reached the end of my terminal window, showed up as a complete line. Not ideal for writing. Maybe it's my connection, because sometimes the text shows up in a line. But it's rare. I'll try close to the router.
But, all things considered, it's a beginning! Feel free to continue to give me ideas if you want to.

@Mavireck: I knew that VNC viewer, but the post is from 2013... And my Libra uses soldered storage (and is now on Kernel 4.6!). So... I'll see. Thanks though for the answer. I'll see also for the HTTP GET/POST thing.
NiMa is offline   Reply With Quote
Old 07-28-2020, 04:42 PM   #4
Mavireck
Connoisseur
Mavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a Texan
 
Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
Also have a look at that post. I believe the author wanted to do something similar to what you want to do.
Mavireck is offline   Reply With Quote
Old 07-28-2020, 08:50 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
For pure CLI stuff, tmux + SSH + https://github.com/llandsmeer/inkvt definitely works.

(As in, start inkvt, ssh to desktop, create tmux session. Switch to desktop, resume tmux session. profit).

Probably works the other way around, too, but my brain is shot, and I ship tmux and OpenSSH w/ KoboStuff anyway ;p.
NiLuJe is offline   Reply With Quote
Advert
Old 07-28-2020, 11:17 PM   #6
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Yeah, thanks for your reply. I didn't see that. I'll definetly *try* to give it a try if this is fixable via a hard factory reset (because of soldered storage, of course!). From what I've seen, it seems to be. Doesn't it?
From my side, I already (kind of) solved my problem by launching an older 2015 version of Etherpad (LAN real-time text editor) on a Windows 7 machine, and opened it on the web browser of my Kobo, then started writing from my computer and looking for the characters on my Kobo. It works! Just... a bit too slow. And I can't display the blinking cursor. Maybe I'll try looking for a slightly newer version, but not with the new design, which the Kobo doesn't seem to be capable of handling.
I tried tmux and screen from vlasovsoft's terminal, but it was displaying strange character combinations and all the letters I typed were displayed, one by one, on a vertical line.
I'll maybe give a try to inkvt tomorrow if you can confirm me that it's hard-factory-reset-fixable.

Thanks again for your input!

EDIT: I use telnet for simple purposes of not having to install SSH on it and I telnet on my Arch Linux computer. Will it work with that (I suppose)?
NiMa is offline   Reply With Quote
Old 07-31-2020, 09:35 AM   #7
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Hello all,

I find NiLuJe solution VERY interesting (thank you), I don't have the knowlegde to do it myself but my eyes dream of a e-ink display for my raspberry pi. And this post makes me one step closer from that goal.
I imagine a RPI zero hidden in the official keyboard very neat and compact and 100% linux with tmux, python, VI, sed and awk . For me it would be more interesting to connect via USB networking to save the battery endurance (but I can be flexible on that point). Any chance to make it? I can test if needed.

Kind regards

Quote:
Originally Posted by NiLuJe View Post
For pure CLI stuff, tmux + SSH + https://github.com/llandsmeer/inkvt definitely works.

(As in, start inkvt, ssh to desktop, create tmux session. Switch to desktop, resume tmux session. profit).

Probably works the other way around, too, but my brain is shot, and I ship tmux and OpenSSH w/ KoboStuff anyway ;p.
pascal jakobs is offline   Reply With Quote
Old 07-31-2020, 12:24 PM   #8
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
USBNet is kind of the original point of KoboStuff, so there's nothing much to "make": it already works.

Most of that is documented on the InkVT project page, as that's basically how I tested it: USBNet + Kobo/Kindle.

Last edited by NiLuJe; 07-31-2020 at 12:27 PM.
NiLuJe is offline   Reply With Quote
Old 07-31-2020, 02:30 PM   #9
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Thanks again for your quick reply, I'll give a try very soon, I keep you posted.
Bonne soirée
pascal jakobs is offline   Reply With Quote
Old 08-17-2020, 06:04 AM   #10
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Hello all,
I'm sorry but after multiple try and seach, I can't make it. Following the readme, I successfully made InkVT-c7e1f0c.zip from fresh xubuntu 20.04. My clara hd is brand new (FW 4.23.15505) , I only did bypassing registration and install KFMon as required by the readme. Then I extracted InkVT-c7e1f0c.zip at the root of my clara. Rebooted and press the inkvt "cover" and I first see a quick "[KFMon] Launched inkvt.sh :) ]" message and then "[KFMon] PID 1251 exited unexpectedly: 1!" and after 10 seconds it goes back to nickel. see attached screen pictures. Where am I wrong?
What can I do please?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20200817-112040_Video Player.jpg
Views:	253
Size:	435.7 KB
ID:	181386   Click image for larger version

Name:	Screenshot_20200817-105410_Video Player.jpg
Views:	297
Size:	400.2 KB
ID:	181387  

Last edited by pascal jakobs; 08-17-2020 at 06:21 AM.
pascal jakobs is offline   Reply With Quote
Old 08-17-2020, 01:06 PM   #11
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Hi, try recompiling with the koxx toolchain. That solved my problem. See the issue I opened in GitHub in the inkvt project for more details. Good luck!
NiMa is offline   Reply With Quote
Old 08-18-2020, 12:32 PM   #12
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Thanks you, I've never done that before but I'm going to try.
pascal jakobs is offline   Reply With Quote
Old 08-18-2020, 03:12 PM   #13
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Very good, it works as you told me, many thanks. Not as difficult as I feared. I can run commands in the kobo and see the resust on the kobo terminal but what I woud like is the other way round: type commands in my host and see the input and the result in the kobo terminal. Is this possible?
Have a nice evening

Last edited by pascal jakobs; 08-18-2020 at 04:04 PM.
pascal jakobs is offline   Reply With Quote
Old 08-18-2020, 08:01 PM   #14
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Wait....... you say that there's been an update, and you have an on-screen keyboard???? Amazing!
Then for the computer input, launch it via SSH or telnet and you should have no problems typing in the terminal window of your computer while the program's running.
=)
NiMa is offline   Reply With Quote
Old 08-19-2020, 02:10 AM   #15
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Sorry for that misunderstanding, my fault. I type on my host keyboard and the command runs on the kobo. (as described in the project page)
pascal jakobs is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book has weird line breaks & text-size changes on Kobo but looks ok on computer droopy Calibre 35 06-10-2020 01:18 AM
Aura After update to 4.1.7729, Kobo Aura no longer connects to linux computer or Calibre voidptr Kobo Reader 2 12-06-2016 03:59 PM
Calibre 2.0 font/text input problem on Linux AbominableDavid Calibre 4 08-25-2014 08:31 PM
Using KT as second monitor for computer ( just for terminal) ppoo Kindle Developer's Corner 2 09-17-2012 08:48 AM
Set time on Kindle keyboard with usbnetworking and linux terminal bibiboo Kindle Developer's Corner 6 11-21-2011 02:11 AM


All times are GMT -4. The time now is 06:14 PM.


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