Hello, On Fri, 20 Jul 2007, Alexander wrote: > So i installed acpi-support and was happy until i find out that the handler > i seek is not even there. > > BTW, if i do "dpkg -S /etc/acpi/powerbtn.sh /etc/acpi/events/powerbtn" the > system says "not found" for both. Do you need me to give you output of > anything to find out the essential difference between your system and mine?
$ dpkg -s acpid Package: acpid Status: install ok installed Priority: optional Section: admin Installed-Size: 160 Maintainer: Cajus Pollmeier <[EMAIL PROTECTED]> Architecture: i386 Version: 1.0.4-7.1 Depends: libc6 (>= 2.3.6-6), lsb-base (>= 3.0-10) Conffiles: /etc/default/acpid 8a3a25ed8cb74697cc088150917f9ca2 /etc/init.d/acpid 8f153b09a241956e2948712d7b8b4013 /etc/logrotate.d/acpid bc85a58a260d752dcccf3e94748f90c9 /etc/acpi/events/powerbtn 57f021ab2369f211018d6e7d11434314 obsolete /etc/acpi/powerbtn.sh fa93fb2542919749e9b12dccc432900f obsolete Ok. I still have them but only because I had a previous version of acpid installed. They are marked 'obsolete' by dpkg. However looking at the files, I'm not sure we really want them. The script handles almost nothing: - if powersaved is running, it doesn't do anything - if KDE is running, it unlog people ?! (not sure here, this probably opens a logout dialog where the user can choose to shutdown) - otherwise it does a direct shutdown At the very least, we should handle gnome-power-manager like powersaved. I'd hate to see my machine reboot while I'm logged in Gnome. :-) Cajus, did you have a plan while you decided to unilateraly remove those files? > Purged acpid and acpi-support. > Installed acpid. /etc/acpi* is not there. > Installed acpi-support. /etc/acpi/* is there, but still no handler for > powerbtn event, nor the script. Ok. It's normal. I hadn't noticed that my config files were obsolete. Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/