Synergy: How to Share a Mouse / Keyboard Between Multiple PCs

Synergy allows you to share a mouse / keyboard between multiple computers, as long as each one has its own monitor.

And what would I want to use this for? Well, this is where things get good: Let's assume these 2 typical cases: a) you, your laptop and your sofa. There, far ... your television with its respective Media Center. Using a remote can be an option, albeit a bit awkward for some. Ha! Now you can use your computer keyboard and mouse to control your Media Center without leaving the couch !; b) in your sad and lonely job, there is only you and your compus for video editing, design, programming, etc. Doesn't it make you sick to have so many mice / keyboards hanging around?

The idea is simple, a computer acts as a server and shares the keyboard and mouse with the rest of the computers. In this way we avoid having as many keyboards as PCs we can have. The wonderful thing about this program is that it is not necessary to acquire any special hardware, only to have an ethernet connection. Synergy is cross-platform so it runs best on MacOSX, Windows, and Linux.

Synergy Key Features

  • Allows you to share the mouse / keyboard between different computers
  • Only requires an ethernet connection
  • Allows copy / paste between different machines
  • No need to use mouse / keyboard switches
  • Multiple monitors can be used on a single computer
  • Allows you to lock the mouse to a single screen

Installation

En Ubuntu and derivatives, simply enter the following in a terminal:

sudo apt-get install synergy

In Arch and derivatives:

sudo pacman -S synergy

On Fedora and derivatives:

yum install synergy

Synergy comes with a user interface that includes a very easy-to-use setup wizard. Run it from Applications> Accessories> Synergy. Then you can run the wizard by going to File> Configuration Wizard.

Once the wizard is open, you have to select whether it is a client (the computer that does NOT have the keyboard / mouse) or a server (the computer that has the keyboard / mouse):

Synergy Configuration Wizard

Finally, the connection must be encrypted so that passwords are not stolen, etc. in case of intercepting the data transmitted over the network.

Synergy Configuration Wizard

Server configuration

Synergy Server Configuration

Click the button Configure Server ... in order to configure some details of it.

In the Screens and Links Enter the names of the computers that will function as clients in the corresponding squares. The idea of ​​up, down, right, left can be a bit confusing at first, but it's actually very simple: when the mouse exceeds the chosen margin, it will activate on that other computer. For example, if I put my notebook on the right, when I am on the server computer and move the mouse to the right edge, the mouse will activate on my notebook.

Synergy Configuration Wizard

To discover the name of the computers that you want to function as clients, note that on the main Synergy screen, when selecting the Client option, the screen name of that computer will be displayed.

Clients Configuration

Once the server is activated, go to the machine that will function as a client, open Synergy, select the Client option and enter the IP address of the server.

Finally, click on Run. Ready. Everything should work perfectly.

Synergy Installation Wizard

I want the magic to run when my system starts

Go to System> Preferences> Applications at the beginning and enter the following depending on whether it is the server or the client.

employee:

synergys --config ~ / .quicksynergy / synergy.conf

Client:

synergys -f SERVER_IP

… Where IP_SERVIDOR is the IP of your server.

Note: if you were interested in this post, you will probably find one that I wrote some time ago about a similar modality called «multi-station»That allows multiple users (with their respective mice, keyboards and monitors) to use a single PC (thereby saving space and electrical energy and making the most of the potential of today's powerful PCs, allowing, as if it were all little, reduce the "carbon footprint").

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Let's use linux said

    Yes, but note that each machine is used in a different way, depending on whether you want it to function as a client or as a server. Cheers!! Paul

  2.   bachitux said

    Excellent soft. In my work I have tested it a week ago and it is essential for those of us who have many connected equipment to monitor, goodbye to KVM switches ...

  3.   Let's use Linux said

    So is my dear Bachi! A Mr. Software ... and above all free and multi-platform!
    You can not ask for more.
    Hug! Paul.

  4.   JvC said

    very interesting this program =)

  5.   rodrigoart said

    It is necessary to install it on each machine, right?

  6.   exteban said

    I would like to see in linux as a server to see how the possibility of copying files between the client and the server is enabled and also:

    Multiple monitors can be used on a single computer
    Allows you to lock the mouse to a single screen

    regards

  7.   Let's use Linux said

    There are too many questions put together. To "lock" the mouse to a single screen (if I understand that correctly that means, go back to "normal" and stop sharing the mouse), you just have to "disconnect" from Synergy. Too easy.
    Regarding the use of multiple monitors on a single computer, of course you can but this program is not going to help you for that.
    Finally, to copy files between «client» and «server», this program is not useful either (which is designed to share mouse and / or keyboard only). In that case, you have to use SAMBA or you can also copy the files via SSH.
    A hug!! Paul.

  8.   eliotime3000 said

    Excellent. I did not know that.

  9.   geronimo said

    Delujo, troll my bro a bit ,,,,

    1.    let's use linux said

      Haha!

  10.   Rodolfo said

    Good tutorial, excellent contribution !.
    Greetings.

    1.    let's use linux said

      Thanks Rodolfo! A big hug! Paul.

  11.   Dr Byte said

    Wwwoooo I like the idea, because although it is something out of the ordinary but it can be useful on occasion, especially because it is multiplatform-
    Good post.

    1.    let's use linux said

      Yes, the fact that it is cross-platform helps a lot. In addition, multiple machines can be connected.

  12.   Mika_Seido said

    Thanks for the tip, right now I was needing something like this. I can't believe such a simple and useful program exists.

    1.    let's use linux said

      Well yes ... it does exist and it works like a charm. 🙂

  13.   BGBgus said

    Fantastic post, I find it very useful.

    It goes to bookmarks!

    1.    let's use linux said

      Thank you! I'm glad it's helpful!
      Hug! Paul.

  14.   RAW-Basic said

    Great! .. ..my first post in this community was about this same tool .. ..but used more handily .. ..I share it for those who have not seen it .. and as a complement to the article ..

    https://blog.desdelinux.net/synergy-una-herramienta-muy-util/

    1.    eliotime3000 said

      Let's see if I can find a version for Win ... I already found it.

      Good tutorial.

  15.   Joaquin said

    How curious, it would never have occurred to me.

  16.   Diego Garcia said

    How can I make them start when I start windows? both client and server?

  17.   Manuel said

    I have installed Synergy on the client and server, apparently without problem. The problem appears when I try to type with the keyboard of the server computer on the client computer, that when I press the space bar the letter "s" appears.
    I have not found that any other key is deconfigured, and each computer with its keyboard works fine, but that happens to me when I type with the server on the client, so for the purpose I cannot use it ...
    Someone can help me?
    Thank you!

    1.    let's use linux said

      Hello! First of all, sorry for the delay in answering.
      I suggest you use our Ask service Desde Linux (http://ask.desdelinux.net) to carry out this type of consultation. That way you can get the help of the entire community.
      A hug! Paul

  18.   bitacid said

    How many machines can be connected at the same time?