synergy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
synergy [2018/05/07 21:01] – [Installation] k2patel | synergy [2020/12/22 23:37] (current) – [Synergy] k2patel | ||
---|---|---|---|
Line 2: | Line 2: | ||
Project : [[https:// | Project : [[https:// | ||
+ | |||
+ | :!: Barrier / Opensource forked from 1.x after it became paid. | ||
+ | Project : [[https:// | ||
==== Installation ==== | ==== Installation ==== | ||
:!: Since version 2.x there is GUI for synergy available and there is no hm.sh script in source.\\ | :!: Since version 2.x there is GUI for synergy available and there is no hm.sh script in source.\\ | ||
I've chose to use 2.x since it uses openssl to secure connection. \\ | I've chose to use 2.x since it uses openssl to secure connection. \\ | ||
+ | |||
+ | === Linux === | ||
+ | Most linux distro has package available. | ||
+ | <code bash | fedora> | ||
+ | sudo dnf install synergy | ||
+ | </ | ||
=== Mac === | === Mac === | ||
Line 24: | Line 33: | ||
Once building binary is done, Copy files to **~/bin/** so it can be used used within path.\\ | Once building binary is done, Copy files to **~/bin/** so it can be used used within path.\\ | ||
- | One can also create the alias in bash profile. | + | |
- | <code bash | ~/ | + | |
- | alias synergy=' | + | |
- | </ | + | |
====Post Build==== | ====Post Build==== | ||
+ | === Server === | ||
+ | <code bash> | ||
+ | openssl req -x509 -nodes -days 3650 -subj /CN=Synergy -newkey rsa:4096 -keyout ~/ | ||
+ | openssl x509 -fingerprint -sha1 -noout -in ~/ | ||
+ | sed -e " | ||
+ | cat ~/ | ||
+ | </ | ||
+ | |||
+ | === Client === | ||
Copy server key hash to following file. | Copy server key hash to following file. | ||
<code text> | <code text> | ||
Line 35: | Line 50: | ||
</ | </ | ||
- | Next step for me is to explicitly build app for 10.11 using 10.12 SDK.\\ | + | ==== Starting server / client ==== |
- | As quick fix here is what i changed. | + | In my case server is on linux and client |
- | < | + | === Server === |
- | diff --git a/ | + | == Configuration == |
- | index f32ec483..7f41f489 100644 | + | < |
- | --- a/ | + | # sample synergy configuration file |
- | +++ b/ | + | # |
- | @@ -449,10 +449,10 @@ class InternalCommands: | + | # comments begin with the # character and continue to the end of |
- | if generator.cmakeName.find(' | + | # line. |
- | sdkDir = self.getMacSdkDir() | + | # +-------+ +--------+ +---------+ |
- | cmake_args += " | + | # |Laptop | |Desktop1| |iMac | |
- | - cmake_args += " | + | # | |
- | + cmake_args += " | + | # +-------+ +--------+ +---------+ |
- | + | ||
- | - cmake_args += " | + | |
- | - cmake_args += " | + | |
- | + | + | |
- | + | + | |
- | + | ||
- | # if not visual studio, use parent dir | + | |
- | | + | |
- | @@ -510,7 +510,7 @@ class InternalCommands: | + | |
- | shortForm = " | + | |
- | version = str(major) | + | |
- | + | ||
- | - qmake_cmd_string | + | |
- | + | + | |
- | + | ||
- | (qMajor, qMinor, qRev) = self.getQmakeVersion() | + | |
- | if qMajor <= 4: | + | |
- | </ | + | |
- | After above changes i was able to build and run synergy, there you go package build on 10.12 SDK for OS 10.11. | ||
+ | section: screens | ||
+ | # three hosts named: | ||
+ | # These are the nice names of the hosts to make it easy to write the config file | ||
+ | # The aliases section below contain the " | ||
+ | desk: | ||
+ | mac: | ||
+ | end | ||
- | ==== Autossh ==== | + | section: links |
+ | # iMac is to the right of Desktop1 | ||
+ | # Laptop is to the left of Desktop1 | ||
+ | desk: | ||
+ | right = mac | ||
+ | |||
+ | # Desktop1 is to the right of Laptop | ||
+ | mac: | ||
+ | left = desk | ||
+ | |||
+ | end | ||
+ | |||
+ | section: aliases | ||
+ | # The " | ||
+ | desk: | ||
+ | desk | ||
+ | |||
+ | mac: | ||
+ | mac | ||
+ | end | ||
+ | </ | ||
+ | Now server can be using following command. | ||
+ | <code bash | start server> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | === Client === | ||
+ | :?: One can also create the alias in bash profile | ||
+ | <code bash | start client> | ||
+ | ~/ | ||
+ | </ | ||
+ | ==== Autossh | ||
Opensource version of synergy does not support encryption any more.\\ | Opensource version of synergy does not support encryption any more.\\ |
synergy.1525726878.txt.gz · Last modified: 2020/08/10 02:29 (external edit)