Smallpoke's Blog

hard to say…

Share keyboard & mouse between 2 computers

Sometimes we need to work with two computers in the same time and here is a great solution: Synergy . It works on client/server program. Each computer uses its own OS and own monitor. The advantage is in one keyboard & mouse. In my case also clipboard is shared (I use Fedora8 x Fedora9).

Installation:

Download and install Synergy (you can find it also in your repository in your favorite distribution). At first create/modify your config file ( ‘/etc/synergy.conf’ ). Then start server side (in our example on computer eg.: ‘/usr/bin/synergys’ ) and then start client (on notebook eg.: ‘/usr/bin/synergyc 192.168.1.53’ ). Make sure, that you don’t have blocked communication at port 24800 (which is default port for synergy) on both machines – it means, that you should have exception in your firewall for port 24800. If you don’t provide path to config file, the program try to load ‘~/.synergy.conf’ or ‘/etc/synergy.conf’ .

Below are examples of ‘/etc/synergy.conf’ (one for server, one for client):

Client (notebook is on left side):

section: screens
  computer:
        halfDuplexCapsLock = true
        halfDuplexNumLock = true
  notebook:
        meta = alt
end

section: aliases
  computer:
        192.168.1.33
  notebook:
        192.168.1.53
end

section: links
        computer:
                right = notebook
        notebook:
                left = computer
end

Server (computer is on right side):

section: screens
  notebook:
        halfDuplexCapsLock = true
        halfDuplexNumLock = true
  computer:
        meta = alt
end

section: aliases
  notebook:
        192.168.1.53
  computer:
        192.168.1.33
end

section: links
        computer:
                left = notebook
        notebook:
                right = computer
end

Advertisements

1 January, 2009 - Posted by | Linux | ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: