[maemo-developers] mafw-lasftm: installed, configured, restarted the device, but plugin is not started

From: Claudio Saavedra csaavedra at igalia.com
Date: Wed Dec 9 13:30:53 EET 2009
El mié, 09-12-2009 a las 10:30 +0200, Riku Voipio escribió:
> ext Claudio Saavedra wrote:
> > El mar, 08-12-2009 a las 17:50 +0000, Graham Cobb escribió:
> >> On Tuesday 08 December 2009 17:23:15 Claudio Saavedra wrote:
> >>> I noticed that the postinst script was missing the debhelper token used
> >>> by dh_installxsession to plug its magic. Now the Xsession script should
> >>> be installed properly.
> >> What is dh_installxsession?  I can't find any documentation on it.  Probably 
> >> looking in the wrong place!
> 
> > It's part of upstart-dev. I don't know where it's documented, though. I
> > simply looked at hildon-desktop and some other modules' packages.
> 
> It is not really necessary/recommended to use it anymore. One can just
> copy the startup script into /etc/X11/Xession.post like one would do to
> any file in /etc. Same is true to dh_installupstart.

OK, roger that. I'll change it for future releases. I guess there are
plenty of packages still using dh_installxsession, though.

> 
> But why does mafw-lastfm need to start at boot time and keep running all
> the time? Is it not possible to make it start/stop when playback
> stops/starts?

I am not 100% sure that's feasible, since it's separate process
communicated with mafw through libmafw-shared. I don't think mafw has
any way to start/stop processes on demand that would fit this. And I
don't think doing so would have any important benefit.

Claudio

More information about the maemo-developers mailing list