I do most of my work on my Ubuntu laptop but i also have one mac mini next to it so i can debug websites in Safari or iPhone/iPad. In Snow Leopard i had setup synergy server on the laptop and the client on my mac, and i could easily use laptop’s mouse and keyboard to control both machines. Here is how you can setup this:
On Ubuntu machine (server):
# install synergy 1.3.6 (other versions seem to have all sort of bugs)
# if 1.3.6 is not in repo anymore, check the download page: http://synergy-foss.org/download/
sudo apt-get install synergy
Now create the server config file (you might need to adapt this according to your setup
section: screens
orion:
io.local:
ctrl = super
alt = alt
super = ctrl
end
section: options
mousebutton(7) = keystroke(control+right)
mousebutton(6) = keystroke(control+left)
end
section: links
orion:
left = io.local
io.local:
right = orion
Add this line to startup:
/usr/bin/synergys --config /home//synergy.conf -f
On Mac mini (client):
First of all, you’ll need to install brew, if you haven’t already (http://mxcl.github.com/homebrew/). For that check the installation at: https://github.com/mxcl/homebrew/wiki/installation
After you have brew installed open a terminal and install synergy:
brew install synergy
Now create a .profile file in your home directory and add:
if [ "$(pidof synergyc)" ]
then
echo "Synergy is already started";
else
/usr/local/bin/synergyc
fi