[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#471738: compiz-core: does not start gtk-window-decorator on XFCE



Package: compiz-core
Version: 0.6.3~git20080115.0ea58487-1
Severity: normal
Tags: patch

Hello,

on Gnome desktops, the compiz script automatically starts
`gtk-window-decorator' if it is installed (and if emerald
was not explicitly specified). I think the same should also happen
automatically with an XFCE environment.

The attached patch seems to work fine for me, although I haven't
tested it thoroughly.

Thanks,
  François

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages compiz-core depends on:
ii  libc6                      2.7-6         GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl1]   7.0.3~rc2-1   A free implementation of the OpenG
ii  libice6                    2:1.0.4-1     X11 Inter-Client Exchange library
ii  libsm6                     2:1.0.3-1+b1  X11 Session Management library
ii  libstartup-notification0   0.9-1         library for program launch feedbac
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxcomposite1             1:0.4.0-1     X11 Composite extension library
ii  libxdamage1                1:1.1.1-3     X11 damaged region extension libra
ii  libxext6                   1:1.0.3-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.3-2     X11 miscellaneous 'fixes' extensio
ii  libxinerama1               1:1.0.2-1     X11 Xinerama extension library
ii  libxml2                    2.6.31.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.2.2-1     X11 RandR extension library
ii  libxslt1.1                 1.1.22-1      XSLT processing library - runtime
ii  mesa-utils                 7.0.3~rc2-1   Miscellaneous Mesa GL utilities

Versions of packages compiz-core recommends:
ii  compiz-plug 0.6.3~git20080115.0ea58487-1 OpenGL window and compositing mana

-- no debconf information
--- /usr/bin/compiz	2008-02-27 08:58:47.000000000 +0100
+++ tmp/compiz	2008-03-19 20:37:34.000000000 +0100
@@ -389,6 +389,9 @@
 elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
 	verbose "Starting gtk-window-decorator\n"
 	${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
+elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ "$DESKTOP_SESSION" = "xfce4" ]; then
+	verbose "Starting gtk-window-decorator\n"
+	${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
 elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
 	verbose "Starting kde-window-decorator\n"
 	${COMPIZ_BIN_PATH}kde-window-decorator --replace &

Reply to: