Powelly, on Nov 13 2007, 12:06, said:
The pc bit is easy and already sorted but Im a bit stuck on the mac, ive had a look at the instuctions
here but Im not getting anywhere when I try to follow the steps.
Scroll to
1. Create a System Level Startup Item on that page.
Open up Terminal. According to
http://www.macdevcenter.com/pub/a/mac/2001...rminal_one.html "Mac OS X’s Terminal application... sits in your Utilities folder"
Follow the directions outlined i
1. Create a System Level Startup Itemi>
Using a text editor, such as nano -- or just use your favorite graphica
text editorb>, create a fil
Synergyi> in the folder specified. Copy the contents as described on the page.
All you need to do is edit the following line in that file
run=(/usr/local/bin/synergyc -n $(hostname -s) -1 -f synergy-server)
by replacin
synergy-serveri> with that of your own (it seems to be 192.168.2.5 from what you pasted). so:
run=(/usr/local/bin/synergyc -n $(hostname -s) -1 -f 192.168.2.5)
Most likely /Applications/Utilities/synergy-1.3.1/synergyc (from the line you pasted) is symlinked to /usr/local/bin/synergyc -- so don't worry about that.
Then just follow the rest of the Mac OS X directions (onl
1. Create a System Level Startup Itemi> is necessary) on the page. Including making the shell script executable (chmod +x Synergy -- or do it their way) and creating and modifying StartupParameters.plist. Then start Synergy via the script that you just created (./Synergy start -- or do it their way). When you reboot Synergy will start automatically.
Since Mac OS X doesn't use
init, like traditional Unices. It is more complicated to configure executables to run on start up. If you were using another operating system like Linux or BSD you wouldn't have to create two files to be able to start things automatically -- In fact, BSD systems don't even require you to create a new file. You can just append a line similar to that you pasted to /etc/rc.local (of course you'd want to drop root privileges --in some way-- afterwards.)