Archive for the ‘OS X’ Category

Upgrading SynergyKM to use 1.3.1

Monday, August 18th, 2008

I recently discovered SynergyKM which is a Mac OS X (works on Leopard) frontend for Synergy. All SynergyKM does is write out the config file for Synergy and manipulate the daemon. I noticed that SynergyKM is bundled with Synergy 1.3.0. There was a specific OS X bug in 1.3.0 that was fixed in 1.3.1. Here is how to upgrade the SynergyKM to version 1.3.1.
(more…)

Synergy Client Mac OS X Leopard

Saturday, November 24th, 2007

I recently got a new 24 inch iMac and needed a way to share my keyboard and mouse between Mac OS X 10.5 (Leopard) and Windows XP. Synergy does exactly that. Setting up a Synergy server under XP was simple, but the Mac client was a little more tricky.

Apparently there is a bug in Synergy 1.3.1 with OS X 10.5. When you try to start Synergy (client or server) as a daemon under OS X 10.5 it crashes. Below is a workaround which starts the Synergy client at boot in the foreground (-f) through launchd. Put this file in /Library/LaunchAgents/net.sourceforge.synergy2.plist (needs root privileges):


<?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>net.sourceforge.synergy2</string>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/synergyc</string>
        <string>-f</string>
        <string>-1</string>
        <string>--name</string>
        <string>imaczomg</string>
        <string>--debug</string>
        <string>WARNING</string>
        <string>deathstar</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

Here is what the argument string will look like:
/usr/local/bin/synergyc -f -1 –name imaczomg –debug WARNING deathstar

/usr/local/bin/synergyc - the path to your synergy client binary
-f - run in the foregorund
-1 - do not restart on error (launchd will do this for us)
imaczomg - the name (or IP) of your mac client
–debug WARNING - won’t log every time the mouse moves off the screen
deathstar - the name (or IP) of your server

If you are running a Synergy server on OS X 10.5 please look here.