Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
xdg-settings for MATE on AmazonLinux2
--- /usr/bin/xdg-settings.orig 2021-05-06 02:11:22.378389658 +0900
+++ /usr/bin/xdg-settings 2021-05-06 02:20:08.014011657 +0900
@@ -687,6 +687,23 @@
}
# }}} KDE
+# {{{ MATE
+get_browser_mate()
+{
+ get_browser_gnome3 "$@"
+}
+
+check_browser_mate()
+{
+ check_browser_gnome3 "$@"
+}
+
+set_browser_mate()
+{
+ set_browser_gnome3 "$@"
+}
+
+# }}} MATE
# {{{ GNOME
get_browser_gnome()
@@ -963,6 +980,23 @@
}
# }}} KDE
+# {{{ MATE
+get_url_scheme_handler_mate()
+{
+ get_url_scheme_handler_gnome3 "$@"
+}
+
+check_url_scheme_handler_mate()
+{
+ check_url_scheme_handler_gnome3 "$@"
+}
+
+set_url_scheme_handler_mate()
+{
+ set_url_scheme_handler_gnome3 "$@"
+}
+
+# }}} MATE
# {{{ GNOME
get_url_scheme_handler_gnome()
@@ -1182,7 +1216,7 @@
detectDE
case "$DE" in
- kde|gnome*|xfce)
+ kde|gnome*|mate|xfce)
dispatch_specific "$@"
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment