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
18 echo "=============== ldconfig ================" >> sysinfo.txt
19 if [ `uname` = 'Linux' ]; then
20 /sbin
/ldconfig
-p >> sysinfo.txt
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
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
38 echo "No config directory found" >> sysinfo.txt
41 bzip2 -9f sysinfo.txt ||
gzip -9f sysinfo.txt