This is a direct copy of session_gnome.py adapted to MATE

Nothing special. Just made kupfer work with MATE-desktop also