[vc_row][vc_column][vc_column_text]Synergy is free and open source software for sharing one mouse and keyboard between multiple computers. Works on Windows, Mac OS X and Linux.
[/vc_column_text][vc_tour][vc_tab title=”Setup on PC” tab_id=”1402946652-1-90″][vc_column_text]We will need to download the Windows server software from: http://synergy-project.org/.
As my PC is X64 WINDOWS, I will go with synergy-1.5.0-r2278-Windows-x64.
We will navigate from the installation process:
This software is designed very well. The configuration is done by drag and place. The default is our PC’s name, which is ‘Monster’ for my PC. Add a pcDuino client as following:
Click ‘Unnamed’, and it will pop up a dialog to enter the client name:
After everything is done, click ‘OK’ to then click ‘Start’ to finish the configuration of the server.
[/vc_column_text][/vc_tab][vc_tab title=”Configure the pcDuino client” tab_id=”1402946652-2-50″][vc_column_text]We need to first install synergy:
$sudo apt-get update $sudo apt-get install quicksynergy
Then we enter:
$synergyc –daemon –name pcduino –restart 192.168.1.100
-daemon means that synergy client will run in the background. pcduino is the name of the client. The IP address follows -restart is the IP address of the server, which is our laptop. After we run this command, the synergy server will prompt on the PC side.
Now if we move the mouse leftward, it can move easily into pcDuino! It will even awake a sleep pcDuino. In the following, we are going to make it into a service so that we don’t need to type every time it reboots:
$sudo vim /etc/init.d/synergy
Add the following:
#! bin/sh # /etc/init.d/synergy case "$1" in start) su ubuntu -c 'synergyc --daemon --name pcduino --restart 192.168.1.100' echo "Starting synergy client..." ;; stop) pkill synergyc echo "Attempting to kill synergy client" ;; *) echo "Usage: /etc/init.d/synergy (start/stop)" exit 1 ;; esac exit 0
After that we do:
$ sudo update-rc.d synergy defaults
Now we can use the following commands to start and stop synergy:
$/etc/init.d/synergy start $/etc/init.d/synergy stop $service synergy start $service synergy stop
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.