Last active
March 8, 2021 19:29
-
-
Save flowolf/b5af11c2dfbf401550fd4b4f2000bcec to your computer and use it in GitHub Desktop.
Revisions
-
flowolf revised this gist
Mar 8, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $ ssh-copy-id -o PubKeyAuthentication=no -i .ssh/id_rsa.pub YOURMAC ``` ## Running Synergy does not encrypt trafic in default setup. Therefore we tunnel the traffic through ssh. start the client on the mac. -
flowolf revised this gist
Mar 21, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,7 +23,7 @@ section: links left = linux end section: options switchDelay = 300 keystroke(control+super+right) = switchInDirection(right) # Switch screens on keypress keystroke(control+super+left) = switchInDirection(left) end -
flowolf revised this gist
Mar 20, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # Synergy between Linux and Mac Os X ## sharing a mouse and keyboard between two computers A quick writeup for a working setup (Linux is Server, Mac is Client) -
flowolf revised this gist
Mar 20, 2020 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,14 +31,17 @@ end ## install for Mac Os X needs homebrew: ``` $ brew cask install synergy ``` In the system preferences, allow SSH (found under sharing) ## install on Linux ``` $ apt install synergy $ ssh-copy-id -o PubKeyAuthentication=no -i .ssh/id_rsa.pub YOURMAC ``` ## Running Synergy does not encrypt trafic in default setup. Therefor we tunnel the trafic through ssh. -
flowolf created this gist
Mar 20, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,56 @@ # Synergy between Linux and Mac Os X A quick writeup for a working setup (Linux is Server, Mac is Client) synergy.conf: ``` section: screens linux: mac: end section: aliases mac: mac.local linux: itchy # linux hostname end section: links linux: right = mac mac: left = linux end section: options switchDelay = 200 keystroke(control+super+right) = switchInDirection(right) # Switch screens on keypress keystroke(control+super+left) = switchInDirection(left) end ``` ## install for Mac Os X needs homebrew: $ brew cask install synergy In the system preferences, allow SSH (found under sharing) ## install on Linux $ apt install synergy $ ssh-copy-id -o PubKeyAuthentication=no -i .ssh/id_rsa.pub YOURMAC ## Running Synergy does not encrypt trafic in default setup. Therefor we tunnel the trafic through ssh. start the client on the mac. run this script on Linux to start the server: ``` #!/bin/bash PORT=24800 ssh -f -R $PORT:127.0.0.1:24800 YOURMAC sleep 10 sleep 1 synergys --config ~/.config/synergy.conf -f -n YOUR_SERVER -d DEBUG --restart ```