Page 1 of 1

Launching apps from commandline

Posted: Sun Jun 21, 2015 5:22 pm
by drasha
Hi,

I would like to launch a smart hub app from a commandline, so I could bind a specific app to a remote control key.

I search the forum (maybe not carefully enough) and found only few topics that did not provide definitive answers.

My question is - how can this be done? I don't mind doing some coding/scripting, but I would need at least some hints to begin with. I know the location of the app, I just don't have any clue, what is launching them and the butchered nc-based commandline is not helping me.

Thanks,
drasha

Re: Launching apps from commandline

Posted: Mon Jun 22, 2015 3:09 pm
by zoelechat
No need for multipost...

That's how it goes:
exeDSP launches libWEclient.so which launches WidgetEngine that launches Widget itself.
So you have to hook/patch/inject something somewhere amongst these things.
More, "classic" injection to WidgetEngine (=samyGOso) cause it to systematically restart, so you'd surely have to write a whole patch from scratch.

I can tell you it's on my to-do list for a long time (not amongst my priorities though, I don't use widget crap) but for now I never found a way to sort it out. No more clues except it's surely hard work and if there's a simpler way, I just don't know it :)

Re: Launching apps from commandline

Posted: Tue Jun 23, 2015 10:00 pm
by drasha
Sorry about that. I wasn't sure if knowledgeable people read both forums...

Anyway, thanks for the hint. I will take a look around to get more info and maybe start hacking on it, just for the fun. That or buy some media center and avoid the widget crap :)