I have a Xubuntu Lucid 10.04 computer plugged in to my TV. I use the command line to administrate it.
Right now when I hit the power button it just opens a Logout screen.
How can I set it up so that I can shut it down by hitting the power button? I know it has something to do with acpi or acpid.
I want answers to be command-line only as I do not have any keyboard or mouse connected to that computer.
Edit:
Isn't there a way to modify the default behavior of the xfce4 power manager when pushing the power button?
Also instead of using the GUI to do so, can I do it by creating/modifying a configuration file?
jbowtie had an interesting answer but I cannot find the xfce4-power-manager.xml file. If someone knows where to find that file or how to create it, I would be interested.
/etc/acpi/powerbtn.sh
as mentioned in my answer?