From dc0c250ebeebc929347823e47921443c4edee24d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Apr 2016 20:14:15 +0100 Subject: cherry pick upower1 API support for mate-session-manager && mate-power-manager --- mate-base/mate-session-manager/files/10-user-dirs-update-mate | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mate-base/mate-session-manager/files/10-user-dirs-update-mate (limited to 'mate-base/mate-session-manager/files/10-user-dirs-update-mate') diff --git a/mate-base/mate-session-manager/files/10-user-dirs-update-mate b/mate-base/mate-session-manager/files/10-user-dirs-update-mate new file mode 100644 index 00000000..35973aae --- /dev/null +++ b/mate-base/mate-session-manager/files/10-user-dirs-update-mate @@ -0,0 +1,10 @@ +#!/bin/sh + +# Create various XDG directories, and write ~/.config/user-dirs.dirs, etc. +# That file is read by glib to get XDG_PICTURES_DIR, etc + +if [ "$DESKTOP_SESSION" = "mate" ]; then + if type xdg-user-dirs-update >/dev/null 2>&1; then + xdg-user-dirs-update + fi +fi -- cgit v1.2.3