User Tools

Site Tools


public:synergy:share_single_mouse-keyboard_between_multiple_computers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:synergy:share_single_mouse-keyboard_between_multiple_computers [2009/08/31 12:32] – created kohoferpublic:synergy:share_single_mouse-keyboard_between_multiple_computers [2019/01/16 10:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Synergy ====== ====== Synergy ======
  
 +[[http://en.wikipedia.org/wiki/Special%3ASearch/Synergy|Synergy]] allows sharing a single mouse/keyboard with multiple
 +computers.
 +
 +===== Requirements =====
 +
 +Install package **synergy** on all Computers sharing single mouse/keyboard.
 +
 +===== Server =====
 +
 +==== Server Config ====
 +
 +Config file: /etc/synergy.conf
 +
 +Notes: pc1 is server; pc2 is client
 +
 +<code>
 +section: screens
 + pc1:
 + pc2:
 +end
 +section: aliases
 + pc1:
 +        pc1.inf.unibz.it
 + pc2:
 +        pc2.inf.unibz.it
 +end
 +
 +section: links
 + pc1:
 +        down = pc2
 +end
 +
 +section: options
 + # Switches to the screen pc1 when the left arrow key is pressed in combination with the Alt key.
 + keystroke(alt+left) = switchToScreen(pc1)
 + # Switches to the screen pc2 when the right arrow key is pressed in combination with the Alt key.
 + keystroke(alt+right) = switchToScreen(pc2)
 +end
 +
 +</code>
 +
 +==== Start server ====
 +
 +  synergys -a pc1.inf.unibz.it
 +
 +For autostart place the commandline in a file: start-synergys and
 +in directory /etc/init.d/start-synergys
 +
 +<code>
 +######### start-synergys ########
 +#!/bin/sh
 +
 +synergys -a pc1.inf.unibz.it
 +######### start-synergys ########
 +</code>
 +
 +==== Client ====
 +
 +==== Start Client ====
 +
 +synergyc -n pc2 pc1.inf.unibz.it
 +
 +
 +==== Autostart Client ====
 +
 +=== Window Manager GDM ===
 +
 +Edit this files
 +<code>
 +1 /etc/gdm/Init/Default
 +2 /etc/gdm/PostLogin/Default
 +3 /etc/gdm/Xsession
 +</code> and add the following text:
 +
 +== File 1 ==
 +<code>
 +##########################################
 +/usr/bin/killall synergyc
 +sleep 1
 +/usr/bin/synergyc -n pc1 pc1.inf.unibz.it
 +#########################################
 +</code>
 +
 +== File 2 ==
 +<code>
 +#########################
 +/usr/bin/killall synergyc
 +sleep 1
 +#########################
 +</code>
 +
 +== File 3 ==
 +<code>
 +##########################################
 +/usr/bin/killall synergyc
 +sleep 1
 +/usr/bin/synergyc -n pc1 pc1.inf.unibz.it
 +#########################################
 +</code>
 +
 +For detailed infos see: [[http://synergy2.sourceforge.net/autostart.html]]
 +
 +===== Links =====
 +
 +[[http://synergy2.sourceforge.net/index.html]]
  
/data/www/wiki.inf.unibz.it/data/attic/public/synergy/share_single_mouse-keyboard_between_multiple_computers.1251714744.txt.gz · Last modified: 2019/01/16 10:03 (external edit)