Sure. It works for me. I patched in the code that I attached, ran make, then I copied the new xfce4-power-manager into /usr/bin as root.
Then I went into the power manager settings and in the display tab I set "Brightness reduction" "Reduce after" to just 10 seconds. Then I shut and save the settings and just wait 10 seconds. The screen dims. Then I open YouTube in Chrome and start a video. When I click on the battery icon now, there is a list that says that chrome is inhibiting. Then I wait way more than 10 seconds and there is no screen dimming. Are you sure that you installed the patch correctly? You could put printfs around the patched code and then kill the power manager and re- run it like this: xfce4-power-manager --debug --debug --debug --no-daemon Then you'll be able to see your printf's in the output. What did you try that failed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772325 Title: Screen dims while a video is playing in VLC To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-power-manager/+bug/1772325/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
