path: plume-creator_0.67+git20151203.1081b12-1/src/main.cpp // echo "GNOME running." // # GNOME-specific stuff here // elif [ "$(pidof xfce-mcs-manage)" ]; then // echo "Xfce running." // # Xfce-specific stuff here path: plume-creator_0.67+git20151203.1081b12-1/src/main.cpp // echo "KDE running." // # KDE-specific stuff here // elif [ "$(pidof gnome-session)" ]; then // echo "GNOME running." // # GNOME-specific stuff here path: plume-creator_0.67+git20151203.1081b12-1/src/main.cpp // Checking the current Desktop Environment on Linux : QString program = "/bin/pidof"; QStringList arguments; arguments << "ksmserver"; path: plume-creator_0.67+git20151203.1081b12-1/src/main.cpp } myProcess->close(); // if [ "$(pidof ksmserver)" ]; then // echo "KDE running." // # KDE-specific stuff here