You are not logged in.

#1 2013-08-16 10:11:39

nLinked
Member
Registered: 2013-04-06
Posts: 38

Want to replace XFCE suspend commands with pm-suspend

I was having trouble resuming from suspend when using systemd and xfce's suspend commands. So I have installed pm-utils instead and am now using sudo pm-suspend to suspend my machine, with which I have no resuming troubles.

Now I would like to make pm-suspend the default system suspend action. I have two questions:

1. I would like xfce's logout menu (the one with the graphical shutdown, suspend, logout buttons) to use sudo pm-suspend when I click the Suspend button. Is there anyway to do this?

2. I want to use xautolock as described here (https://wiki.archlinux.org/index.php/Pm … inactivity) so the system will pm-suspend after 30 mins. Do I also need to disable the systemd-suspend.service service to prevent systemd accidentally taking over? Or are there easier ways to make pm-suspend my default system suspend option?

Thanks.

Offline

Board footer

Powered by FluxBB