From 34edd84e441b6da3daa98fb66460fa9160382c14 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 25 May 2011 22:22:52 +0000 Subject: [PATCH] added xrandr to debugger data collector --- inxi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 20161aa..2ea3492 100755 --- a/inxi +++ b/inxi @@ -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