maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   How to run multiple maemo-launchers? (https://talk.maemo.org/showthread.php?t=28350)

qole 2009-04-17 15:55

How to run multiple maemo-launchers?
 
Hi,

I'm trying to run Mer apps and Maemo apps side by side, but there seems to be some conflict between the two versions of maemo-launcher.

Once the Mer maemo-launcher starts running, Maemo apps (the ones dependent on maemo-launcher) quit launching, even though the Maemo version of maemo-launcher is still running.

I notice that one of the parameters of maemo-launcher is "--pidfile" which has the following listed in the help file:
Quote:

--pidfile FILE Specify a different pid file (default /tmp/maemo-launcher.pid).
It would seem that this has the possibility for two or more maemo-launchers to share the system, by using two different "PID files," but I can't see any way to specify which maemo-launcher to use in the documentation of maemo-invoker.

As it is now, the most recently launched maemo-launcher takes all the maemo-invoker calls, leaving the older maemo-launcher (still running, in the shadows) leaning against the wall, feeling lonely. And so the non-Mer apps fail to start, because the Mer maemo-launcher stares blankly at them and says, "I'm sorry, do I know you?"

Any suggestions?

Perhaps this is a request I should be making to the Mer team? ("Make maemo-invoker capable of choosing which maemo-launcher to use")

By the way, I notice this same behaviour when running apps in Fremantle Alpha Scratchbox...

UPDATE: Interesting behaviour if I try to run a Diablo maemo-launcher on top of the Mer version:

I issue the following command:
Code:

~ $ maemo-invoker browser
maemo-launcher responds with:
Code:

maemo-launcher: invoking '/usr/bin/browser'
maemo-launcher: died loading invoked application: '/usr/bin/browser: cannot dynamically load executable'
maemo-launcher: child (pid=2657) terminated due to exit()=1


qole 2009-04-18 21:58

Re: How to run multiple maemo-launchers?
 
Wow. Don't everyone talk at once.

Stskeeps 2009-04-19 08:58

Re: How to run multiple maemo-launchers?
 
Quote:

Originally Posted by qole (Post 280679)
Wow. Don't everyone talk at once.

Quick look reveals that it uses a unix socket - is in /tmp/.something


All times are GMT. The time now is 07:20.

vBulletin® Version 3.8.8