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