bc14b3cf635d1172448a4d2782930e44cd8259ec
[platform/core/uifw/at-spi2-atk.git] / test / demo.csh
1 #!/bin/csh
2 echo "This demo requires the festival synthesis system, and modules"
3 echo "'gail'.  It also assumes (for the moment) that the gnome-2.0"
4 echo "libraries are in /opt/gnome-2.0/lib, gnome-2.0 executables are in"
5 echo "/opt/gnome-2.0/bin, and that festival is installed in"
6 echo "/usr/share/festival/festival."
7 echo "***WARNING*** this demo calls bonobo-slay and pkill, so it" 
8 echo "may kill a number of existing processes/applications on your system."
9 echo "you are advised to read and edit the file before use."
10 setenv PATH /opt/gnome-2.0/bin:/bin:/usr/bin:$HOME/gnome/at-spi/test/.libs:/usr/share/festival/festival/bin
11 setenv LD_LIBRARY_PATH /opt/gnome-2.0/lib
12 bonobo-slay
13 pkill festival_server
14 pkill festival
15 pkill sleep
16 pkill magnifier
17 pkill simple-at
18 pkill keysynth-demo
19 unsetenv GTK_MODULES
20 setenv MAGNIFIER 1
21 setenv FESTIVAL 1
22 setenv GTK_RC_FILES /opt/gnome-2.0/share/themes/Default/gtk-2.0/gtkrc
23 # start the text-to-speech service
24 festival_server &
25
26 # start the simple AT client, which uses the
27 #  MAGNIFIER and FESTIVAL environment variables
28 simple-at &
29 sleep 2; keysynth-demo &
30 # now set GTK_MODULES for use by GTK+ applications
31 # this will cause the gail accessibility support, 
32 # the ferret test tool, and the atk-bridge to be
33 # loaded
34
35 setenv GTK_MODULES "gail:ferret:atk-bridge"
36
37 gtk-demo
38
39 # these might be out of place, if gtk-demo backgrounds
40 # itself
41
42 pkill festival_server
43 pkill festival
44 pkill sleep
45 pkill magnifier
46 pkill simple-at
47