aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/sound_xubuntu.patch
diff options
context:
space:
mode:
authorLionel Le Folgoc <mrpouit@ubuntu.com>2012-03-22 01:17:34 +0100
committerPackage Import Robot <package-import@ubuntu.com>2012-03-22 01:17:34 +0100
commit70d1d8cfa9ea7049b521118d02abb1dc1de3394e (patch)
tree262cf18ea055f9c5c8c579bd8f852e23301b98ef /debian/patches/sound_xubuntu.patch
parent454505bbeb03e21f073d64e2dbb118cc358b6f70 (diff)
downloadayatana-indicator-sound-70d1d8cfa9ea7049b521118d02abb1dc1de3394e.tar.gz
ayatana-indicator-sound-70d1d8cfa9ea7049b521118d02abb1dc1de3394e.tar.bz2
ayatana-indicator-sound-70d1d8cfa9ea7049b521118d02abb1dc1de3394e.zip
* debian/patches:
- sound_xubuntu.patch: added, prefer pavucontrol over xfce4-mixer on Xubuntu. (lp: #961745)
Diffstat (limited to 'debian/patches/sound_xubuntu.patch')
-rw-r--r--debian/patches/sound_xubuntu.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/sound_xubuntu.patch b/debian/patches/sound_xubuntu.patch
new file mode 100644
index 0000000..bbf3db2
--- /dev/null
+++ b/debian/patches/sound_xubuntu.patch
@@ -0,0 +1,17 @@
+Description: Use pavucontrol on Xubuntu 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>
+Last-Update: 2012-03-21
+
+--- indicator-sound-0.8.4.1.orig/src/sound-service-dbus.c
++++ indicator-sound-0.8.4.1/src/sound-service-dbus.c
+@@ -230,6 +230,8 @@ show_sound_settings_dialog (DbusmenuMenu
+ gchar* cmd;
+ if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity"))
+ cmd = "gnome-control-center sound-nua";
++ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu"))
++ cmd = "pavucontrol";
+ else
+ cmd = "gnome-control-center sound";
+