caffeine-ng icon indicating copy to clipboard operation
caffeine-ng copied to clipboard

pavucontrol is mistakenly considered playing audio

Open diaasami opened this issue 4 years ago • 3 comments

OS: Manjaro Version: 3.5.1

pavucontrol is an application to monitor other apps playing and recording audio, it doesn't play audio on its own AFAIK, however as you can see below from the command-line output, caffeine-ng prohibits screensavers because of pavucontrol.

/usr/lib/python3.9/site-packages/caffeine/main.py:61: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3
INFO:caffeine.core:Caffeine is starting up...
INFO:caffeine.core:Audio playback detected (pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol, pavucontrol). Inhibiting.
INFO:caffeine.core:XdgPowerManagmentInhibitor is applicable, state: True
INFO:caffeine.core:XorgInhibitor is applicable, state: True
INFO:caffeine.core:XdgScreenSaverInhibitor is applicable, state: True
INFO:caffeine.core:DpmsInhibitor is applicable, state: True
INFO:caffeine.core:

diaasami avatar Mar 27 '21 16:03 diaasami

this problem should be fixable with #57 which is in master. you can either blacklist pavucontrol or enable the peak filtering to ignore applications that are silent

VoodaGod avatar Mar 31 '21 16:03 VoodaGod

Then I think you can close the issue WONTFIX as it is an expected behavior.

diaasami avatar Sep 05 '21 14:09 diaasami

pavucontrol will prevent streams from suspending. Some more discussion on this here: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/892#note_502112

You can ignore pavucontrol thanks to #57. It should probably be on a "default ignore list".

WhyNotHugo avatar Oct 30 '21 15:10 WhyNotHugo

This project has moved to codeberg.

Follow-up for this issue is at https://codeberg.org/WhyNotHugo/caffeine-ng/issues/60

WhyNotHugo avatar Nov 06 '22 14:11 WhyNotHugo