How to prevent Xubuntu from suspend?

Caffeine

You could give caffeine a try - quoting the launchpad page:

A status bar application able to temporarily prevent the activation of both the screensaver and the "sleep" powersaving mode.