← Back to team overview

ubuntu-phone team mailing list archive

Re: Browser audio will stop if screen is locked or app is switched

 

Thanks for the hint, Ratchanan.

2016-03-05 16:44 GMT+01:00 รัชนันท์ ศรีรัตนเมธ:
> Maybe you should try using
>
> Exec=env OXIDE_ENABLE_MEDIA_HUB_AUDIO=1 qmlscene %u qml/Main.qml
>
> Or
>
> Exec=/usr/bin/env OXIDE_ENABLE_MEDIA_HUB_AUDIO=1 qmlscene %u qml/Main.qml

No, unfortunately the same as with all the other attempts. The command
crashes or terminates almost immediately. The syslog says:

Mar  5 22:56:52 ubuntu-phablet kernel: [22605.960837]type=1400
audit(1457215012.740:318): apparmor="DENIED" operation="exec"
profile="orf-total.peter-bittner_orf-total_0.5" name="/usr/bin/env"
pid=20227 comm="exec-line-exec" requested_mask="x" denied_mask="x"
fsuid=32011 ouid=0

Same as for the python driven solution:

Mar  5 23:00:45 ubuntu-phablet kernel: [22838.882688]type=1400
audit(1457215245.660:319): apparmor="DENIED" operation="exec"
profile="orf-total.peter-bittner_orf-total_0.5"
name="/usr/bin/python3.4" pid=21718 comm="exec-line-exec"
requested_mask="x" denied_mask="x" fsuid=32011 ouid=0

This is what the plain `qmlscence` call adds to the syslog in
comparison: http://paste.ubuntu.com/15300308/

Any other idea anyone?
Peter


References