summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
blob: 24e0489f5a786d11d61d8c34df3fe8f0c6b097ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash
if test -z "$SCREENS"; then
  SCREENS=2
fi

if test "$DEBUG" = none; then
  DEBUG=
elif test -z "$DEBUG"; then
  DEBUG=gdb
fi

Xnest :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 50000
METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity
killall Xnest