Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

The reason I wrote these notes is that I have some issues with the default readme provided with Synergy. First off, it instructs you to copy Synergy right into the /usr/bin directory. That's for the OS to manage, not for user based installs. Second, it instructs the user to enable root which brings up security concerns. Last the instructions use chmod 777 which leaves things even wider open.

Setup of Command Client

Setup of /usr/local/bin

Traditionally in Unix, the /usr/local/bin directory is,

  • Reserved for binary applications that are manually installed and evoked from the command line
  • Available from any location because it is in the system path
  • Will not be touched by the core Operating System during upgrades

Though this is not common on Mac OS X, it is still Unix based. If you take a look at the default system path, even if the /usr/local/bin directory is not present, it is still in the path,

echo $PATH%
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin% # Results will vary depending on what is installed on your system.

The /usr/local directory will already exists on you system. However, depending on what is installed the bin directory probably does not exist yet so we will create it,

cd /usr/local
sudo mkdir bin

Next, we copy the synergy software into the bin directory.

Manually Install Synergy

Download and unzip synergy.

Next, change to the unzipped folder and manually install Synergy,

cd ~/Downloads/synergy-1.4.4-MacOSX106-Universal # Sample location
sudo chown root:wheel *
sudo chmod g+xr synergyc synergys
sudo chmod o+xr synergyc synergys
udo chmod g+rw synergy.conf.example
sudo chmod o+rw synergy.conf.example
sudo cp -R synergy* /usr/local/bin/

Suite of GUI to Run Services

References

Purpose of /usr/bin/local - http://superuser.com/questions/192281/purpose-of-usr-local-bin-on-linux-system

Mac OS X GUI Setup Guide - http://www.dusanvuckovic.com/tutorials-2/interoperability/multiple-computers-with-one-keyboard-and-mouse-synergy/h

  • No labels