Comments on: Python Suspend Applet http://blog.chatonka.com/2009/03/python-suspend-applet/ Climb On Wed, 09 Feb 2011 10:31:45 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Daniel Chiriac http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-23909 Daniel Chiriac Wed, 09 Feb 2011 10:31:45 +0000 http://blog.chatonka.com/?p=180#comment-23909 Thank you very much for this useful widget! I would like to ask you if there is a way to remove some buttons. I want to remove "turn display off" and "hibernate". It would be useful a "settings" button for that. Well, I came to your site because I'm not able to use my old desktop icon I made for suspend: a simple widget icon with this command on press : # qdbus org.kde.kded /modules/powerdevil suspend 2 Since I upgraded to KDE 4.6 that don't work anymore (this is the error message: Cannot find '.suspend' in object /modules/powerdevil at org.kde.kded. Your applet works for me in 4.6. Please, can you tell me what command I must use to suspend as user? 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 very much for patience! Hope this wasn't a to long post :) Daniel Thank you very much for this useful widget!
I would like to ask you if there is a way to remove some buttons. I want to remove “turn display off” and “hibernate”.
It would be useful a “settings” button for that.
Well, I came to your site because I’m not able to use my old desktop icon I made for suspend: a simple widget icon with this command on press : # qdbus org.kde.kded /modules/powerdevil suspend 2
Since I upgraded to KDE 4.6 that don’t work anymore (this is the error message: Cannot find ‘.suspend’ in object /modules/powerdevil at org.kde.kded.
Your applet works for me in 4.6.
Please, can you tell me what command I must use to suspend as user? 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 very much for patience! Hope this wasn’t a to long post :)
Daniel

]]>
By: astromme http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5774 astromme Wed, 01 Apr 2009 19:09:22 +0000 http://blog.chatonka.com/?p=180#comment-5774 I've started a PyKDE4 DBus tutorial here: http://techbase.kde.org/index.php?title=Development/Languages/Python/PyKDE_DBus_Tutorial It's a work in progress for now I’ve started a PyKDE4 DBus tutorial here:

http://techbase.kde.org/index.php?title=Development/Languages/Python/PyKDE_DBus_Tutorial

It’s a work in progress for now

]]>
By: Simon Edwards http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5620 Simon Edwards Sun, 29 Mar 2009 09:30:50 +0000 http://blog.chatonka.com/?p=180#comment-5620 It gives me a warm and fuzzy feeling to hear that people are enjoying and producing useful things with the Python support in Plasma. (especially after the turd-sandwich of an email some frustrated user sent me this morning. :-( ) A small request: Perhaps you could make a small tutorial on techbase explaining the code you use to talk to DBus. That would be handy and I think quite a few people would be interested in it. thanks. It gives me a warm and fuzzy feeling to hear that people are enjoying and producing useful things with the Python support in Plasma. (especially after the turd-sandwich of an email some frustrated user sent me this morning. :-( )

A small request: Perhaps you could make a small tutorial on techbase explaining the code you use to talk to DBus. That would be handy and I think quite a few people would be interested in it. thanks.

]]>
By: astromme http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5596 astromme Sat, 28 Mar 2009 21:43:42 +0000 http://blog.chatonka.com/?p=180#comment-5596 No particular reason at all, just the way it was coded. They're flipped now, you're right it makes more sense. No particular reason at all, just the way it was coded. They’re flipped now, you’re right it makes more sense.

]]>
By: Chani http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5593 Chani Sat, 28 Mar 2009 20:46:44 +0000 http://blog.chatonka.com/?p=180#comment-5593 nice :) one little nitpick: why is "turn display off" in hte middle? I would've expected it to be at the top, since it has the smallest effect, with hibernate (the "biggest" change) at the bottom. nice :)

one little nitpick: why is “turn display off” in hte middle? I would’ve expected it to be at the top, since it has the smallest effect, with hibernate (the “biggest” change) at the bottom.

]]>
By: astromme http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5591 astromme Sat, 28 Mar 2009 20:11:17 +0000 http://blog.chatonka.com/?p=180#comment-5591 @sebas Glad to help =). KDE technologies can be quite easy to work with. @Michael I think that's a byproduct of my theme. I didn't touch anything with icon alignment (And I don't think Plasma::PushButton has that capability anyways) hmm... it actually seems to go away if I resize the applet a bit. I wonder if some layout thing is getting in the way. Wouldn't be the first time. @sebas

Glad to help =). KDE technologies can be quite easy to work with.

@Michael
I think that’s a byproduct of my theme. I didn’t touch anything with icon alignment (And I don’t think Plasma::PushButton has that capability anyways)

hmm… it actually seems to go away if I resize the applet a bit. I wonder if some layout thing is getting in the way. Wouldn’t be the first time.

]]>
By: Michael http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5589 Michael Sat, 28 Mar 2009 19:59:48 +0000 http://blog.chatonka.com/?p=180#comment-5589 Cool stuff, thanks ;) Just as a suggestion for the next version, center the icons vertically in the buttons, this looks even cooler than aligning at the top Cool stuff, thanks ;)
Just as a suggestion for the next version, center the icons vertically in the buttons, this looks even cooler than aligning at the top

]]>
By: sebas http://blog.chatonka.com/2009/03/python-suspend-applet/comment-page-1/#comment-5584 sebas Sat, 28 Mar 2009 17:28:45 +0000 http://blog.chatonka.com/?p=180#comment-5584 Yay! Looks pretty much exactly how I want it, and as a bonus, it has DPMS support :-) Now I've got an excuse to compile the python plasma bindings, I guess Yay! Looks pretty much exactly how I want it, and as a bonus, it has DPMS support :-)

Now I’ve got an excuse to compile the python plasma bindings, I guess

]]>