aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rw-r--r--src/service.vala2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index cdb1267..3585713 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,7 @@ Depends: ${shlibs:Depends},
${misc:Depends},
pulseaudio,
gsettings-ubuntu-schemas (>= 0.0.1+14.04.20140224),
-Recommends: unity-control-center | gnome-control-center | ubuntu-system-settings | pavucontrol,
+Recommends: unity-control-center | gnome-control-center | ubuntu-system-settings | pavucontrol | mate-media,
accountsservice,
Suggests: unity-greeter-session-broadcast,
Description: System sound indicator.
diff --git a/src/service.vala b/src/service.vala
index 0c82538..e2d65b7 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -216,6 +216,8 @@ public class IndicatorSound.Service: Object {
string cmd;
if (env == "xubuntu" || env == "ubuntustudio")
cmd = "pavucontrol";
+ else if (env == "mate")
+ cmd = "mate-volume-control";
else
{
if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)