Need Help With a Desktop Application Shortcut
PLEASE IGNORE - SOLVED
I'm on 3.3.4-5.fc17.i686, KDE.
I've had a desktop application shortcut for lockscreen for a long time (since before there was an automatically gnerated one!)
It is "/usr/libexec/kde4/kscreenlocker --forcelock" inside a simple bash script (to which I refer in the Lockscreen application shortcut).
I'd like to create two new simple shell scripts - say, 'My_Sleep.sh' and 'My_Hibernate.sh' and refer to those in two new Desktop application shortcuts/icons.
Like "/usr/libexec/kde4/kscreenlocker --forcelock" for lockscreen, what are the hibernate and sleep commands?
...just in case anyone else needs additional information:
You can use the following commands under Linux to suspend or Hibernate Linux system:
pm-suspend - During suspend most devices are shutdown, and system state is saved in RAM. The system still requires power in this state. Most modern systems require 3 to 5 seconds to enter and leave suspend, and most laptops can stay in suspend mode for 1 to 3 days before exhausting their battery.
pm-hibernate - During hibernate the system is fully powered off, and system state is saved to disk. The system does not require power, and can stay in hibernate mode indefinitely. Most modern systems require 15 to 45 seconds to enter and leave hibernate, and entering and leaving hibernate takes longer when you have more memory.
pm-suspend-hybrid - Hybrid-suspend is the process where the system does everything it needs to hibernate, but suspends instead of shutting down. This means that your computer can wake up quicker than for normal hibernation if you do not run out of power, and you can resume even if you run out of power.
|All times are GMT -5. The time now is 02:13 PM.|