사용자 도구

사이트 도구


synergy

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
synergy [2015/10/11 16:44]
kwon37xi
synergy [2020/07/08 10:49] (현재)
kwon37xi [Synergy]
줄 1: 줄 1:
 ====== Synergy ====== ====== Synergy ======
-  * http://synergy-foss.org/+  * http://synergy-project.org/ 
 +  * https://github.com/synergy/synergy 
 +  * [[barrier|Barrier]] 오픈소스버전 Fork
   * 다중 PC 사이에서 마우스와 키보드를 공유한다.   * 다중 PC 사이에서 마우스와 키보드를 공유한다.
   * [[https://help.ubuntu.com/community/SynergyHowto|Ubuntu SynergyHowto]]   * [[https://help.ubuntu.com/community/SynergyHowto|Ubuntu SynergyHowto]]
줄 10: 줄 12:
   * **Edit -> Settings -> Process Mode** 현재 무슨이유에서인지 Desktop 으로 지정해야만 작동한다. Ubuntu Server -> Windows Client 일 때.   * **Edit -> Settings -> Process Mode** 현재 무슨이유에서인지 Desktop 으로 지정해야만 작동한다. Ubuntu Server -> Windows Client 일 때.
   * [[https://help.ubuntu.com/community/SynergyHowto|Ubuntu Synergy Howto]]   * [[https://help.ubuntu.com/community/SynergyHowto|Ubuntu Synergy Howto]]
 +  * [[http://synergy-project.org/wiki/Text_Config|Synergy Text Config]]
  
-===== 단축키로 이동 =====+===== 암호화 ===== 
 +  * 1.4 버전대에서 암호화를 활성화할 경우 키보드 관련 이상 동작이 발생하는 것 같다. 
 + 
 +===== 모니터별 단축키로 이동 =====
   * 마우스 움직임을 통해 이동하는 것보다는 키보드 단축키로 명시적 이동을 선호한다면 스크린을 서로 연속되지 않는 위치로 설정하고서 단축키로 명시적으로 이동하게 할 수 있다.<code>   * 마우스 움직임을 통해 이동하는 것보다는 키보드 단축키로 명시적 이동을 선호한다면 스크린을 서로 연속되지 않는 위치로 설정하고서 단축키로 명시적으로 이동하게 할 수 있다.<code>
 section: options section: options
-    keystroke(Control+Left) = switchToScreen(PC이름)+    keystroke(Control+Left) = switchToScreen(PC이름)
 end end
 </code> </code>
   * Synergy 환경설정에서 설정해도 된다.   * Synergy 환경설정에서 설정해도 된다.
-  * 토글 방식으로 하려면 설정을 파일로 장한 뒤에 직접 편집해서 사용[[https://davejamesmiller.com/blog/synergy-hotkey-to-toggle-screens|Synergy hotkey to toggle screens]] + 
-    * ''1 <-> 2 -> 다시 1'' 형태로 모니터를 구성하고 ''switchInDirection(right)'' 사용<code>+===== 모니터 연속으로 두고 단축키 토글 방식으로 이동 ===== 
 +  * 토글 방식으로 하려면 설정을 파일로 장한 뒤에 직접 편집해서 사용[[https://davejamesmiller.com/blog/synergy-hotkey-to-toggle-screens|Synergy hotkey to toggle screens]] 
 +  * 마우스때문에 자동으로 전환되는 것이 귀찮을 경우 ''switchDelay''를 매우 길게 한다. ''switchDelay = 10000'' 처럼 마우스를 통한 이동 시간을 길게 잡아주면 거의 항상 마우스로는 안되고 단축키로만 이동가능하게 설정할 수 있다.  
 +  * ''1 <-> 2 -> 다시 1'' 형태로 모니터를 구성하고 ''switchInDirection(right)'' 사용<code>
 section: links section: links
     Laptop:     Laptop:
줄 31: 줄 40:
 section: options section: options
     relativeMouseMoves = false     relativeMouseMoves = false
-    screenSaverSync = true+    screenSaverSync = false
     win32KeepForeground = false     win32KeepForeground = false
 +    switchDelay = 10000
     switchCorners = none     switchCorners = none
     switchCornerSize = 0     switchCornerSize = 0
-    keystroke(Super+F12) = switchInDirection(right)+    keystroke(Super+Tab) = switchInDirection(right)
 end end
 </code> </code>
줄 45: 줄 55:
 killall synergys killall synergys
 synergys -c ~/.synergy_server.conf  synergys -c ~/.synergy_server.conf 
 +</code>
 +  * 암호화를 지정하게 되면 옵션이 복잡해진다. 이 때는 GUI로 서버를 실행하고 옵션 목록을 살펴 본 뒤에 지정한다. 아래와 같은 방식이 될 수 있다.<code sh>
 +synergys -f --no-tray --debug NOTE --name kwon37xi-dev-pc --crypto-mode ofb --crypto-pass [cryptpass] -c ~/.synergy_server.conf --address :24800
 </code> </code>
  
줄 54: 줄 67:
 </code> </code>
  
 +  * 암호화를 했을 경우에는 server와 마찬가지로 synger GUI로 실행해보고 그 실행 명령을 복사해서 사용한다.
 ===== LightDM에서 자동시작 ===== ===== LightDM에서 자동시작 =====
   * [[linux:lightdm|LightDM]]을 참조하여<code sh>   * [[linux:lightdm|LightDM]]을 참조하여<code sh>
줄 61: 줄 74:
  
 ===== MDM에서 자동시작 ===== ===== MDM에서 자동시작 =====
-  * [[linux:mdm|Mint Display Manager]]의 초기 실행 스크립트는 ''/etc/mdm/Init/Default''다. 여기에서 ''exit 0'' 위에 Synergy Client 시작 크립를 적어 둔다.+  * [[linux:mdm|Mint Display Manager]]을 참조하여 ''/etc/mdm/Init/Default'' 에 추가한다.<code sh> 
 +/usr/bin/synergyc --name 클라이언트호스트네임 --no-tray --daemon 버호스트네임 
 +</code> 
 +  * 로그인을 하고나면 해당 프로세스가 종료되므로 로그인 후 시작 프로그램으로도 다시 등록해준다. 
  
 ===== 주의사항 ===== ===== 주의사항 =====
줄 71: 줄 88:
   * http://fredrik.hubbe.net/x2vnc.html   * http://fredrik.hubbe.net/x2vnc.html
   * http://www.keyboard-and-mouse-sharing.com/   * http://www.keyboard-and-mouse-sharing.com/
 +  * [[http://www.microsoft.com/en-us/download/details.aspx?id=35460|Download Microsoft Garage Mouse]] Windows 전용.
synergy.1444551260.txt.gz · 마지막으로 수정됨: 2015/10/11 16:44 저자 kwon37xi