Oh my god I *again* lost load of files due to power outage + now way to quickly (~30 seconds UPS) shut down the damn box when screen is not working.
Also, lots of programs are really unresistant to data file corruptions - not even a warning message "oh pony I lost my files. Please restore file XYZ from backup." just the worst possible thing: *silent* corruption. This goes to kmail and kde configuration (but probably to lots of other applications as well). But we can fix at least that quickly: This attached patch (against up to date ubuntu 8.04 acpid) will just execute shutdown -h if you press power button x2 (in 10 seconds) I'm not good at bash/sh scripts, but it at least works. Can we apply this quickly, and then it can be upgraded to do other actions (like, kill application hogging all CPU etc). ** Attachment added: "powerbtn.sh-rafal.diff" http://launchpadlibrarian.net/20301339/powerbtn.sh-rafal.diff -- logout box + no way to kill computer = data corruption https://bugs.launchpad.net/bugs/285141 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs