4

I am using Ubutnu 12.04 LTS. Now I am here to know that, is there any script/application I can use to shutdown my Ubuntu when my system is IDLE for 10 Minutes or so?

I have already gone through this answer, but it doesn't seems to be help me much and that package also not active from long time.

Any script/Application I can get for this?

Thank you all.

Raja G
  • 105,327
  • 107
  • 262
  • 331

2 Answers2

2

Edit: you can do this with https://launchpad.net/complexshutdown

If you're interested in how this works, look at How does ubuntu determine inactivity before suspending? for a good start. You can access the same counters that Ubuntu already uses before suspending, when suspend-on-idle is on.

Jim Salter
  • 4,383
2

There are several options:

  1. You could use a download manager application, they usually have an auto shutdown option. Search for one, where you can configure the idle time.
  2. use a cron script: How can I shutdown the computer when a certain process ends?
  3. configure your PC to go to sleep (hibernate) when there is no activity for a while
  4. read the "related" box, right on your screen, and pick up one appropriate tip
Doka
  • 320