/usr/bin/startxgl.sh

From OS X Scientific Computing

Jump to: navigation, search

Here is the launching script I have used to start beryl from within Xfce4.

I commented out stuff that I used with Edgy that it no longer needed (or works) with Feisty:

#!/bin/bash -f
# Start up Xgl and Xfce
#    # Run Xgl server on :1, on top of normal X
#    Xgl :1 -fullscreen -ac -accel xv -accel glx:pbuffer &
# Tell subsequent X programs to access the Xgl server at :1
#    DISPLAY=:1
# Start Xfce
/usr/bin/beryl-manager
sleep 5
exec xfce4-session

I was having some trouble without the "sleep 5" command in there, but your experience might be different. There are only two things remaining in this script that do anything:

1. start the beryl-manager

2. start xfce4