All pastes #160386 Raw Edit

Mine

public text v1 · immutable
·published 2006-09-04 06:23 UTC
rendered paste body
#!/bin/bash
if [ -f /usr/bin/cgwd ]; then
	cgwd --replace &
else
	gnome-window-decorator --replace &
fi

if ps -e | grep Xorg-air
then
	LD_PRELOAD=/usr/lib/libGL.so.1.2 compiz.real --strict-binding --indirect-rendering --replace dbus csm exit;
else
	if [ -f /usr/lib/nvidia/libGL.so.1.2.xlibmesa ]; then
		LD_PRELOAD=/usr/lib/nvidia/libGL.so.1.2.xlibmesa compiz.real --replace dbus csm & exit;
	fi
	
	if [ -f /usr/lib/fglrx/libGL.so.1.2.xlibmesa ]; then
		LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz.real --replace dbus csm & exit;
	fi
fi