I want know if there's a way to change the action when the power key is pressed. I use Ubuntu 11.10 and when it is pressed it opens a small window with shutdown options. I want know how to change this, and make it open anything else. Is there a way to do that? And how?
migrated from stackoverflow.com Nov 16 '11 at 4:18
This question came from our site for professional and enthusiast programmers.
You can change the action that happens when pressing the power button by entering this command into a terminal:
replace the 'hibernate' with the action you want.
Also take a look at this duplicate post for more information.