All pastes #117277 Raw Edit

Stuff

public text v1 · immutable
·published 2006-08-05 21:05 UTC
rendered paste body
 #!/bin/bash

echo ">Starting XGL at Display: $1"
echo "========= XGL ============"
#Xgl -fullscreen :$1 -ac -accel xv:pbuffer -accel glx:pbuffer & ## ati fglrx command to start Xgl

Xgl :$0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo ## nvidia style (not sure if this works)
sleep 6

echo "======= COMPIZ ==========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf decoration wobbly fade switcher minimize cube rotate zoom scale move resize place &

sleep 4

echo "====== DECORATIONS ======="
DISPLAY=:$1 gnome-window-decorator &
sleep 4

echo "======= XFCE4 ============"
#DISPLAY=:$1 setxkbmap -model pc105 -layout us -variant basic ## if you're keyboard isn't playing nice

DISPLAY=:$1 xfce4-session

#echo "======= LOGOUT ============"
#killall Xgl
# Adding the line above,if you can't logout XFCE correctly.
# Changing DISPLAY=:$1 TO DISPLAY=:$0