You really got to love synergy, since it is the only App I know of that can share a mouse and keyboard across multiple boxes/Operating systems
FYI, this tutorial assumes that you know basic linux/windows and how to download the software/install
In this quick but really easy tutorial, we will show you how to setup synergy for 2 boxes side by side. One box is Windows, The other box is linux. The Windows box will be the one that is controlling the mouse.
You need at minimum 2 section statements, one for the screens section and the other for the links section
In the screens section you will put the hostname of the boxes that will be involved in synergy.(if you do not have the hostname in DNS, then input the hostname in (/etc/hosts for linux and C:\WINDOWS\system32\drivers\etc\host in windows)
Now that you have the hostnames in now it is time to configure the links section. In this section all you have to do is put in the hostnames of the box and what direction to the next box they are in... example.. chewy is left of chewbaca and chewbaca is right of chewy.
Create this file if it does not exist.. /etc/synergy.conf
section: screens chewy: chewbaca:
end
section: links
chewy: left = chewbaca
chewbaca: right = chewy
end
Now, I personally boot into multiuser mode, so I will describe the steps associated with that. 1st edit your $HOME/.xinitrc.. Mine looks like this
exec gnome-session & synergyc -f chewy
Now you can substitute gnome-session with startkde or what ever window manager you prefer.
The line "synergyc -f chewy", this is where the connection to the box that is in charge of the mouse and keyboard.
Now you can run startx and it will try to connect to the synergy server in charge of the mouse and keyboard. Now we are off to the windows section.
Now there are 3 simple steps in Windows.
Run synergy, click the "Share this computer and mouse(server) button
Click configure, then add the screens to there appropriate positions like you did in linux.
now after you applied the settings click on start of the main synergy window