Howard S Shubs <> wrote:
> In article <dorayme->,
> dorayme <> wrote:
>
> > In article <howard->,
> > Howard S Shubs <> wrote:
> >
> > > Is there a way to restore the old "sleep on close" behavoir for MacBook
> > > Pros? Now it simply shuts off the screen if you close it, and
> > > rearranges the Desktop.
> >
> > DE said to me:
> >
> > "
> > ...
> >
> > "hibernatation mode".
> > It is controlled by a hidden setting, and is normally enabled for
> > notebook models, disabled for desktop models.
> > This command in Terminal shows the current power management settings
> > for all power modes:
> >
> > pmset -g custom
> >
> > Look for the "hibernatemode" line under the Battery Power and AC Power
> > headings. The only modes which should be used, from the man page:
> > hibernatemode = 0 is the default on supported desktops. The system
> > will not back memory up to persistent storage. The system must wake
> > from the contents of memory; the system will lose context on power
> > loss. This is, historically, plain old sleep.
> > hibernatemode = 3 is the default on supported portables. The system
> > will store a copy of memory to persistent storage (the disk), and will
> > power memory during sleep. The system will wake from memory, unless a
> > power loss forces it to restore from disk image.
>
> That's what it's set to. I wonder if the external monitor is what's
> changing things. Thanks.
If you have an external monitor plugged in, then what is supposed to
happen on closing the lid is:
1. Computer goes to sleep.
2. If you have an external keyboard or mouse (USB or Bluetooth), press a
key, move the mouse, or do something else which wakes up the computer,
it will operate in "clamshell" mode, where the internal display is
disabled and the external display is the primary (and only) display.
Assuming they are different resolutions, this will result in the desktop
being rearranged.
If something prevented the computer going to sleep when the lid was
closed, then an external display would trigger immediately going into
clamshell mode.
3. If you open the lid again, the normal arrangement is restored, so the
built-in display becomes the primary, resulting in another round of icon
rearrangements.
I'm not aware of any settings to configure this behaviour.
--
David Empson