Question about the Power Button

Hello all:

Is there a way to make the power button issue the ‘shutdown now’ command when pressed? Currently it does nothing. We are running Ubuntu, and we are going to be using this for a kiosk application and want to be able to shut it down be pressing the power button.

Please let me know, and thank you in advance…

Is there at least a way to intercept the power button state through ubuntu Linux?