Skip to content

Instantly share code, notes, and snippets.

@dev-gwang
Forked from afrontend/.synergy.conf
Created October 29, 2019 02:41
Show Gist options
  • Select an option

  • Save dev-gwang/423ea0bc95e84fb5b88edd2304e0967a to your computer and use it in GitHub Desktop.

Select an option

Save dev-gwang/423ea0bc95e84fb5b88edd2304e0967a 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment