How can I configure my webapp so the screen won't go to sleep when the app is open? This would be useful for the youtube webapp
Asked
Active
Viewed 186 times
1 Answers
1
Add the policy "keep-display-on" in the .apparmor file. This should be enough. See an example below:
{
"template": "your-webapp",
"policy_groups": [
"networking",
"webview",
"audio",
"video",
"keep-display-on"
],
"policy_version": 16.04
}
Magnetuz
- 26