Results 1 to 6 of 6
Thread: Disable the power button [FC5]
Enjoy an ad free experience by logging in. Not a member yet? Register.
Disable the power button [FC5]
Thanks in advance.
Check to see if you have '/etc/sysconfig/powermanagement' - and look at sections having to do with the power button...
I don't have a file named 'powermanagement' in /etc/sysconfig. Maybe a SuSE-only thing?
08-29-2006 #4Originally Posted by Rishi
I am able to cause the power button to be ignored on my machine, and decided to offer it for what it might be worth -- I regret that I have not [gotten deep enough into] ACPI yet -- how ACPI is set up and utilized by other programs may be a little different from distro to distro, but I'm pretty sure there is some way you should be able to set it up and utilize it in Fedora Core 5.
Do these currently exist on your machine?:
/usr/bin/acpi /usr/sbin/acpid /etc/acpi /etc/rc.d/acpid
man acpi man acpid
I've got it working now. From reading acpid's man page I found that it stores config files in /etc/acpi/events. You can create a file xxxxx.conf with an event and an action (the syntax is in the manpage). So I created a file 'power.conf' with these contents:
event=button[ /]power action=
08-29-2006 #6Originally Posted by Rishi
Originally Posted by Rishi