I tailored the commands I was using on my Kubuntu for my new MX Linux:
Hibernate: xfce4-session-logout --hibernate
Reboot: xfce4-session-logout --reboot --fast
Shutdown: xfce4-session-logout --halt --fast
Suspend: xfce4-session-logout --suspend
Takes a screenshot and sends to your phone: file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; xfce4-screenshooter -f -s "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}
