From 104b07452918a0ac8ff4b39f5e6c4057447fca89 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 17 Apr 2020 17:15:05 -0400
Subject: [PATCH] Disable indicator-session on MATE

---
 helpers/make-ubuntu-mate-settings | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/helpers/make-ubuntu-mate-settings b/helpers/make-ubuntu-mate-settings
index f3b6b9c0..4d7280e6 100644
--- a/helpers/make-ubuntu-mate-settings
+++ b/helpers/make-ubuntu-mate-settings
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#    Copyright (C) 2017 Ruben Rodriguez <ruben@trisquel.info>
+#    Copyright (C) 2017.2020 Ruben Rodriguez <ruben@trisquel.info>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 
 . ./config
 
@@ -81,6 +81,10 @@ image/x-gray=viewnior.desktop;gimp.desktop;
 image/svg+xml=viewnior.desktop;
 EOF
 
+# indicator-session is only needed for lightdm
+rm debian/indicator-session.desktop.in
+sed '/indicator-session.desktop/d' -i usr/lib/ubuntu-mate/ubuntu-mate-settings-overlay debian/ubuntu-mate-default-settings.install debian/rules
+
 changelog "Customized for Trisquel"
 
 compile
-- 
GitLab