Benutzer-Werkzeuge

Webseiten-Werkzeuge


lskdever.sh

Das Script lskdever.sh listet alle wichtigen Versionen des KDE Desktops auf, das beim Verfassen von Bugreports sehr hilfreich ist.


$ ./lskdever.sh
Distribution: KDE neon User Edition 5.17
Kernel      : 5.3.0-26-generic
Plasma      : 5.17.5
Qt          : 5.13.2
KF          : 5.66.0
Kwin        : 5.15.5
Akonadi     : 5.13.1
Kmail       : 5.13.1


lskdever.sh
#!/bin/bash
#
VERSION_PLASMA=$(dpkg -l | grep plasma-desktop-data | awk '{print $3}' | awk -F"-" '{print $1}' | awk -F":" '{print $2}')
VERSION_QT=$(dpkg -l | grep libqt5core5 | awk '{print $3}' | awk -F"+" '{print $1}')
VERSION_KF=$(dpkg -l | grep libkf5plasma5 | awk '{print $3}' | awk -F"-" '{print $1}')
VERSION_KWIN=$(dpkg -l | egrep "kwin " | awk '{print $3}' | awk -F"-" '{print $1}' | awk -F":" '{print $2}')
VERSION_AKONADI=$(akonadiserver -v 2>/dev/null | awk '{print $2}')
VERSION_KMAIL=$(kmail -v 2>/dev/null | awk '{print $2}')
VERSION_DISTRIBUTION=$(cat /etc/lsb-release | grep DISTRIB_DESCRIPTION | cut -d"=" -f2 | cut -d'"' -f2)
VERSION_KERNEL=$(uname -r)
 
echo "Distribution: "$VERSION_DISTRIBUTION
echo "Kernel      : "$VERSION_KERNEL
echo "Plasma      : "$VERSION_PLASMA
echo "Qt          : "$VERSION_QT
echo "KF          : "$VERSION_KF
echo "Kwin        : "$VERSION_KWIN
echo "Akonadi     : "$VERSION_AKONADI
echo "Kmail       : "$VERSION_KMAIL
lskdever.sh.txt · Zuletzt geändert: 2020/01/26 15:44 von dwadmin