#LOOSERHELPER

linux_logo
[ "$UID" = 0 ] && echo "Do't run as Administrator! Run as user without ROOT permission.." && sleep 2 && exit
echo "Hey $USER - blackPanther OS user!" 
sleep 3
echo "Generate informations from your computer..." 
sleep 3
echo "This file save and placed to $HOME/the_my_system.txt file!"
sleep 3

echo > ~/the_my_system.txt
echo "###### LANGUAGE ######" >> ~/the_my_system.txt
locale >> ~/the_my_system.txt
echo >> ~/the_my_system.txt

echo >> ~/the_my_system.txt
echo "###### User ######" >> ~/the_my_system.txt
echo "$USER" >> ~/the_my_system.txt
echo >> ~/the_my_system.txt

echo "###### VGA-GPU ######" >> ~/the_my_system.txt
drakcheck vga >> ~/the_my_system.txt
echo >> ~/the_my_system.txt

echo "###### Videodriver ######" >> ~/the_my_system.txt
lspci -nnk | egrep -i --color 'vga|3d|2d' -A3 | grep 'in use' >>  ~/the_my_system.txt

echo >> ~/the_my_system.txt
echo "###### Monitor ######" >> ~/the_my_system.txt
grep -i 'Monitor name' /var/log/Xorg.0.log | sed 's|.*] ||' >> ~/the_my_system.txt

echo >> ~/the_my_system.txt
echo "###### Resolution ######" >> ~/the_my_system.txt
xrandr | grep ^[A-Z] >> ~/the_my_system.txt

echo >> ~/the_my_system.txt
echo "###### Hadware-list-drivers ######" >> ~/the_my_system.txt
listaz hw >> ~/the_my_system.txt
echo >> ~/the_my_system.txt
echo "######### Finish ########" >> ~/the_my_system.txt

echo "For useful contet please visit to: blackpanther.hu"
sleep 2
echo "The action is finished! You can find 'the_my_system.txt' file your home directory..."
sleep 5
default-filemanager $HOME
exit

