aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/sound_ubuntustudio.patch
blob: 23d27de261d9c66a8cd654518a07dc66c1214b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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";