XFCE remove hibernate and suspend buttons

how to remove the hibernate and suspend buttons on the shutdown window


To remove the suspend button:
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'

To remove the hibernate button:
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'

And there's no need to reboot. The change is instant.

Credit: http://forum.xfce.org/index.php?topic=4781.0