[DHG_packages] 04/06: xmonad: add hack to gnome-flashback-xmonad so it also works when not started from an XDG-compliant DM
Per Olofsson
pelle at moszumanska.debian.org
Sun Sep 6 17:45:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
pelle pushed a commit to branch master
in repository DHG_packages.
commit 888e2b8f1fefb0911c91ebb79f60e83c50f6aad6
Author: Per Olofsson <pelle at pqz.se>
Date: Sun Sep 6 17:15:10 2015 +0200
xmonad: add hack to gnome-flashback-xmonad so it also works when not started from an XDG-compliant DM
---
p/xmonad/debian/gnome-flashback-xmonad | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/p/xmonad/debian/gnome-flashback-xmonad b/p/xmonad/debian/gnome-flashback-xmonad
index ee705cf..86cb904 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 "$@"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list