Author Topic: E17 Map "suspend action" to "lid-closed"  (Read 1381 times)

Offline OMSkates

  • Hero Member
  • *****
  • Posts: 2388
E17 Map "suspend action" to "lid-closed"
« on: July 25, 2011, 06:12:51 PM »
This is E17-Light on an intel notebook

I did the following as instructed by Smurfslover and suspend works now from system menu (thanks :D):
Code: [Select]
There was a bugreport on e's tracker about that. The excecuted commands default to acpitool which is deprecated in most distributions.
File /etc/enlightenment/sysactions.conf is supposed to be edited by the packager (or user)

line 48: action:   suspend   /usr/bin/acpitool -s
-> change to action:   suspend   /usr/bin/pm-suspend

line 49: action:   hibernate /usr/bin/acpitool -S
-> change to: action:   hibernate /usr/bin/pm-hibernate

Under Settings > Advanced > acpi bindings I have selected suspend when laptop lid closed.  Not working so I'm wondering how to add the pm-suspend as a command properly.  What is the correct syntax to place into the "command" option under acpi bindings?

Offline shedyed

  • Jr. Member
  • **
  • Posts: 16
Re: E17 Map "suspend action" to "lid-closed"
« Reply #1 on: July 28, 2011, 02:09:13 PM »
Did you try putting the path as well, as in /usr/bin/pm-suspend, instead of merely pm-suspend?

Offline OMSkates

  • Hero Member
  • *****
  • Posts: 2388
Re: E17 Map "suspend action" to "lid-closed"
« Reply #2 on: July 28, 2011, 06:15:09 PM »
Did you try putting the path as well, as in /usr/bin/pm-suspend, instead of merely pm-suspend?
Yes, thankyou, however this still does not initiate suspend for me.  It is the correct path to the executable when I checked.  I think my Bios is over riding some of these bindings or conflicting.  Normally anything I've ever installed on this machine the Bios suspends with laptop lid closed regardless.  Suspend works great from the E17 system menu but getting my daughter to remember that is another matter ::)