public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KDE4 suspend to RAM
@ 2010-03-20 10:21 Mick
  2010-03-20 15:14 ` ich bins
  2010-03-20 15:16 ` ich bins
  0 siblings, 2 replies; 9+ messages in thread
From: Mick @ 2010-03-20 10:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 388 bytes --]

Hi All,

I want to map a OEM keyboard button to suspend the PC to RAM, but I am not 
sure which command KDE4 is using in its menu for suspending to RAM.  I assume 
that I will be able to map this button to the command in question and I 
wouldn't need to elevate privileges, enter passwds, or the like, because when 
I select it from the KDE menu it just runs.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-20 10:21 [gentoo-user] KDE4 suspend to RAM Mick
@ 2010-03-20 15:14 ` ich bins
  2010-03-20 15:16 ` ich bins
  1 sibling, 0 replies; 9+ messages in thread
From: ich bins @ 2010-03-20 15:14 UTC (permalink / raw
  To: gentoo-user

Am 20.03.2010 11:21, schrieb Mick:
> Hi All,
>
> I want to map a OEM keyboard button to suspend the PC to RAM, but I am not 
> sure which command KDE4 is using in its menu for suspending to RAM.  I assume 
> that I will be able to map this button to the command in question and I 
> wouldn't need to elevate privileges, enter passwds, or the like, because when 
> I select it from the KDE menu it just runs.
>   

in the shortcuts section you have to define a new dbus-call

org.kde.kded
/modules/powerdevil
suspend
2





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-20 10:21 [gentoo-user] KDE4 suspend to RAM Mick
  2010-03-20 15:14 ` ich bins
@ 2010-03-20 15:16 ` ich bins
  2010-03-20 17:15   ` Mick
  2010-03-21  8:46   ` Mick
  1 sibling, 2 replies; 9+ messages in thread
From: ich bins @ 2010-03-20 15:16 UTC (permalink / raw
  To: gentoo-user

Am 20.03.2010 11:21, schrieb Mick:
> Hi All,
>
> I want to map a OEM keyboard button to suspend the PC to RAM, but I am not 
> sure which command KDE4 is using in its menu for suspending to RAM.  I assume 
> that I will be able to map this button to the command in question and I 
> wouldn't need to elevate privileges, enter passwds, or the like, because when 
> I select it from the KDE menu it just runs.
>   

in the shortcuts section you have to define a new dbus-call

org.kde.kded
/modules/powerdevil
suspend
2





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-20 15:16 ` ich bins
@ 2010-03-20 17:15   ` Mick
  2010-03-21  8:46   ` Mick
  1 sibling, 0 replies; 9+ messages in thread
From: Mick @ 2010-03-20 17:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 691 bytes --]

On Saturday 20 March 2010 15:16:57 ich bins wrote:
> Am 20.03.2010 11:21, schrieb Mick:
> > Hi All,
> >
> > I want to map a OEM keyboard button to suspend the PC to RAM, but I am
> > not sure which command KDE4 is using in its menu for suspending to RAM. 
> > I assume that I will be able to map this button to the command in
> > question and I wouldn't need to elevate privileges, enter passwds, or the
> > like, because when I select it from the KDE menu it just runs.
> 
> in the shortcuts section you have to define a new dbus-call
> 
> org.kde.kded
> /modules/powerdevil
> suspend
> 2

Thanks!  Will give it a try next time I get on that machine.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-20 15:16 ` ich bins
  2010-03-20 17:15   ` Mick
@ 2010-03-21  8:46   ` Mick
  2010-03-22  9:26     ` ich bins
  1 sibling, 1 reply; 9+ messages in thread
From: Mick @ 2010-03-21  8:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 938 bytes --]

On Saturday 20 March 2010 15:16:57 ich bins wrote:
> Am 20.03.2010 11:21, schrieb Mick:
> > Hi All,
> >
> > I want to map a OEM keyboard button to suspend the PC to RAM, but I am
> > not sure which command KDE4 is using in its menu for suspending to RAM. 
> > I assume that I will be able to map this button to the command in
> > question and I wouldn't need to elevate privileges, enter passwds, or the
> > like, because when I select it from the KDE menu it just runs.
> 
> in the shortcuts section you have to define a new dbus-call
> 
> org.kde.kded
> /modules/powerdevil
> suspend
> 2

Hmm ... this is weird:

I set up Trigger as Sleep and populated the Action fields as you suggested in 
the Input Actions in SystemSettings.  If I click on the Call button under the 
Action fields, the machine goes to sleep.  If I use the keyboard Sleep button 
it does not.  How do I troubleshoot this?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-21  8:46   ` Mick
@ 2010-03-22  9:26     ` ich bins
  2010-03-22 11:17       ` Mick
  0 siblings, 1 reply; 9+ messages in thread
From: ich bins @ 2010-03-22  9:26 UTC (permalink / raw
  To: gentoo-user

Am 21.03.2010 09:46, schrieb Mick:
> On Saturday 20 March 2010 15:16:57 ich bins wrote:
>   
>> Am 20.03.2010 11:21, schrieb Mick:
>>     
>>> Hi All,
>>>
>>> I want to map a OEM keyboard button to suspend the PC to RAM, but I am
>>> not sure which command KDE4 is using in its menu for suspending to RAM. 
>>> I assume that I will be able to map this button to the command in
>>> question and I wouldn't need to elevate privileges, enter passwds, or the
>>> like, because when I select it from the KDE menu it just runs.
>>>       
>> in the shortcuts section you have to define a new dbus-call
>>
>> org.kde.kded
>> /modules/powerdevil
>> suspend
>> 2
>>     
> Hmm ... this is weird:
>
> I set up Trigger as Sleep and populated the Action fields as you suggested in 
> the Input Actions in SystemSettings.  If I click on the Call button under the 
> Action fields, the machine goes to sleep.  If I use the keyboard Sleep button 
> it does not.  How do I troubleshoot this?
>   
have you populated the Xf86Sleep-button (or which you re using) with the
action? Is the key you re using known by KDE ? which KDE version you re
using?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-22  9:26     ` ich bins
@ 2010-03-22 11:17       ` Mick
  2010-03-22 11:24         ` ich bins
  0 siblings, 1 reply; 9+ messages in thread
From: Mick @ 2010-03-22 11:17 UTC (permalink / raw
  To: gentoo-user

On 22 March 2010 09:26, ich bins <imehl_adresse@gmx.net> wrote:
> Am 21.03.2010 09:46, schrieb Mick:
>> On Saturday 20 March 2010 15:16:57 ich bins wrote:
>>
>>> Am 20.03.2010 11:21, schrieb Mick:

>>> in the shortcuts section you have to define a new dbus-call
>>>
>>> org.kde.kded
>>> /modules/powerdevil
>>> suspend
>>> 2
>>>
>> Hmm ... this is weird:
>>
>> I set up Trigger as Sleep and populated the Action fields as you suggested in
>> the Input Actions in SystemSettings.  If I click on the Call button under the
>> Action fields, the machine goes to sleep.  If I use the keyboard Sleep button
>> it does not.  How do I troubleshoot this?
>>
> have you populated the Xf86Sleep-button (or which you re using) with the
> action?

Yes, in the Trigger tab of Input Actions, I clicked on 'Input' and
then pressed the keyboard button which changed the 'Input' field into
'Sleep'.

> Is the key you re using known by KDE ? which KDE version you re
> using?

I believe that the key is known by KDE because it is now also shown
under Global hotkeys.

I am using KDE-4.3.5

-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-22 11:17       ` Mick
@ 2010-03-22 11:24         ` ich bins
  2010-03-22 11:44           ` Mick
  0 siblings, 1 reply; 9+ messages in thread
From: ich bins @ 2010-03-22 11:24 UTC (permalink / raw
  To: gentoo-user

Am 22.03.2010 12:17, schrieb Mick:
> On 22 March 2010 09:26, ich bins <imehl_adresse@gmx.net> wrote:
>   
>> Am 21.03.2010 09:46, schrieb Mick:
>>     
>>> On Saturday 20 March 2010 15:16:57 ich bins wrote:
>>>
>>>       
>>>> Am 20.03.2010 11:21, schrieb Mick:
>>>>         
>   
>>>> in the shortcuts section you have to define a new dbus-call
>>>>
>>>> org.kde.kded
>>>> /modules/powerdevil
>>>> suspend
>>>> 2
>>>>
>>>>         
>>> Hmm ... this is weird:
>>>
>>> I set up Trigger as Sleep and populated the Action fields as you suggested in
>>> the Input Actions in SystemSettings. �If I click on the Call button under the
>>> Action fields, the machine goes to sleep. �If I use the keyboard Sleep button
>>> it does not. �How do I troubleshoot this?
>>>
>>>       
>> have you populated the Xf86Sleep-button (or which you re using) with the
>> action?
>>     
> Yes, in the Trigger tab of Input Actions, I clicked on 'Input' and
> then pressed the keyboard button which changed the 'Input' field into
> 'Sleep'.
>
>   
>> Is the key you re using known by KDE ? which KDE version you re
>> using?
>>     
> I believe that the key is known by KDE because it is now also shown
> under Global hotkeys.
>
> I am using KDE-4.3.5
>
>   
because of the missing kaction in 4.3.5 it worked for me only since 4.4.0



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] KDE4 suspend to RAM
  2010-03-22 11:24         ` ich bins
@ 2010-03-22 11:44           ` Mick
  0 siblings, 0 replies; 9+ messages in thread
From: Mick @ 2010-03-22 11:44 UTC (permalink / raw
  To: gentoo-user

On 22 March 2010 11:24, ich bins <imehl_adresse@gmx.net> wrote:

> because of the missing kaction in 4.3.5 it worked for me only since 4.4.0
>

Thanks for that, I'll wait until 4.4.0 goes stable and try again.
-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-03-22 11:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 10:21 [gentoo-user] KDE4 suspend to RAM Mick
2010-03-20 15:14 ` ich bins
2010-03-20 15:16 ` ich bins
2010-03-20 17:15   ` Mick
2010-03-21  8:46   ` Mick
2010-03-22  9:26     ` ich bins
2010-03-22 11:17       ` Mick
2010-03-22 11:24         ` ich bins
2010-03-22 11:44           ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox