Bash script to detect linux desktop environment name and version
wget https://raw.github.com/alexeevdv/dename/master/dename.sh
chmod +x dename.sh
./dename.sh
- prints name and version./dename.sh -n
- prints only name./dename.sh -v
- prints only version
- GNOME - Gnome 2, Gnome 3
- KDE - KDE4
- UNITY - Ubuntu Unity
- XFCE - XFCE
- CINNAMON - Cinnamon
- MATE - Mate
- LXDE - LXDE
- SUGAR - Sugar on a Stick
- Knoppix 7.0.5
- Kubuntu 13.10
- Lubuntu 12.04, 12.10, 13.04, 13.10
- Fedora 20
- CentOS 6.5
- Red Hat Enterprise Edition 6.2