Use case insensitive comparisons with desktop environment names

Internally all comparisons involving the desktop environment names are
made case insensitive.

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
Merge branch 'compare-desktop-environments'

* compare-desktop-environments:
  Use case insensitive comparisons with desktop environment names