Mine
public text v1 · immutable#!/bin/sh
# Start up Xgl, compiz, and KDE
# Run Xgl server on :1, on top of normal X
Xgl :1 -fullscreen -ac -accel xv:fdo -accel glx:pbuffer &
# Tell subsequent X programs to access the Xgl server at :1
DISPLAY=:1
# Start Compiz window manager
cgwd &
compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher &
# Start KDE
exec startkde