startup.txt

#!/bin/sh

### init
X="beryl" # beryl | compiz


### beryl + mesa
if [ "x$X" = "xberyl" ]; then

    # LIB="/usr/lib/nvidia/libGL.so.1.xlibmesa"
    # gnome-window-manager
    # LD_PRELOAD=$LIB compiz dbus csm
    beryl-manager


### beryl + nvidia
elif [ "x$X" = "xcompiz" ]; then

    #$COMPMGR --indirect-rendering $COMPMGR_ARGS
    #gtk-window-decorator &
    /usr/local/bin/compiz --use-cow --indirect-rendering --replace gconf

fi


### post config
setxkbmap -model pc105 -layout no -variant basic


### the end
exit 0;