← Back to team overview

ubuntu-phone team mailing list archive

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

 

On 05/03/2559 20:36, Peter Bittner wrote:
I've tried the following in the web app's .desktop file, unfortunately
all without success:

    Exec=OXIDE_ENABLE_MEDIA_HUB_AUDIO=1 qmlscene %u qml/Main.qml

    Exec=bash -c "OXIDE_ENABLE_MEDIA_HUB_AUDIO=1 qmlscene %u qml/Main.qml"

    Exec=python3 -c "import
os;os.environ['OXIDE_ENABLE_MEDIA_HUB_AUDIO']='1';os.system('qmlscene
%u qml/Main.qml')"
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

Let me know if they're working or not.

Ratchanan Srirattanamet.



Follow ups

References