Changeset View
Changeset View
Standalone View
Standalone View
head/x11-wm/compiz/files/compiz-manager.in
Show All 26 Lines | |||||
# | # | ||||
COMPIZ_BIN_PATH="%%LOCALBASE%%/bin/" # For window decorators and compiz | COMPIZ_BIN_PATH="%%LOCALBASE%%/bin/" # For window decorators and compiz | ||||
PLUGIN_PATH="%%LOCALBASE%%/lib/compiz/" | PLUGIN_PATH="%%LOCALBASE%%/lib/compiz/" | ||||
GLXINFO="%%LOCALBASE%%/bin/glxinfo" | GLXINFO="%%LOCALBASE%%/bin/glxinfo" | ||||
KWIN="%%LOCALBASE%%/bin/kwin" | KWIN="%%LOCALBASE%%/bin/kwin" | ||||
METACITY="%%LOCALBASE%%/bin/metacity" | METACITY="%%LOCALBASE%%/bin/metacity" | ||||
XFWM="%%LOCALBASE%%/bin/xfwm" | XFWM="%%LOCALBASE%%/bin/xfwm4" | ||||
COMPIZ_NAME="compiz" # Final name for compiz (compiz.real) | COMPIZ_NAME="compiz" # Final name for compiz (compiz.real) | ||||
# For Xgl LD_PRELOAD | # For Xgl LD_PRELOAD | ||||
LIBGL_NVIDIA="%%LOCALBASE%%/lib/libGL.so" | LIBGL_NVIDIA="%%LOCALBASE%%/lib/libGL.so" | ||||
LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa" | LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa" | ||||
# Minimum amount of memory (in kilo bytes) that nVidia cards need | # Minimum amount of memory (in kilo bytes) that nVidia cards need | ||||
# to be allowed to start | # to be allowed to start | ||||
Show All 10 Lines | elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then | ||||
FALLBACKWM="${METACITY}" | FALLBACKWM="${METACITY}" | ||||
elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then | elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then | ||||
FALLBACKWM="${XFWM}" | FALLBACKWM="${XFWM}" | ||||
fi | fi | ||||
FALLBACKWM_OPTIONS="--replace $@" | FALLBACKWM_OPTIONS="--replace $@" | ||||
# Driver whitelist | # Driver whitelist | ||||
WHITELIST="nvidia intel ati radeon i810" | WHITELIST="nvidia intel ati radeon i810 modesetting" | ||||
# blacklist based on the pci ids | # blacklist based on the pci ids | ||||
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details | # See http://wiki.compiz-fusion.org/Hardware/Blacklist for details | ||||
T=" 1002:5954 1002:5854 1002:5955" # ati rs480 | T=" 1002:5954 1002:5854 1002:5955" # ati rs480 | ||||
T="$T 1002:4153" # ATI Rv350 | T="$T 1002:4153" # ATI Rv350 | ||||
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965 | T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965 | ||||
BLACKLIST_PCIIDS="$T" | BLACKLIST_PCIIDS="$T" | ||||
unset T | unset T | ||||
▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines |