From 2eff6b4933bfca521d9cc1ac46e69cc795a4f78d Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Tue, 6 Jun 2017 10:49:33 +0200 Subject: [PATCH] [modules/pulseaudio] Start pulseaudio daemon, if not running Since the module requires the pulseaudio daemon to be running, in order to query system information such as the default source/sink and the current volume, start the daemon, if necessary. fixes #108 --- bumblebee/modules/pulseaudio.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bumblebee/modules/pulseaudio.py b/bumblebee/modules/pulseaudio.py index 5cdbac3..bb2d1e0 100644 --- a/bumblebee/modules/pulseaudio.py +++ b/bumblebee/modules/pulseaudio.py @@ -22,6 +22,7 @@ class Module(bumblebee.engine.Module): super(Module, self).__init__(engine, config, bumblebee.output.Widget(full_text=self.volume) ) + bumblebee.util.execute("pulseaudio --start") self._left = 0 self._right = 0