854
edits
m (added languages and translate tags) |
(Marked this version for translation) |
||
Line 3: | Line 3: | ||
<translate> | <translate> | ||
{{note|This page it out of date. It should be updated to include barrier as well}} | {{note|This page it out of date. It should be updated to include barrier as well}} | ||
= Overview = | = Overview = <!--T:1--> | ||
[http://synergy-foss.org/ Synergy] is a brilliant piece of software that doesn't require much effort to get going, Though faultless autostart did require some configuration. | [http://synergy-foss.org/ Synergy] is a brilliant piece of software that doesn't require much effort to get going, Though faultless autostart did require some configuration. | ||
<br clear="all" /> | <br clear="all" /> | ||
==So What Does Synergy Do?== | ==So What Does Synergy Do?== <!--T:2--> | ||
<!--T:3--> | |||
I can now use my favourite keyboard & mouse to operate two computers (synergy will do plenty more computers if you have them) one at a time of course... | I can now use my favourite keyboard & mouse to operate two computers (synergy will do plenty more computers if you have them) one at a time of course... | ||
<!--T:4--> | |||
With two machines set to load synergy when they boot it doesn't matter what order the server or the client is booted in. | With two machines set to load synergy when they boot it doesn't matter what order the server or the client is booted in. | ||
Synergy uses next to no system resources and even shares the clipboard as well! | Synergy uses next to no system resources and even shares the clipboard as well! | ||
<br clear="all" /> | <br clear="all" /> | ||
==Bug Awareness== | ==Bug Awareness== <!--T:5--> | ||
<!--T:6--> | |||
Running Openbox, I can't make use of synergy until OB has loaded. But some Linux display managers you can use it before hand. | Running Openbox, I can't make use of synergy until OB has loaded. But some Linux display managers you can use it before hand. | ||
Line 23: | Line 26: | ||
If necessary, the command can be placed in ''~/.xinitrc'' so the problem never appears. | If necessary, the command can be placed in ''~/.xinitrc'' so the problem never appears. | ||
<br clear="all" /> | <br clear="all" /> | ||
==The Synergy Server:== | ==The Synergy Server:== <!--T:7--> | ||
===Installation:=== | ===Installation:=== <!--T:8--> | ||
<!--T:9--> | |||
Rather than me duplicating it, the Archwiki has a great page on [https://wiki.archlinux.org/index.php/Synergy Synergy installation]. | Rather than me duplicating it, the Archwiki has a great page on [https://wiki.archlinux.org/index.php/Synergy Synergy installation]. | ||
<br clear="all" /> | <br clear="all" /> | ||
===Configuration:=== | ===Configuration:=== <!--T:10--> | ||
<!--T:11--> | |||
My '''/etc/hosts''' file follows which should speak for itself: | My '''/etc/hosts''' file follows which should speak for itself: | ||
192.168.1.3 rightpc.localdomain rightpc ## the HP server | <!--T:12--> | ||
192.168.1.3 rightpc.localdomain rightpc ## the HP server | |||
192.168.1.6 leftpc.localdomain leftpc ## the iMac client | 192.168.1.6 leftpc.localdomain leftpc ## the iMac client | ||
<br clear="all" /> | <br clear="all" /> | ||
===Synergy.conf=== | ===Synergy.conf=== <!--T:13--> | ||
<!--T:14--> | |||
Here is a great start (a complete solution in my case) for a very smoothly running pair of machines (easily edited for more though), via one mouse & keyboard being connected to the synergys server - this '''synergy.conf''' is the server configuration file which does the job faultlessly for me: | Here is a great start (a complete solution in my case) for a very smoothly running pair of machines (easily edited for more though), via one mouse & keyboard being connected to the synergys server - this '''synergy.conf''' is the server configuration file which does the job faultlessly for me: | ||
#synergy.conf | <!--T:15--> | ||
#synergy.conf | |||
section: screens | section: screens | ||
Line 87: | Line 95: | ||
<br clear="all" /> | <br clear="all" /> | ||
==The Synergy Client(s):== | ==The Synergy Client(s):== <!--T:16--> | ||
<!--T:17--> | |||
Install synergy | Install synergy | ||
sudo pacman -S synergy | <!--T:18--> | ||
sudo pacman -S synergy | |||
<br clear="all" /> | <br clear="all" /> | ||
===Client /etc/hosts:=== | ===Client /etc/hosts:=== <!--T:19--> | ||
<!--T:20--> | |||
Edit the '''/etc/hosts''' file, mine is below for those that do need to reference, & if you do make sure you compare it with the server side one posted earlier on this page: | Edit the '''/etc/hosts''' file, mine is below for those that do need to reference, & if you do make sure you compare it with the server side one posted earlier on this page: | ||
192.168.1.6 leftpc.localdomain leftpc ## the iMac client | <!--T:21--> | ||
192.168.1.6 leftpc.localdomain leftpc ## the iMac client | |||
192.168.1.3 rightpc.localdomain rightpc ## the HP server [/code] | 192.168.1.3 rightpc.localdomain rightpc ## the HP server [/code] | ||
<br clear="all" /> | <br clear="all" /> | ||
===~/.xinitrc=== | ===~/.xinitrc=== <!--T:22--> | ||
<!--T:23--> | |||
Add the following to the '''~/.xinitrc''' file (guess how I copied it?): | Add the following to the '''~/.xinitrc''' file (guess how I copied it?): | ||
synergyc -d ERROR rightpc | <!--T:24--> | ||
synergyc -d ERROR rightpc | |||
<br clear="all" /> | <br clear="all" /> | ||
==Conclusion:== | ==Conclusion:== <!--T:25--> | ||
<!--T:26--> | |||
The server is where the hardest work is, beyond that it comes down to getting your auto-start sorted so that it just works no matter which machine(s) come on in what order. For me the above works in that regard perfectly once Openbox has loaded. | The server is where the hardest work is, beyond that it comes down to getting your auto-start sorted so that it just works no matter which machine(s) come on in what order. For me the above works in that regard perfectly once Openbox has loaded. | ||
</translate> | </translate> | ||
[[Category:Contents Page{{#translation:}}]] | [[Category:Contents Page{{#translation:}}]] |