I have Lubuntu running on a custom touch panel. The panel has an Intel Atom N270 motherboard. I would like to be able to power off the panel by doing a short press of the panel's power button. This works OK when Windows is installed on the same hardware. Using the screen power icon works OK.

I have installed the acpi functionality. The powerbtn and powerbtn.sh files are there. I can find no place to configure the behavior of the machine's power button.