I'm on Xubuntu 15.04. I'm trying to run command: `xss-lock -- xscreensaver-command -lock &` so that my screen will lock after being suspended in Xubuntu using xscreensaver. For some reason, without running this command, Xubuntu will only lock the screen after suspension via the suspend button, but not by shutting the laptop lid like it's configured to. In the Arch wiki where I got this command (it applies equally to Ubuntu since they'd be both using systemd, xfce, and X.org in this scenario, I think) it says to run this command from the X session autostart script. I've tried running this command from xinitrc, rc.local, xfce4's xinitrc, and on session autostart. It will ONLY take effect if I run it from inside a terminal after everything else has started. Why is this? How can I get it to run automatically when X.org starts? Thanks to anyone who would help! :D