|
|
|
@@ -1,26 +1,6 @@
|
|
|
|
|
Index: xfce4-session-4.12.1/scripts/xinitrc.in
|
|
|
|
|
===================================================================
|
|
|
|
|
--- xfce4-session-4.12.1.orig/scripts/xinitrc.in
|
|
|
|
|
+++ xfce4-session-4.12.1/scripts/xinitrc.in
|
|
|
|
|
@@ -16,11 +16,16 @@ if test "x$XDG_MENU_PREFIX" = "x"; then
|
|
|
|
|
export XDG_MENU_PREFIX
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
-# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
|
|
|
|
|
+# set DESKTOP_SESSION and XDG_CURRENT_DESKTOP so that one can detect easily if
|
|
|
|
|
+# an Xfce session is running
|
|
|
|
|
if test "x$DESKTOP_SESSION" = "x"; then
|
|
|
|
|
DESKTOP_SESSION="xfce"
|
|
|
|
|
export DESKTOP_SESSION
|
|
|
|
|
fi
|
|
|
|
|
+if test "x$XDG_CURRENT_DESKTOP" = "x"; then
|
|
|
|
|
+ XDG_CURRENT_DESKTOP="XFCE"
|
|
|
|
|
+ export XDG_CURRENT_DESKTOP
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
|
|
# set XDG_CURRENT_DESKTOP so that Qt 5 applications can identify user set Xfce theme
|
|
|
|
|
if test "x$XDG_CURRENT_DESKTOP" = "x"; then
|
|
|
|
|
@@ -44,12 +49,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
|
|
|
|
--- a/scripts/xinitrc.in
|
|
|
|
|
+++ b/scripts/xinitrc.in
|
|
|
|
|
@@ -44,12 +44,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
|
|
|
|
fi
|
|
|
|
|
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
|
|
|
|
|
|
|
|
|
@@ -33,7 +13,7 @@ Index: xfce4-session-4.12.1/scripts/xinitrc.in
|
|
|
|
|
# Modify libglade and glade environment variables so that
|
|
|
|
|
# it will find the files installed by Xfce
|
|
|
|
|
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:"
|
|
|
|
|
@@ -87,112 +86,17 @@ cat /dev/null $XRESOURCES | xrdb -nocpp
|
|
|
|
|
@@ -87,112 +81,17 @@ cat /dev/null $XRESOURCES | xrdb -nocpp
|
|
|
|
|
# load local modmap
|
|
|
|
|
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
|
|
|
|
|
|
|
|
|
@@ -158,29 +138,9 @@ Index: xfce4-session-4.12.1/scripts/xinitrc.in
|
|
|
|
|
-esac
|
|
|
|
|
-
|
|
|
|
|
-xsetroot -bg white -fg red -solid black -cursor_name watch
|
|
|
|
|
Index: xfce4-session-4.12.1/scripts/xinitrc.in.in
|
|
|
|
|
===================================================================
|
|
|
|
|
--- xfce4-session-4.12.1.orig/scripts/xinitrc.in.in
|
|
|
|
|
+++ xfce4-session-4.12.1/scripts/xinitrc.in.in
|
|
|
|
|
@@ -16,11 +16,16 @@ if test "x$XDG_MENU_PREFIX" = "x"; then
|
|
|
|
|
export XDG_MENU_PREFIX
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
-# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
|
|
|
|
|
+# set DESKTOP_SESSION and XDG_CURRENT_DESKTOP so that one can detect easily if
|
|
|
|
|
+# an Xfce session is running
|
|
|
|
|
if test "x$DESKTOP_SESSION" = "x"; then
|
|
|
|
|
DESKTOP_SESSION="xfce"
|
|
|
|
|
export DESKTOP_SESSION
|
|
|
|
|
fi
|
|
|
|
|
+if test "x$XDG_CURRENT_DESKTOP" = "x"; then
|
|
|
|
|
+ XDG_CURRENT_DESKTOP="XFCE"
|
|
|
|
|
+ export XDG_CURRENT_DESKTOP
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
|
|
# set XDG_CURRENT_DESKTOP so that Qt 5 applications can identify user set Xfce theme
|
|
|
|
|
if test "x$XDG_CURRENT_DESKTOP" = "x"; then
|
|
|
|
|
@@ -44,12 +49,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
|
|
|
|
--- a/scripts/xinitrc.in.in
|
|
|
|
|
+++ b/scripts/xinitrc.in.in
|
|
|
|
|
@@ -44,12 +44,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
|
|
|
|
|
fi
|
|
|
|
|
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
|
|
|
|
|
|
|
|
|
@@ -193,7 +153,7 @@ Index: xfce4-session-4.12.1/scripts/xinitrc.in.in
|
|
|
|
|
# Modify libglade and glade environment variables so that
|
|
|
|
|
# it will find the files installed by Xfce
|
|
|
|
|
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:@XFCE_GLADE_CATALOG_PATH@"
|
|
|
|
|
@@ -87,112 +86,17 @@ cat /dev/null $XRESOURCES | xrdb -nocpp
|
|
|
|
|
@@ -87,112 +81,17 @@ cat /dev/null $XRESOURCES | xrdb -nocpp
|
|
|
|
|
# load local modmap
|
|
|
|
|
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
|
|
|
|
|
|
|
|
|
@@ -318,10 +278,8 @@ Index: xfce4-session-4.12.1/scripts/xinitrc.in.in
|
|
|
|
|
-esac
|
|
|
|
|
-
|
|
|
|
|
-xsetroot -bg white -fg red -solid black -cursor_name watch
|
|
|
|
|
Index: xfce4-session-4.12.1/scripts/startxfce4.in
|
|
|
|
|
===================================================================
|
|
|
|
|
--- xfce4-session-4.12.1.orig/scripts/startxfce4.in
|
|
|
|
|
+++ xfce4-session-4.12.1/scripts/startxfce4.in
|
|
|
|
|
--- a/scripts/startxfce4.in
|
|
|
|
|
+++ b/scripts/startxfce4.in
|
|
|
|
|
@@ -66,13 +66,22 @@ fi
|
|
|
|
|
|
|
|
|
|
if test "x$XDG_DATA_DIRS" = "x"
|
|
|
|
|