Sleep mode on a desktop

View: New views
4 Messages — Rating Filter:   Alert me  

Sleep mode on a desktop

by Len Lawrence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a Dell XPS 710 desktop machine and am operating it from a
Microsoft keyboard with MyComputer, Calculator and Sleep buttons above
the numeric keyboard.  Calculator is programmed to invoke the
calculator on screen but today I accidentally hit the Sleep button and
to my surprise the whole system closed down (suspend mode - possibly
to RAM).  There were messages so it looks like the Mandriva kernel
handles this rather than it being hardwired somehow.  I had no idea
how to recover from this state so pressed keys at random and also the
power-on button on the front panel.  One of these must have worked
because the graphics display suddenly came back, with no intermediate
console messages.  I would rather have the Sleep button disabled or
reprogrammed but how do you obtain the keycode for that button?  I
would normally use xev for that but that would not work would it?  The
other thing is, how does one wake up the machine from the sleep state?
The power button is the prime candidate.  I do not wish to tinker
because there are BOINC project jobs running all the time and I do not
know if the sudden hibernation would damage the computations.


Len



Re: Sleep mode on a desktop

by Norman Carver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 June 2009 01:28:27 pm Len Lawrence wrote:
> I would rather have the Sleep button disabled or
> reprogrammed but how do you obtain the keycode for that button?  I
> would normally use xev for that but that would not work would it?  The
> other thing is, how does one wake up the machine from the sleep state?
> The power button is the prime candidate.

I think people are going to need more info to help you.
What Mandriva are you using, and are you running KDE, Gnome, etc.?

For a recent MDV, you probably have a power control applet running,
and you should be able to turn off the effect there.

E.g., on the machine I am on right now, running MDV2008.1 and KDE3,
I right-click on the KPowersave applet in the tray, select Configure
Kpowersave, select the General Settings tab, then change the Button
Events for the Sleep button to be null, and click OK.

Pressing the power button should bring you back from a suspend.
Norm


Re: Sleep mode on a desktop

by Len Lawrence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Norman Carver wrote:

> On Friday 19 June 2009 01:28:27 pm Len Lawrence wrote:
>> I would rather have the Sleep button disabled or
>> reprogrammed but how do you obtain the keycode for that button?  I
>> would normally use xev for that but that would not work would it?  The
>> other thing is, how does one wake up the machine from the sleep state?
>> The power button is the prime candidate.
>
> I think people are going to need more info to help you.
> What Mandriva are you using, and are you running KDE, Gnome, etc.?
>
> For a recent MDV, you probably have a power control applet running,
> and you should be able to turn off the effect there.
>
> E.g., on the machine I am on right now, running MDV2008.1 and KDE3,
> I right-click on the KPowersave applet in the tray, select Configure
> Kpowersave, select the General Settings tab, then change the Button
> Events for the Sleep button to be null, and click OK.
>
> Pressing the power button should bring you back from a suspend.
> Norm
>
Mandriva 2008.1 here with Gnome, 2.6.24.7-desktop-1mnb.

Yes, I thought that it was the power button to wake up.  It looked
seamless but I will disable the function if possible.  I shall poke
around in Gnome.

Thanks

Len



Re: Sleep mode on a desktop

by Len Lawrence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Len Lawrence wrote:
> Mandriva 2008.1 here with Gnome, 2.6.24.7-desktop-1mnb.
>
> Yes, I thought that it was the power button to wake up.  It looked
> seamless but I will disable the function if possible.  I shall poke
> around in Gnome.
>
Replying to myself.  Found Gnome power management in the menus.  It
works the same way as KDE.
Thanks for the pointer Norman.