The guide at https://wiki.haskell.org/Xmonad/Using_xmonad_in_Gnome#Ubuntu is increasingly out of date and was already pretty flaky by Ubuntu 16-18. This guide is for Ubuntu 19.10.
I'll try to include some additional context for whats going on so that when things change again it should hopefully not leave you completely lost.