public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in xfce-base/xfce-utils/files: xfce-utils-4.7.0-ck-launch-session-2.patch
@ 2010-09-10  7:27 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-09-10  7:27 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/09/10 07:27:51

  Added:                xfce-utils-4.7.0-ck-launch-session-2.patch
  Log:
  Run ck-launch-session again to restore functionality with Thunar disk handling wrt upstream #6690.
  
  (Portage version: 2.2_rc78/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  xfce-base/xfce-utils/files/xfce-utils-4.7.0-ck-launch-session-2.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-base/xfce-utils/files/xfce-utils-4.7.0-ck-launch-session-2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-base/xfce-utils/files/xfce-utils-4.7.0-ck-launch-session-2.patch?rev=1.1&content-type=text/plain

Index: xfce-utils-4.7.0-ck-launch-session-2.patch
===================================================================
From ad0a04125051a4638a31e6e0c2d1dc711676e1ef Mon Sep 17 00:00:00 2001
From: Mike Massonnet <mmassonnet@xfce.org>
Date: Wed, 8 Sep 2010 22:01:50 +0200
Subject: [PATCH] Launch xfce4-session with ck-launch-session and dbus-launch.

Makes shutdown/reboot and mount/unmount work for gvfs when login through
a tty.
---
 scripts/xinitrc.in.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/scripts/xinitrc.in.in b/scripts/xinitrc.in.in
index 2bd43ec..241d00f 100755
--- a/scripts/xinitrc.in.in
+++ b/scripts/xinitrc.in.in
@@ -196,7 +196,11 @@ fi
 
 # Run xfce4-session if installed
 if which xfce4-session >/dev/null 2>&1; then
-    xfce4-session
+    if test -z "$XDG_SESSION_COOKIE" -a x"`which ck-launch-session 2>/dev/null`" != x""; then
+        ck-launch-session dbus-launch --sh-syntax --exit-with-session xfce4-session
+    else
+        xfce4-session
+    fi
 
     if test "$ssh_agent_kill_cmd"; then
         echo "running '$ssh_agent_kill_cmd'"
-- 
1.7.2.3







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-10  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10  7:27 [gentoo-commits] gentoo-x86 commit in xfce-base/xfce-utils/files: xfce-utils-4.7.0-ck-launch-session-2.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox