← Back to team overview

ubuntu-phone team mailing list archive

Re: manually turn off sending SIGSTOP (was Re: mirscreencast from terminal app)

 

hi,

Am Dienstag, den 23.06.2015, 10:37 +0200 schrieb Torsten Sachse:
> On Tue, 23 Jun 2015, Oliver Grawert wrote:
> > yes, this is how apps are handled on the phone. an app that goes to background
> > recieves SIGSTOP by the system, only system services (media-hub for example,
> > so your music plays on if the music app is not in focus) keep running ...
> > since the shell in which you run mirscreencast is a child of the terminal app
> > it gets suspended alongside, this is a (security and powermanagement) feature,
> > not a bug ...
> 
> I agree that this is an important feature and should be the default behaviour.
> But is there a way to manually disable this for a certain app? For instance
> CuteSpotify does not provide such an interface to dbus which makes it basically
> useless, but I would still like to use it in the background while on the go. I'd
> like to disable this for the Terminal app as well because performing an rsync
> forces me to keep the Terminal app in the foreground all the time, which
> basically means I cannot answer calls or write messages during the transfer.

not without hacking the source of ... hmm, i think platform-api (might
be unity8 i'm not quite sure anymore) and hardcode the app name in
there ...

AFAIK there is conversation going on with spotify about getting their
binary lib ready for media-hub inclusion or some such ... there was an
older discussion on this list ...

there is the openappstore for such hacked apps though, i think that
enables such features.

ciao
	oli

Attachment: signature.asc
Description: This is a digitally signed message part


References