On 25/04/2013 15:00, Vanhorn, Mike wrote:
On 4/25/13 9:46 AM, "Giles Coochey" giles@coochey.net wrote:
You are talking about something that acpid is doing for you:
Yes, I know this is handled by acpid; that's where the /etc/acpid/events/power.sh file comes in. I'm asking if anyone knows what changes to make to that file so that it gives a prompt first.
I'm guessing that there is a program out there already that will prompt for a shutdown, I just don't know what that program is.
It kind of depends what environment you are using and how you can hook into the standard power-off program that runs when you shutdown in the GUI. You would edit the actions to run that program.