![]() Banned ![]()
|
I am looking to create a shortcut of the default "suspend to disk" command used in KDE4.3.
(the suspend to disk choice hidden in ctrl+alt+del) Any idea ? Looked at: http://api.kde.org/4.x-api/kdebase-work ... Space.html http://majewsky.wordpress.com/2009/07/1 ... om-remote/ http://foss-boss.blogspot.com/2008/11/r ... sktop.html No success with qdbus. |
![]() Administrator ![]()
|
This is controlled by KSMServer. It has a D-Bus interface, but unfortunately I do not know how to operate it.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Banned ![]()
|
Not being able to make such operation which should be very simple is a problem.
The "suspend to disk" command is very hidden, and not so convenient to use. Still looking for a qdbus specialist. And another question: Where are hidden the command of "kmenu > leave > sessions/system choices" ?? I don't find a way to edit the hybernate shortcut. |
![]() Administrator ![]()
|
If you use Powerdevil, then the following will work:
- Suspend to RAM
- Suspend to Disk
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Banned ![]()
|
No I don't. No uswsusp, no Powerdevil, no ACPI package (just BIOS + kernel ACPI). The default "suspend to disk" works with no extra. Kernel info:
'echo disk > /sys/power/state' works (as root), but does not behave the same as the KDE4 default command. Still to be clarified. |
![]() Banned ![]()
|
Probability is high that the default "suspend to disk" KDE4 command is:
/usr/sbin/pm-hibernate |
![]() Registered Member ![]()
|
Not sure if things have changed from here since Aug 05 2009 but for Suspend to Ram I had to use:
Good tip, bcooksley. Thanks. |
![]() Registered Member ![]()
|
Thanks bcooksley
qdbus org.kde.kded /modules/powerdevil suspend 4 works nicely... now i can assign reassign one of extra keys on my keyboard for one touch Hibernation |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]