Results 1 to 6 of 6
Is it possible to make pushing the power button while the machine is turned on do nothing? I know this can be done from the OS since Windows does it, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-27-2006 #1
Disable the power button [FC5]
Is it possible to make pushing the power button while the machine is turned on do nothing? I know this can be done from the OS since Windows does it, but can I do it in FC5?
Thanks in advance.
- 08-28-2006 #2
Check to see if you have '/etc/sysconfig/powermanagement' - and look at sections having to do with the power button...
- 08-29-2006 #3
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
- 08-29-2006 #5
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