I have a "media center" PC that sometimes I forget to shut down at night. If I remember, I'll usually remote into my "media center" PC and shut it down, but most nights I forget to do it and the PC runs all night (and throughout the next day too).
Is there a way to shutdown the PC via a dialog box (ie.
"Do you want to shutdown?" [Yes] [No])? The reason I want a dialog box is because sometimes we are watching movies late at night and I don't want to arbitrarily shutdown.
I can do a cron job which runs a script at 1am but I can't figure out how to execute
shutdown as a standard user. Any help? I'm running Linux Mint 17.3 (Ubuntu 14.04).