1 |
On Saturday 20 March 2010 15:16:57 ich bins wrote: |
2 |
> Am 20.03.2010 11:21, schrieb Mick: |
3 |
> > Hi All, |
4 |
> > |
5 |
> > I want to map a OEM keyboard button to suspend the PC to RAM, but I am |
6 |
> > not sure which command KDE4 is using in its menu for suspending to RAM. |
7 |
> > I assume that I will be able to map this button to the command in |
8 |
> > question and I wouldn't need to elevate privileges, enter passwds, or the |
9 |
> > like, because when I select it from the KDE menu it just runs. |
10 |
> |
11 |
> in the shortcuts section you have to define a new dbus-call |
12 |
> |
13 |
> org.kde.kded |
14 |
> /modules/powerdevil |
15 |
> suspend |
16 |
> 2 |
17 |
|
18 |
Hmm ... this is weird: |
19 |
|
20 |
I set up Trigger as Sleep and populated the Action fields as you suggested in |
21 |
the Input Actions in SystemSettings. If I click on the Call button under the |
22 |
Action fields, the machine goes to sleep. If I use the keyboard Sleep button |
23 |
it does not. How do I troubleshoot this? |
24 |
-- |
25 |
Regards, |
26 |
Mick |