mutter/src/run-metacity.sh

28 lines
500 B
Bash
Raw Normal View History

2001-05-30 23:30:58 -04:00
#! /bin/bash
2001-06-03 01:39:43 -04:00
if test -z "$SCREENS"; then
SCREENS=2
fi
2001-06-03 14:33:59 -04:00
if test "$DEBUG" = none; then
DEBUG=
elif test -z "$DEBUG"; then
DEBUG=gdb
fi
2001-06-10 23:24:20 -04:00
if test -z "$CLIENTS"; then
CLIENTS=0
fi
2001-06-10 03:52:35 -04:00
Xnest :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 50000
2001-06-10 23:24:20 -04:00
if test $CLIENTS != 0; then
for I in `seq 1 $CLIENTS`; do
DISPLAY=:1 xterm -geometry 25x15 &
done
fi
DISPLAY=:1 xsetroot -solid royalblue3
2001-06-03 14:33:59 -04:00
METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity
2001-05-31 02:42:58 -04:00
killall Xnest