xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #733: glxgears-resize.2.sh

File glxgears-resize.2.sh, 254 bytes (added by Antoine Martin, 6 years ago)

better glxgears test script: creates and destroys glxgears instances as well as resizing them

Line 
1#!/bin/bash
2
3while true; do
4        echo "starting glxgears"
5        vglrun glxgears&
6        pid=$!
7        for i in `seq 1 5`; do
8                xdotool search --name "glxgears" windowsize 600 400
9                sleep 1
10                xdotool search --name "glxgears" windowsize 300 200
11                sleep 1
12        done
13        kill $pid
14done