From 76404bf90bd90bebbb552fed618d4538d814347b Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Thu, 15 Jun 2017 14:14:16 +0200 Subject: [PATCH] [modules/pulseaudio] Default pulseaudio autostart to false To pacify @ibrokemypie ;-) Joking aside: Not autostarting the pulseaudio daemon by default makes a lot of sense, so adjust default behaviour. see #108 --- bumblebee/modules/pulseaudio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/pulseaudio.py b/bumblebee/modules/pulseaudio.py index 97f1c4a..eeba28c 100644 --- a/bumblebee/modules/pulseaudio.py +++ b/bumblebee/modules/pulseaudio.py @@ -5,7 +5,7 @@ Aliases: pasink, pasource Parameters: - * pulseaudio.autostart: If set to "true" (default), automatically starts the pulseaudio daemon if it is not running + * pulseaudio.autostart: If set to "true" (default is "false"), automatically starts the pulseaudio daemon if it is not running Requires the following executable: * pactl @@ -111,7 +111,7 @@ class Module(bumblebee.engine.Module): return except Exception: self._failed = True - if self.parameter("autostart", "true") == "true": + if self.parameter("autostart", "false") == "true": try: bumblebee.util.execute("pulseaudio --start") self.update(widgets)