Skip to content

Instantly share code, notes, and snippets.

@Ch00k
Last active October 12, 2015 14:07
Show Gist options
  • Save Ch00k/4038230 to your computer and use it in GitHub Desktop.
Save Ch00k/4038230 to your computer and use it in GitHub Desktop.
Patch to CentOS Xclients to support XFCE
--- Xclients 2010-08-17 00:15:59.000000000 +0100
+++ Xclients.new 2013-01-29 09:44:56.103410749 +0000
@@ -10,6 +10,7 @@
GSESSION="$(which gnome-session 2>/dev/null)"
STARTKDE="$(which startkde 2>/dev/null)"
+STARTXFCE="$(which startxfce4 2>/dev/null)"
# check to see if the user has a preferred desktop
PREFERRED=
@@ -19,6 +20,8 @@
PREFERRED="$GSESSION"
elif [ "$DESKTOP" = "KDE" ]; then
PREFERRED="$STARTKDE"
+ elif [ "$DESKTOP" = "XFCE" ]; then
+ PREFERRED="$STARTXFCE"
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment