![]() Registered Member ![]()
|
Hello,
After I upgraded to KDE 4.6 I’m not able to use my old desktop icon I made for suspend: a simple widget icon with this command on click : # qdbus org.kde.kded /modules/powerdevil suspend 2 This is the error message I get when I do it in a console: "Cannot find ‘.suspend’ in object /modules/powerdevil at org.kde.kded." The "suspend to RAM" button from kicker works very well and also a "suspend" plasma widget I have installed. Please, can anyone tell me what command I must use for suspend to RAM? I very like a very very clean desktop and a simple transparent icon with just a dot as “title” is what I used before and what I want to use.. Thank you Daniel
Last edited by painteru on Sun Feb 13, 2011 3:45 pm, edited 1 time in total.
My art at www.danielchiriac.com
|
![]() Registered Member ![]()
|
Hahaha,
I've just found the command I need! #dbus-send --print-reply --dest='org.freedesktop.PowerManagement' /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Suspend it works
My art at www.danielchiriac.com
|
![]() Registered Member ![]()
|
Thank you!
I had the same command, but on the keyboard shortcut. Of course after updating to KDE 4.6 it stopped working, which was slowly driving me nuts, because I used this shortcut for a long time. I tried using kdbus program to find the new command, but did not figure out how to do it. How did you find it out? |
![]() Administrator ![]()
|
You can use "qdbusviewer" and "qdbus" to browse the systems accessible over D-Bus.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks, it seems to work better than kdbus. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]