Disable Power Button – Ubuntu

To disable the power button completely in Ubuntu, at least in the version I’m running, go into gconf-editor as the user for which you’d like to disable the button, go to Apps/gnome-power-manager/buttons/power and set it to blank.