How can I shutdown the computer with the IR controller ? It has many working buttons, which can be used correctly, but the power button doesn't do anything. Is there a way to program a script to a button ? Remote controller works with LIRC under XMBC on Ubuntu 10.04.
As the root user, you could define something like this in the
Then add something like this to
This will have "ircat" watch for events using the "rawcontrol" definitions. When it sees "power" get pressed, it'll shut down the system.