To apply this patch save it in /tmp as volti.patch
Then execute as root:
Code: Select all
cd /
patch -p0 -i /tmp/volti.patch
Code: Select all
--- /USR/LIB/VOLTI/VOLTI/ALSACTRL.PY
+++ /usr/lib/volti/volti/alsactrl.py
@@ -131,6 +131,9 @@
def set_mute(self, mute=0):
""" Set mixer mute status """
global OLD_VOLUME, MUTED
+ import os
+ if mute == 0:
+ os.system('pactl set-sink-mute @DEFAULT_SINK@ 0')
try:
for mixer in self.mixerlist:
mixer.setmute(mute, self.channel)
Tested against Volti 0.2.3 on debian jessie, stretch and buster.