Your message dated Mon, 05 Mar 2007 09:32:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#285779: fixed in acpid 1.0.4-7 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: acpid Version: 1.0.4-1 Severity: normal Hi, pressing the power-button should not instantly power off the machine. When pressed accidentally, all open applications were killed and perhaps some unsaved work is lost. Can't the powerbtn-event just fire up a little dialog-box, asking what to do, e.g.: - nothing, [in case the powerbtn was pressed accidentally] - shutdown the machine - [perhaps, when configured] suspend-to-ram - [perhaps, when configured] suspend-to-disk Fionn Behrens has done this and posted it on the thinkpad-linux-mailing-list: #!/bin/sh # /etc/acpi/powerbtn.sh # Initiates a shutdown when the power putton has been # pressed. (improved 2004 by Fionn) if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop then dcop --all-users ksmserver ksmserver logout 0 2 0 && exit 0 elif tail -n 5 /var/log/messages | grep 'Restarting tasks... done' then echo "Resuming from sleep, so not acting, exited." exit 0 else gmessage -display :0 -buttons "Shutdown:1,Hibernate:2,Suspend:3,Continue:0" -default Continue -title "Powerbutton" -bg red -fg yellow -fn "Helvetica bold 11" -center -timeout 15 "Choose an Option" case $? in 1) gmessage -display :0 -timeout 4 -bg red -fg yellow -fn "Helvetica bold 11" "System is shutting down..." gnome-session-save --kill sleep 5 /sbin/shutdown -h now "Power button pressed" ;; 2) gmessage -display :0 -timeout 4 -bg red -fg yellow -fn "Helvetica bold 11" "Hibernation activated..." ;; 3) gmessage -display :0 -timeout 2 -bg red -fg yellow -fn "Helvetica bold 11" "going to sleep..." /etc/acpi/actions/sleep.sh ;; esac fi How about it? Perhaps better to use zenity? Greetings, thomas -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (20, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages acpid depends on: ii debconf 1.4.30.10 Debian configuration management sy -- debconf information: acpid/noacpi: acpid/modules: ac processor battery button fan thermal
--- End Message ---
--- Begin Message ---Source: acpid Source-Version: 1.0.4-7 We believe that the bug you reported is fixed in the latest version of acpid, which is due to be installed in the Debian FTP archive: acpid_1.0.4-7.diff.gz to pool/main/a/acpid/acpid_1.0.4-7.diff.gz acpid_1.0.4-7.dsc to pool/main/a/acpid/acpid_1.0.4-7.dsc acpid_1.0.4-7_i386.deb to pool/main/a/acpid/acpid_1.0.4-7_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Cajus Pollmeier <[EMAIL PROTECTED]> (supplier of updated acpid package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 5 Mar 2007 09:33:07 +0100 Source: acpid Binary: acpid Architecture: source i386 Version: 1.0.4-7 Distribution: unstable Urgency: low Maintainer: Cajus Pollmeier <[EMAIL PROTECTED]> Changed-By: Cajus Pollmeier <[EMAIL PROTECTED]> Description: acpid - Utilities for using ACPI power management Closes: 285779 354445 360167 383591 384687 388038 404680 Changes: acpid (1.0.4-7) unstable; urgency=low . * Fixed typo in manual page (Closes: #404680) * Updated README (Closes: #360167) * Include lsb compliant logging (Closes: #384687) * Fixed logrotate/cron error if acpid is not running (Closes: #388038) * Removed powerbutton scripts - these are contained in other packages (Closes: #354445, #285779) * Added lsb compliant init script styles (Closes: #383591) Files: 0d1649bf378998d6ce29fb9991e638a5 567 admin optional acpid_1.0.4-7.dsc 8cb4004a53c85fd3da6df15f0a4f959f 10307 admin optional acpid_1.0.4-7.diff.gz 8c79bf1f616d9e80b0bfacf1f4f8c821 25144 admin optional acpid_1.0.4-7_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF6+F8tyibJ/7Y+CYRAl17AJwLo67NtI3Cn5NSULe6yPN1MZ17eACdEdS/ B3uoSdZ17nIIpo7rg7W8i3c= =b29g -----END PGP SIGNATURE-----
--- End Message ---

