Skip to content

Instantly share code, notes, and snippets.

@afrontend
Last active February 6, 2021 05:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save afrontend/0285ff45d9bbe8816e3cc04fcb78045b to your computer and use it in GitHub Desktop.
Save afrontend/0285ff45d9bbe8816e3cc04fcb78045b to your computer and use it in GitHub Desktop.
Synergy 컴파일 하기 위한 스크립트 (v1.8.8) 그리고 synergy 설정 파일, https://agvim.wordpress.com/2018/02/24/synergy/
# sample synergy configuration file
#
# comments begin with the # character and continue to the end of
# line. comments may appear anywhere the syntax permits.
section: screens
# three hosts named: moe, larry, and curly
moe:
larry:
curly:
end
section: links
# larry is to the left of moe and curly is to the right of moe
moe:
left = larry
right = larry
larry:
left = moe
right = moe
#curly:
#left = moe
end
section: aliases
# curly is also known as shemp
curly:
shemp
end
section: options
keystroke(Super+`) = switchInDirection(right)
end
#!/usr/bin/env bash
# Compile synergy 1.8.8 version
command -v wget >/dev/null 2>&1 || { echo >&2 "I require wget but it's not installed. Aborting."; exit 1; }
command -v unzip >/dev/null 2>&1 || { echo >&2 "I require unzip but it's not installed. Aborting."; exit 1; }
command -v cmake >/dev/null 2>&1 || { echo >&2 "I require cmake but it's not installed. Aborting."; exit 1; }
command -v make >/dev/null 2>&1 || { echo >&2 "I require make but it's not installed. Aborting."; exit 1; }
wget https://github.com/symless/synergy-core/archive/v1.8.8-stable.zip
unzip v1.8.8-stable.zip
cd synergy-core-1.8.8-stable/ext
unzip gmock-1.6.0.zip -d gmock-1.6.0
unzip gtest-1.6.0.zip -d gtest-1.6.0
cd ..
mkdir build
cd build
cmake ..
make
ls ../bin/synergyc ../bin/synergys
@afrontend
Copy link
Author

afrontend commented Feb 23, 2018

실행하는 방법

#server (ubuntu)
synergys -f -n moe

#client (mac)
synergyc -n larry 192.168.0.3

Or

#server (ubuntu)
synergy-core --server -f -n moe

#client (mac)
synergy-core --client -n larry 192.168.0.3

관련된 블로그 글

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment