Thanks for reply,
I tried to turn the screen to landscape mode permanently but couldnt do it using config menu in KSM. I can rotate the screen using "toggle rotate" button, but I want to change this setting permanently. Could you suggest how to achieve this?
I managed to edit a script that downloads a specific file with wget command. I guess this is what you've called "inflexible"

But it works for now.
Could you please tell more about starting a xcsoar/lk8000 app from KSM? Could you upload a script that worked for xcsoar? Maybe i could edit it to work with lk8000.
thanks,
Ł