You are not logged in.
Pages: 1
Hey
I want to run two different scripts whenever I plug in or out my laptop.
How can I know when the computer is plugged in or out?
Is there a program that already does that?
tnx
fiod
Offline
I think you can do this with acpi, but I don't know the details.
Offline
install acpid, and look at /etc/acpid. I think there's some example scripts there, or at least something you can work with.
Offline
Pages: 1