acpid powerbutton issue

Asked by Muh Muhowic

hi there,

i am trying to change the behaviour of the powerbutton.
powerbutton push should induce suspend state.

i changed the command in /etc/acpi/powerbtn.sh to /usr/sbin/pm-suspend.
i tried "echo -n "mem" > /sys/power/state"
as well. both dont work.
after power button push, the computer shuts down though. :(

what did i do wrong?

calling the commands per keyboard works.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu acpid Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you tried:

pm-suspend

Revision history for this message
Muh Muhowic (ultrabla) said :
#2

same result. :(

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.