3

I often have my MacBook Pro in clamshell mode attached to the second monitor. On my first monitor I have Windows machine and I use Synergy-Foss software to share only one mouse+keyboard between them.

Problem is, sometimes I forget to turn on Caffeine (that prevents screen from sleeping) when I don't use Mac for a bit longer and the screen goes to sleep.

Unfortunately mouse/keyboard activity through Synergy-Foss software isn't waking the screen. Is there a terminal command which would wake the screen?

1
  • Why not just leverage the free screen real-estate the macbook offers?
    – Alexander
    Apr 7, 2012 at 16:59

2 Answers 2

1

That sounds like your Mac is actually sleeping (suspend-to-ram) and not just turning it's screen off. If the screen was just turned off, simulated mouse/keyboard input from Synergy should wake it back up. If it's sleeping it won't, because your Mac isn't listening for Synergy network traffic when asleep.

You can either adjust the power save settings to only turn the screen off, but not actually go to sleep (but then you're sort of already doing that via Caffeine when you remember to) or wake the Mac via a Wake-on-LAN magic packet that will awaken it even from sleep mode, which can be sent from a command-line utility on the Windows machine.

If that doesn't work to your satisfaction you can also wake the Mac up in scheduled intervals via pmset (see man pmset for more information). For example, to wake up every Monday to Friday at 8:30am:

 pmset repeat wake MTWRF 08:30:00
0

Not sure if you have already tried this but you could make the MacBook pro the synergy server, this should force it to wake up.

I'm guessing that currently the windows machine is as ive used a similar setup with MacBook as the server and it worked okay.

1
  • Yes, you are right, the Windows machine is the server, but I am not too keen on changing that to be honest. I want to use Windows keyboard and mouse and keep MacBook closed.
    – Michal M
    Jan 31, 2012 at 14:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .