Quoting Jeffrey L. Taylor <[EMAIL PROTECTED]>:
> Quoting Carlos E. R. <[EMAIL PROTECTED]>:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> > The Friday 2007-10-26 at 16:28 -0500, Jeffrey L. Taylor wrote:
> >
> >>> Have a look at /etc/sysconfig/powersave, and adjust these variables:
> >>>
> >>>
> >>> EVENT_BUTTON_POWER="wm_shutdown"
> >>> EVENT_BUTTON_SLEEP="suspend_to_disk"
> >>> EVENT_BUTTON_LID_OPEN="ignore"
> >>> EVENT_BUTTON_LID_CLOSED="screen_saver"
> >>>
> >>> There is a yast module for that, powermanagement.
> >>>
> >> Already done.  In fact, I didn't have to do that manually, those are the
> >> defaults.  I did track down that 
> >> /usr/lib/hotkey-setup/thinkpad_hotkey_handler
> >> is logging the key combination and ignoring it.
> >
> > If it doesn't produce an event, nothing happens.
> >
> >> I'd settle for initiating
> >> from the command line.  Note: I am using Blackbox windowmanager so KDE 
> >> only or
> >> Gnome only solutions won't work.  Some KDE & Gnome apps work in Blackbox,
> >> others don't behave well.
> >
> > I use the power button event to suspend, that's independent of 
> > windowmanager.
> 
> I'll give this a try tomorrow.
> 

I changed the /etc/sysconfig/powersave/events line to
EVENT_BUTTON_POWER="suspend_to_disk" from within the sysconfig editor in
Yast.  Pressing the power switch does a shutdown, not a suspend.

Sigh,
  Jeffrey
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to