I am currently looking for a software/web development job preferably as a Rails-based developer.
Please email me at weston@westonganger.com. Thanks in advance for any leads!

Script To Suspend Ubuntu

Posted by Weston Ganger

If you ever needed a script to suspend your PC such as for Transmission after your torrent completes or to suspend your computer at a certain time of night.

It is gnome-friendly too. Well here it is:

dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend

Be sure to make the file executable, you can do this by:

chmod +x yourScript

Article Topic:Software Development - Linux

Date:July 15, 2014

Recommended Posts