aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/sound_ubuntustudio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/sound_ubuntustudio.patch')
-rw-r--r--debian/patches/sound_ubuntustudio.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/sound_ubuntustudio.patch b/debian/patches/sound_ubuntustudio.patch
new file mode 100644
index 0000000..23d27de
--- /dev/null
+++ b/debian/patches/sound_ubuntustudio.patch
@@ -0,0 +1,18 @@
+Description: Use pavucontrol on Ubuntu Studio by default
+ Xfce4-mixer uses gstreamer0.10-pulseaudio, which doesn't provide full access
+ to all audio channels, only to 'Master'.
+Author: Lionel Le Folgoc <mrpouit@ubuntu.com>
+Author: Janne Jokitalo (astraljava) <astraljava@kapsi.fi>
+Last-Update: 2012-04-03
+
+--- indicator-sound-0.8.5.0.orig/src/sound-service-dbus.c
++++ indicator-sound-0.8.5.0/src/sound-service-dbus.c
+@@ -232,6 +232,8 @@ show_sound_settings_dialog (DbusmenuMenu
+ cmd = "gnome-control-center sound-nua";
+ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu"))
+ cmd = "pavucontrol";
++ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "ubuntustudio"))
++ cmd = "pavucontrol";
+ else
+ cmd = "gnome-control-center sound";
+