Author Topic: power management in E17  (Read 2782 times)

Offline drhadidy

  • Hero Member
  • *****
  • Posts: 618
  • the MATRIX have got you!!
    • My clinic website
power management in E17
« on: August 03, 2010, 08:35:55 AM »
just a couple of questions
1- how can i activate the hibernation action in E17?
how to make my laptop hibernate when i close the cover?

2- how can i turn off the monitor while the system is still working??
i want the monitor to be off if the system is left inactive for sometime but not to log off or turn off the system...
how to do that?
Hope that one day ill be able to help as much as I'm being helped now...

registered Linux user # 518656

whats the need for "WINDOWS" in a world without walls?:-)

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Re: power management in E17
« Reply #1 on: August 03, 2010, 12:46:47 PM »
1- You can address a keyboard or mouse shortcut for hibernation/ shutdown/ reboot/...
If you have a visible button or something that's activated when you close the lappy you could try adding a new keyboard shortcut, click the button and see if e17 recognizes it, then adress the action you desire to that button.
In the screenshot below i've mapped the e17 system popup when i push the sleep button on my keyboard.
My MX1000 keyboard and mouse have lots of extra buttons, most of them can be used in e17 out of the box, just add binding, push the key or combi and choose an action.

Settings Panel / Screen / Power Management
Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Re: power management in E17
« Reply #2 on: November 05, 2010, 10:23:12 AM »
1- You can address a keyboard or mouse shortcut for hibernation/ shutdown/ reboot/...
If you have a visible button or something that's activated when you close the lappy you could try adding a new keyboard shortcut, click the button and see if e17 recognizes it, then adress the action you desire to that button.
In the screenshot below i've mapped the e17 system popup when i push the sleep button on my keyboard.
My MX1000 keyboard and mouse have lots of extra buttons, most of them can be used in e17 out of the box, just add binding, push the key or combi and choose an action.

Settings Panel / Screen / Power Management

Very late reply but was reading through the topics and want to add this:
(We need e17 docu!!)
To configure lid panel and power/sleep buttons go to Settings Panel / Input / Acpi bindings

Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

Offline drhadidy

  • Hero Member
  • *****
  • Posts: 618
  • the MATRIX have got you!!
    • My clinic website
Re: power management in E17
« Reply #3 on: November 05, 2010, 11:13:36 AM »
Very late reply but was reading through the topics and want to add this:
(We need e17 docu!!)
To configure lid panel and power/sleep buttons go to Settings Panel / Input / Acpi bindings



+1
Hope that one day ill be able to help as much as I'm being helped now...

registered Linux user # 518656

whats the need for "WINDOWS" in a world without walls?:-)

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: power management in E17
« Reply #4 on: November 05, 2010, 01:31:19 PM »

Very late reply but was reading through the topics and want to add this:
(We need e17 docu!!)
To configure lid panel and power/sleep buttons go to Settings Panel / Input / Acpi bindings



That would be a lot of work... (in the future it's possible some of us here make a docu)
Maybe there already exists some documentation to which we can point....?

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: power management in E17
« Reply #5 on: March 20, 2011, 05:44:37 AM »
1- You can address a keyboard or mouse shortcut for hibernation/ shutdown/ reboot/...

Is it possible to hibernate yet in E17 Light?  I would like to make key bindings for hibernate like I have with suspend (which works fine).  If I use the command pm-hibernate it drops to console with:
Looking for splash system... s2disk: /usr/src/rpm/BUILD/plymoth-0.8.3/src/libply-event-loop.c:736: ply_event_loop_fd: Assertion `fd> 0´ failed

I have to power off at this point.  Hibernation works in KDE so I don´t think hardware is an issue. 

Any help is appreciated.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Re: power management in E17
« Reply #6 on: March 20, 2011, 09:26:46 AM »
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

Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: power management in E17
« Reply #7 on: March 20, 2011, 11:32:24 AM »
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



Excellent!  Thanks for the quick response smurfslover.  Suspend and hibernate both work from the system menu now.  PM-hibernate in terminal now shuts off network and then it comes on again so I guess no key binding for now.  Working from the menu though is fine.  Thanks.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline sasdthoh

  • New Friend
  • *
  • Posts: 9
Re: power management in E17
« Reply #8 on: May 05, 2011, 01:19:01 PM »
Thank you for your resolution! All ok now.

Best Wishes!

sasdthoh