Skip to content

Instantly share code, notes, and snippets.

@cakuzo
Created January 12, 2012 22:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cakuzo/1603599 to your computer and use it in GitHub Desktop.
Save cakuzo/1603599 to your computer and use it in GitHub Desktop.
Installing Synergy Client on a Mac OS X Lion and configuring it for automatic startup
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<plist version='1.0'>
<dict>
<key>Label</key><string>org.macports.synergy</string>
<key>KeepAlive</key><true/>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/daemondo</string>
<string>--label=synergy-client</string>
<string>--start-cmd</string>
<string>/opt/local/bin/synergyc</string>
<string>-n</string>
<string>mac-air</string>
<string>-1</string>
<string>-f</string>
<string>192.168.9.1</string>
<string>;</string>
<string>--pid=exec</string>
</array>
</dict>
</plist>
NOTE: After trying several actual versions of Synergy
including 1.4.5, 1.3.8. I found out that 1.3.1 (the version
from mac ports) is working best on my Mac Lion.
1. Install mac ports!
Easiest way is to download/install the latest dmg file from http://distfiles.macports.org/MacPorts/
2. Install synergy from mac ports!
sudo port install synergy
3. create a plist file named org.macports.synergy.plist similar to the below one
(note that mac-air needs to be replaced by your hostname and 192.168.9.1 with
your synergy-servers ip adress)
4. load the .plist file with launchctl
sudo launchctl load -w org.macports.synergy.plist
THATS IT! Your synergy client will start automatically
# this is the server configuration file. Used with synergy-foss 1.4.5 on a Windows 7 machine
# synergy server configuration file
section: screens
mac-air:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none +top-left +top-right +bottom-left +bottom-right
switchCornerSize = 10
VIE-OCA:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none +top-left +top-right +bottom-left +bottom-right
switchCornerSize = 10
end
section: aliases
end
section: links
mac-air:
right = VIE-OCA
VIE-OCA:
left = mac-air
end
section: options
relativeMouseMoves = false
screenSaverSync = true
win32KeepForeground = false
switchCorners = none +top-left +top-right +bottom-left +bottom-right
switchCornerSize = 10
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment