Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
compiz-manager
compiz-manager-fallback_xterm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiz-manager-fallback_xterm.patch of Package compiz-manager
From 166b83e385e75eff50697c8d0fd24c27848f5ac0 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol <kristian@linpro.no> Date: Thu, 16 Oct 2008 17:40:58 +0000 Subject: Allow for detection of fallback wm. Use xterm if no DE is detected. Original patch by cyberorg? --- Index: compiz-manager-0.6.0/compiz-manager =================================================================== --- compiz-manager-0.6.0.orig/compiz-manager +++ compiz-manager-0.6.0/compiz-manager @@ -39,6 +39,7 @@ PLUGIN_PATH="${PREFIX}/${LIB}/compiz/" GLXINFO=$(which glxinfo) KWIN="/usr/bin/kwin" METACITY="/usr/bin/metacity" +XFWM="/usr/bin/xfwm" COMPIZ_NAME="compiz" # Final name for compiz (compiz.real) # For Xgl LD_PRELOAD @@ -53,8 +54,15 @@ NVIDIA_SETTINGS="nvidia-settings" # Assu # For detecting what driver is in use, the + is for one or more /'s XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+" +FALLBACKWM="xterm" +if [ x"$KDE_FULL_SESSION" = x"true" ]; then + FALLBACKWM="${KWIN}"; +elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then + FALLBACKWM="${METACITY}" +elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then + FALLBACKWM="${XFWM}" +fi -FALLBACKWM="${METACITY}" FALLBACKWM_OPTIONS="--replace $@" # Driver whitelist
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor