Google
 

The Ultimate Guide for switching from a PC to a Mac
(Part 2 - coming soon)

Tuesday, October 16, 2007

Sharing a keyboard and mouse on two computers!

I think this is one of the most awesome and useful tip ever. It is all about a free open-source application called Synergy. What it does is it lets you share your keyboard and mouse between two or more computers. So when you get to an edge of a screen, it automatically switches to the edge of your other computer screen. The best is it works with all Mac, Windows and Linux computers, as long as they are networked. So even if you have a Mac and a PC, you can share your keyboard and mouse. It also offers a lot more than just keyboard and mouse sharing, it also shares the clipboard so you can copy on one computer and paste on the other one. I have to say, it is not easy to install on the Mac because there is no graphical interface. I won't rewrite all the installation steps, because Synergy has them all on their website, but I will add some info where I had problems. This is a link to the developer's website where you can find the downloads and the installation instructions.

Mac instructions:

1. The download will leave you with a folder. You can copy it anywhere on your system. I copied it to the applications folder. You also have to copy it to every other computer that will be sharing the keyboard and mouse.
2. You will have to edit the synergy.conf file with all the info about your computers. First, open synergy.conf in TextEdit. This is what it looks like:


3. In the "section: screens", replace "moe", "larry" and "curly" with the name of your computers. These names can be found in System Preferences, Sharing. Right under the computer name text box, it is written the name of your computer in this format: "computername.local".
4. Replace "moe", "larry" and "curly" all through the text file. In my experience, you don't need the aliases section, I just deleted it.
5. Make sure the right, left, up or down is assigned correctly in the links section. This will decide whether you change monitor on the left, right, up or down edge of your monitor.
6. Once this is all done, you are ready to open everything.
7. On the server (the main computer will be the server), open Terminal (located in Applications/Utilities).
8. Once in Terminal, drag the synergys program from the Finder to the Terminal window. It should write something like this, it will vary depending on the path:

"/Applications/synergy-1.3.1/synergys"

9. Add " -f --config " after so that it looks like this:

"/Applications/synergy-1.3.1/synergys -f --config"

10. Drag synergy.conf from the Finder to Terminal. It should now look like this:

"/Applications/synergy-1.3.1/synergys -f --config /Applications/synergy-1.3.1/synergy.conf"

11. Hit "Enter". It should start running. You are now ready to launch the client (the secondary computer).
12. On the client, with Terminal open, drag the synergyc program to the Terminal window. It should look something like this:

"/Applications/synergy-1.3.1/synergyc"

13. Add "-f server-host-name", replacing "server-host-name" with the name of the server computer.
14. Hit "Enter".
15. That's it. The connection should be established and you should be able to move your mouse (the server mouse) from one computer to the other. Copy/Paste should also work.

There is a lot more info on the developer's website about how not to have the Terminal window running all the time and how to install it in a multi-OS configuration.

16 Comments:

Blogger Bob Woods said...

This comment has been removed by the author.

October 15, 2007 at 8:23 PM  
Blogger Bob Woods said...

teleport is a good solution for two Macs
http://abyssoft.com/software/teleport/

October 15, 2007 at 8:25 PM  
Blogger Frederic Tremblay said...

Woody: Teleport looks very interesting, but from what I understand it only works with multiple Macs, not multiple different OS. I think both teleport and synergy are great.

October 15, 2007 at 8:31 PM  
Blogger Unknown said...

Wow, that looks amazing! Would save me a lot of time since I use my MacBook and my PC keyboard on the same space! Awesome. I gonna check it later, looks like a bit hard to set.
Thanx!

October 15, 2007 at 9:27 PM  
Blogger Unknown said...

btw, why is the site different? The ads are on the other side now :D

October 15, 2007 at 9:58 PM  
Blogger Unknown said...

Synergy has been making life easier for me for the past two years. Don't let the terminal scare you and the setup really isn't very bad. One helpful hint is to set the corner option if your corner are hotspots for expose, etc. I use the following in the conf . . .

section: options
switchCorners = all
switchCornerSize = 125

October 16, 2007 at 12:30 AM  
Blogger Unknown said...

I just have to say thanks.
No need for any KVM switches now, and it works with my wireless mice, great tip!

October 16, 2007 at 12:42 AM  
Anonymous Anonymous said...

That's great man!

Once I will bring in my "new" powermac, that will become my favourite app!!

October 16, 2007 at 5:05 AM  
Blogger Danny W said...

Synergy with a gui: http://quicksynergy.sourceforge.net/

October 16, 2007 at 6:01 AM  
Blogger nanooe said...

Fantastic. Best Mac tip i've seen. Thanks a million

October 16, 2007 at 9:16 AM  
Blogger Simone said...

One of the best tip ever writed here!
But, be aware because there's another app called SYNERGY and IS NOT for this purpose. It let you control iTunes from the menu bar ;)

October 16, 2007 at 9:39 AM  
Blogger Unknown said...

It doesn't work for me :(

This is the message I receive:

INFO: Synergy server 1.3.1 on Darwin 8.10.3 Darwin Kernel Version 8.10.3: Wed Jun 27 23:29:36 PDT 2007; root:xnu-792.23.3~1/RELEASE_I386 i386
FATAL: unknown screen name `Mac-Dantux.local'

October 16, 2007 at 2:48 PM  
Blogger Mark Levy said...

Never heard of QuickSynergy.. Interesting.. for a Synergy GUI on OSX I am currently using SynergyKM and it works great: http://software.landryhetu.com/synergy/

Maybe I'll check out QuickSynergy..

October 17, 2007 at 8:57 AM  
Blogger Unknown said...

I have a Mac G4 desktop running OSX 10.4.10 and a Windows box running 2000. I use one monitor and have a KVM switch - however the switch only has ports of the monitor, not the keyboard and mouse. Is there a program that works between a Mac and a PC with only one monitor?

Thanks for any info!

October 17, 2007 at 12:09 PM  
Blogger Unknown said...

Just to reinforce danny, there's a mac version WITH an interface, and easy to install and use called "quicksynergy". Recomended!

October 18, 2007 at 12:12 AM  
Blogger Unknown said...

Check out http://software.landryhetu.com/synergy/ This has more features than QuickSynergy and also was the only version that I got to work using my iMac as the server.

It installs as a System Preferrence. I also (by trial and error) learned to leave the .local off of the Mac screename.

Making the Mac the server provided for use of the Command (Apple) key.

Synergy really makes life easier for me and now switching between my iMac and my Windows XP PC is as easy as it should have been all along!

October 18, 2007 at 5:32 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Brain Toniq. Clear the head fog
Pay Per Click Ads by pay per click advertising by Kontera