In Microsoft Windows I use switch off
software for auto shutdown, Hibernate, restart etc. Can I find something similar in Ubuntu?
I read following link. How can I automatically shutdown the system after a specific time?
In Microsoft Windows I use switch off
software for auto shutdown, Hibernate, restart etc. Can I find something similar in Ubuntu?
I read following link. How can I automatically shutdown the system after a specific time?
GShutdown is a utility which allows you to schedule the shutdown or restart of your computer. With it you can simply and quickly choose the turn off time at either a specific time or after a countdown.
Install Gshutdown:
source.
For some unknown reason this sorts of applications don't last for long and they are broken on newer iterations of Ubuntu. Gshutdown didn't work out of the box for Ubuntu 15.10 and it's not very convenient to download a couple of hundreds MB of dependencies for kwin application. At least not for this kind of application.
Here's a little script I wrote that issues this problem and arguably it is a better choice. Why :
Shutdown dialog in action:
How to use it
There is only one package that needs to be installed which addresses user inactivity feature, however script will run other available options well without it. To install 'xprintidle' type in terminal:
Open text editor, paste the code provided below and save the file as
Shutdown_dialog
in your home folder. Right click on file and selectallow executing file as program
or via terminal:The code:
Optionally, you can create desktop icon. Open text editor, paste the code provided below and save the file as
Shutdown_dialog.desktop
in your desktop folder. Right click on file and selectallow executing file as program
or via terminal:The code:
Just make sure that
Exec
line have an absolute path to the script.If anything is unclear, comment and I will edit if necessary.
I think GShutdown is the best among this utilities. But to make it work with Ubuntu 15.10 you need to do some trick.