macOS: synergy free for macos 10.15 and ubuntu 20.x

macos:

brew install qt cmake openssh git
git clone https://github.com/symless/synergy-core.git
cd synergy-core
mkdir build
cd build
cmake .. -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk  -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
make
cd bin
cat < synergy.conf
section: screens
    linux:
    macbook:
end
section: links
    macbook:
        left  = linux
    linux:
        right = macbook
end
section: aliases
    macbook:
        ryan-mac
    linux:
        ryan-stx
end
section: options
end
EOF
#Security & Privacy > Accessibility add terminal app (iTerm) 
./synergys -a 192.168.1.1 -c synergy.conf -n macbook

linux:

apt install cmake gcc make g++ libx11-dev libxtst-dev libavahi-compat-libdnssd-dev qt5-default qttools5-dev libssl-dev git
git clone https://github.com/symless/synergy-core.git
cd synergy-core/
mkdir build
cd build/
cmake ..
make
./synergyc -n linux 192.168.1.1
(Visited 66 times, 1 visits today)

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *