diff options
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-x | src/run-metacity.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh index b2266dc..a1aa050 100755 --- a/src/run-metacity.sh +++ b/src/run-metacity.sh @@ -14,6 +14,10 @@ if test -z "$CLIENTS"; then CLIENTS=0 fi +if test -z "$SM_CLIENTS"; then + SM_CLIENTS=0 +fi + if test -z "$ONLY_WM"; then Xnest -ac :1 -scrns $SCREENS -geometry 640x480 -bw 15 & usleep 500000 @@ -23,6 +27,12 @@ if test -z "$ONLY_WM"; then DISPLAY=:1 xterm -geometry 25x15 & done fi + + if test $SM_CLIENTS != 0; then + for I in `seq 1 $SM_CLIENTS`; do + DISPLAY=:1 gnome-terminal --geometry 25x15 & + done + fi usleep 50000 |