1
0
Fork 0
mutter-performance-source/src/run-metacity.sh
2001-06-30 23:17:52 +00:00

33 lines
613 B
Bash
Executable file

#! /bin/bash
if test -z "$SCREENS"; then
SCREENS=1
fi
if test "$DEBUG" = none; then
DEBUG=
elif test -z "$DEBUG"; then
DEBUG=gdb
fi
if test -z "$CLIENTS"; then
CLIENTS=0
fi
if test -z "$ONLY_WM"; then
Xnest -ac :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 50000
if test $CLIENTS != 0; then
for I in `seq 1 $CLIENTS`; do
DISPLAY=:1 xterm -geometry 25x15 &
done
fi
usleep 5000
DISPLAY=:1 xsetroot -solid royalblue3
fi
if test -z "$ONLY_SETUP"; then
METACITY_UISLAVE_DIR=./uislave METACITY_DISPLAY=:1 exec unst libtool --mode=execute $DEBUG ./metacity $OPTIONS
fi