Added an automatic switch for KDE/GNOME