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 172 times
4
-
https://open.uappexplorer.com/ < there is a tool in there"tweekgeek" that can let you keep an app running in the application settings feature of it – Mateo Sep 06 '15 at 00:48
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
- 3
-
Can you expand upon this? How do we add the policy? Can you post an example `.apparmor` file? – AlwaysTalkingAboutMyDog Apr 27 '19 at 19:24
-