[Bug 1014891] Re: Laptop doesn't suspend when power is unplugged while lid is closed
This bug still affects xfce and it easily fixed with just 3 lines of code. I have reported it here at put a fix in, too. I've also tested it. Could we get this patched in? https://bugzilla.xfce.org/show_bug.cgi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1014891 Title: Laptop doesn't suspend when power is unplugged while lid is closed To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-power-manager/+bug/1014891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772325]
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772325]
Created attachment 8612 Patch to fix the bug I tested this by setting the dimming delay very small and waiting, both with and without a video playing. It works as expected. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs