mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added xrandr to debugger data collector
This commit is contained in:
parent
950de91cb4
commit
34edd84e44
7
inxi
7
inxi
|
@ -1326,7 +1326,7 @@ debug_data_collector()
|
||||||
else
|
else
|
||||||
touch $xiin_data_dir/no-xorg-conf-d-files
|
touch $xiin_data_dir/no-xorg-conf-d-files
|
||||||
fi
|
fi
|
||||||
echo 'Collecting X, xprop, glxinfo, xdpyinfo data...'
|
echo 'Collecting X, xprop, glxinfo, xranr, xdpyinfo data...'
|
||||||
if [[ -n $( type -p xprop ) ]];then
|
if [[ -n $( type -p xprop ) ]];then
|
||||||
xprop -root > $xiin_data_dir/xprop_root.txt
|
xprop -root > $xiin_data_dir/xprop_root.txt
|
||||||
else
|
else
|
||||||
|
@ -1342,6 +1342,11 @@ debug_data_collector()
|
||||||
else
|
else
|
||||||
touch $xiin_data_dir/no-xdpyinfo-app
|
touch $xiin_data_dir/no-xdpyinfo-app
|
||||||
fi
|
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
|
if [[ -n $( type -p X ) ]];then
|
||||||
# no idea why, but has to be this way to print out to file
|
# 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
|
X -version 2>&1 | awk '{print $0}' > $xiin_data_dir/x-version.txt
|
||||||
|
|
Loading…
Reference in a new issue