added xrandr to debugger data collector

This commit is contained in:
inxi-svn 2011-05-25 22:22:52 +00:00
parent 950de91cb4
commit 34edd84e44

7
inxi
View file

@ -1326,7 +1326,7 @@ debug_data_collector()
else
touch $xiin_data_dir/no-xorg-conf-d-files
fi
echo 'Collecting X, xprop, glxinfo, xdpyinfo data...'
echo 'Collecting X, xprop, glxinfo, xranr, xdpyinfo data...'
if [[ -n $( type -p xprop ) ]];then
xprop -root > $xiin_data_dir/xprop_root.txt
else
@ -1342,6 +1342,11 @@ debug_data_collector()
else
touch $xiin_data_dir/no-xdpyinfo-app
fi
if [[ -n $( type -p xrandr ) ]];then
xrandr > $xiin_data_dir/xrandr.txt
else
touch $xiin_data_dir/no-xrandr-app
fi
if [[ -n $( type -p X ) ]];then
# no idea why, but has to be this way to print out to file
X -version 2>&1 | awk '{print $0}' > $xiin_data_dir/x-version.txt