I think I have found a workaround for the time being. Put the script below in /etc/pm/sleep.d dir (for example in 01powermanager). Put your own username in the right spot, maybe change your display number if applicable.
#!/bin/bash
case $1 in
thaw|resume)
su - <Your username> -c "export DISPLAY=:0 && /usr/bin/xfce4-power-manager --restart"
exit 0
;;
*) exit $NA
;;
esac
I think I have found a workaround for the time being. Put the script below in /etc/pm/sleep.d dir (for example in 01powermanager). Put your own username in the right spot, maybe change your display number if applicable.
#!/bin/bash
case $1 in xfce4-power- manager --restart"
thaw|resume)
su - <Your username> -c "export DISPLAY=:0 && /usr/bin/
exit 0
;;
*) exit $NA
;;
esac