summaryrefslogtreecommitdiff
path: root/p/xmonad
diff options
context:
space:
mode:
authorPer Olofsson <pelle@pqz.se>2015-09-06 17:15:10 +0200
committerPer Olofsson <pelle@pqz.se>2015-09-06 17:15:10 +0200
commit888e2b8f1fefb0911c91ebb79f60e83c50f6aad6 (patch)
treef62b07e91f8736bdfe9fba257559edd2c62b0aa9 /p/xmonad
parent0976f14c3b54ae9707d317d0a486e0f621957221 (diff)
downloadDHG_packages-888e2b8f1fefb0911c91ebb79f60e83c50f6aad6.tar.gz
xmonad: add hack to gnome-flashback-xmonad so it also works when not started from an XDG-compliant DM
Diffstat (limited to 'p/xmonad')
-rwxr-xr-xp/xmonad/debian/gnome-flashback-xmonad4
1 files changed, 4 insertions, 0 deletions
diff --git a/p/xmonad/debian/gnome-flashback-xmonad b/p/xmonad/debian/gnome-flashback-xmonad
index ee705cfc0..86cb90497 100755
--- a/p/xmonad/debian/gnome-flashback-xmonad
+++ b/p/xmonad/debian/gnome-flashback-xmonad
@@ -1,2 +1,6 @@
#! /bin/sh
+if [ -z "$XDG_CURRENT_DESKTOP" ]; then
+ XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
+ export XDG_CURRENT_DESKTOP
+fi
exec gnome-session --session=gnome-flashback-xmonad --disable-acceleration-check "$@"