chiark / gitweb /
belgrano
[ian-dotfiles.git] / files / _.configs_x11start
1 #!/bin/bash
2
3 eval `.configs/configure`
4
5 >".counters/v.$DISPLAY"
6
7 # if [ $xauth = true ]
8 # then
9 #       nice -15 sh -c '
10 #   xhost | perl -ne "s//xhost\t-/; print unless m/ /;" | sh 2>&1 \
11 #         | perl -pe "s/^\S+ being removed from access control list\s+\$/-/";
12 #         xhost -
13 #       ' &
14 # fi
15
16 echo -n 'starting clients '
17
18 echo -n .
19
20 sh .configs/x11start-colours=$colours
21
22 echo -n .
23
24 # if [ "x$chost" = x ]
25 # then
26 #       .configs/xclients &
27 #       $echo -n .
28 #         if [ "x$HOST" != xleek ]
29 #         then
30 #               xrsh leek /usr/bin/X11/xload -geometry 120x120+34+0 &
31 #       fi
32 # else
33 #       $brokenserver && xhost +$chost +quince
34 #       cat .configs/setenvir - .configs/xclients <<END | rsh $chost sh &
35 #               DISPLAY=$display:0 export DISPLAY
36 # END
37 #       /usr/bin/X11/xload -geometry 120x120+34+0 &
38 #       $echo -n .
39 # fi
40
41 .configs/xclients &
42 # /usr/bin/X11/xload -geometry 120x120+34+0 &
43
44 .configs/startemacs
45 # if [ "x$HOST" != xquince ]
46 # then
47 #       xrsh quince /usr/bin/X11/xload -geometry 120x120+432+0 &
48 # fi
49
50 xsetroot -cursor bitmap/circle bitmap/circle-inv -bg black -fg white
51 xset b $bvolume $bpitch $bduration
52 xset m $maccel $mthresh c off b 60
53
54 echo -n .
55
56 # xterm -T "local" -sb -iconic -geometry 80x25-0-0 &
57
58 # if [ "x$thost" = x ]
59 # then
60 #       .configs/xtools &
61 # else
62 #       cat .configs/setenvir - .configs/xtools <<END | rsh $thost sh &
63 #               DISPLAY=$display:0 export DISPLAY
64 # END
65 #       $echo -n .
66 # fi
67
68 .configs/xtools &
69
70 echo -n .
71
72 exec xclock