Code: Select all
git clone -b erik git://slackbuilds.org/slackbuilds
Moderator: Urednik
Code: Select all
git clone -b erik git://slackbuilds.org/slackbuilds
Code: Select all
$ screenfetch -v
Code: Select all
zeljko@stereo:~$ screenfetch -v
:: Finding distro...found as 'Slackware '
:: Finding hostname and user...found as 'zeljko@stereo.stereo.local'
:: Finding kernel version...found as 'x86_64 Linux 3.2.45'
:: Finding current uptime...found as '3d 1h 6m'
:: Finding current package count...found as '1072'
:: Finding current shell...found as 'bash 4.2.37'
:: Finding current resolution(s)...found as '1360x768'
:: Finding desktop environment...found as 'XFCE4'
:: Finding window manager...found as 'Xfwm4'
:: Finding window manager theme...found as 'elementary'
:: Finding GTK2 theme...found as 'Xfce-4.6'
:: Finding GTK3 theme...found as 'Not Found'
:: Finding icon theme...found as 'Faenza-Radiance'
:: Finding user font...found as 'Sans 10'
:: Finding current GPU...found as ''
:: Finding current CPU...found as 'AMD Athlon II X2 220 Processor @ 2.812GHz'
:: Finding current RAM usage...found as '1765MB / 5953MB'
:::::::
::::::::::::::::::: zeljko@stereo.stereo.local
::::::::::::::::::::::::: OS: Slackware
::::::::cllcccccllllllll:::::: Kernel: x86_64 Linux 3.2.45
:::::::::lc dc::::::: Uptime: 3d 1h 6m
::::::::cl clllccllll oc::::::::: Packages: 1072
:::::::::o lc::::::::co oc:::::::::: Shell: bash 4.2.37
::::::::::o cccclc:::::clcc:::::::::::: Resolution: 1360x768
:::::::::::lc cclccclc::::::::::::: DE: XFCE4
::::::::::::::lcclcc lc:::::::::::: WM: Xfwm4
::::::::::cclcc:::::lccclc oc::::::::::: WM Theme: elementary
::::::::::o l::::::::::l lc::::::::::: GTK2 Theme: Xfce-4.6
:::::cll:o clcllcccll o::::::::::: Icon Theme: Faenza-Radiance
:::::occ:o clc::::::::::: Font: Sans 10
::::ocl:ccslclccclclccclclc::::::::::::: Disk: 431G / 516G (84%)
:::oclcccccccccccccllllllllllllll::::: CPU: AMD Athlon II X2 220 Processor @ 2.812GHz
::lcc1lcccccccccccccccccccccccco:::: RAM: 1765MB / 5953MB
::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::
::::::::::::::::::::::
::::::::::::
Code: Select all
:: Finding current GPU...found as ''
Code: Select all
# GPU Detection - Begin (EXPERIMENTAL!)
detectgpu () {
if [ -n "$(type -p lspci)" ]; then
gpu_info=$(lspci | grep VGA)
gpu=$(echo "$gpu_info" | grep -oE '\[.*\]' | sed 's/\[//;s/\]//')
gpu=$(echo "${gpu}" | sed -n '1h;2,$H;${g;s/\n/, /g;p}')
fi
if [[ -n "$(type -p glxinfo)" && -z "$gpu" ]]; then
gpu_info=$(glxinfo 2>/dev/null)
gpu=$(echo "$gpu_info" | grep "OpenGL renderer string")
gpu=$(echo "$gpu" | cut -d ':' -f2)
gpu="${gpu:1}"
gpu_info=$(echo "$gpu_info" | grep "OpenGL vendor string")
fi
if [[ "${distro}" == "Mac OS X" ]]; then
gpu=$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {print $2}')
fi
if [ -n "$gpu" ];then
if [ $(echo "$gpu_info" | grep -i nvidia | wc -l) -gt 0 ];then
gpu_info="NVidia "
elif [ $(echo "$gpu_info" | grep -i intel | wc -l) -gt 0 ];then
gpu_info="Intel "
elif [ $(echo "$gpu_info" | grep -i amd | wc -l) -gt 0 ];then
gpu_info="AMD "
elif [ $(echo "$gpu_info" | grep -i ati | wc -l) -gt 0 ];then
gpu_info="ATI "
else
gpu_info=$(echo "$gpu_info" | cut -d ':' -f2)
gpu_info="${gpu_info:1} "
fi
gpu="${gpu_info}${gpu}"
else
gpu="Not Found"
fi
[[ "$verbosity" -eq "1" ]] && verboseOut "Finding current GPU...found as '$gpu'"
}
# GPU Detection - End
Users browsing this forum: No registered users and 24 guests