In .kobo\koreader\frontend\document\credocument.lua I've added at the end the lines:
DocumentRegistry:addProvider("lua", "application/txt", CreDocument)
DocumentRegistry:addProvider("sh", "application/txt", CreDocument)
Now I can read the script-files on my Kobo.
What I want is an editor, like the notepad from the KoboLaucher. Unfortunately I can't get that one to work from the prompt:
[root@(none) ~]# cd /mnt/onboard/.kobo/KoboLauncher/Qt/lib
[root@(none) lib]# ../../notepad/notepad
Did not receive a connection event from the qws server
Aborted
Does anyone know of an alternative?