- Mapping a new window that belongs to a running application that is hidden,
[wmaker-crm.git] / util / bughint
blobd09c803462b45d07ef16cd86cecbce46a6a648ba
1 #!/bin/sh
4 # Use this to gather data about your system and send me
5 # the sysinfo.txt file with your bugreport, plus any error
6 # messages you've received. This program should be run under X.
10 echo gathering information for bug tracking...
12 uname -a > sysinfo.txt
13 wmaker --version >> sysinfo.txt
14 echo "=============== xdpyinfo ================" >> sysinfo.txt
15 xdpyinfo >> sysinfo.txt
16 echo "=============== env ================" >> sysinfo.txt
17 env >> sysinfo.txt
18 echo "=============== ldconfig ================" >> sysinfo.txt
19 if [ `uname` = 'Linux' ]; then
20 /sbin/ldconfig -p >> sysinfo.txt
21 else
22 /sbin/ldconfig -r >> sysinfo.txt
24 echo "=============== config.cache ================" >> sysinfo.txt
25 cat ../config.cache ../Version >> sysinfo.txt 2> /dev/null
26 cat config.cache Version >> sysinfo.txt 2> /dev/null
28 echo "=============== configuration dir ===========" >> sysinfo.txt
29 WDIR=$HOME/GNUstep/Defaults
30 if [ -d $WDIR ]; then
31 for i in WMGLOBAL WMRootMenu WMState WMWindowAttributes WindowMaker; do
32 if [ -f $WDIR/$i ]; then
33 echo "============== $i ========" >> sysinfo.txt
34 cat $WDIR/$i >> sysinfo.txt
36 done
37 else
38 echo "No config directory found" >> sysinfo.txt
41 bzip2 -9f sysinfo.txt || gzip -9f sysinfo.txt
43 echo done.