First, you don't want APM (and it may not even exist in new laptops), you want its replacement, ACPI:-)I am in the process of setting a laptop computer up to be installed in my car. Of course, it is running Fedora Core. Why I chose a laptop is outlined below.
Here is my question. I have a car "AC" adapter for it. Obviously, I also have a battery. I know, in Windows, that there is a way to get a laptop to safely shut down and turn off on the loss of power on the AC connection. It is able to do this because of the battery. Is there a way to do this in Fedora Core? I didn't see any settings for "shut down on AC loss". Also, secondary and less importantly, is there a way to get it to turn back on when "AC" power is restored?
My laptop's down on the farm (and I'm not) so I can't check its settings. However, this stuff is configurable in KDE and probably Gnome. Take a look at the PM applets.
On my laptop, I have to press the power button. It's not different for XP Prof which is also installed.
btw My tosh has three buttons which can turn it on. Two of them are special-function keys that can be used at any time, and they stay latched until read. I could easily run a script during boot to perform some special action if either has been pressed - eg to choose between runlevels 3 and 5, to start home processes or work ones.
Conceivably, I could hack on grub and use them to choose between Windows, Linux and the menu based on which key I used to turn the machine on.
--
Cheers John
-- spambait 1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/