Synergy 对于在多台 PC 之间共享单个鼠标/键盘组非常方便。但我有一台笔记本电脑(WinXP SP3)和一台台式机(OS X Snow Leopard)、一个鼠标和一个插入台式机的键盘。我不需要共享键盘,因为每台电脑都有一个。有没有办法只共享鼠标?因为如果启用键盘共享可能会造成不便。谢谢。
PS. 另一个快速问题是如何在 Mac OS 上停止 synergy 守护进程?synergys --help 没有提供任何信息。
答案1
我认为这不会起作用,因为当您将鼠标光标移出服务器时,活动窗口就会失焦,所以如果您可以在服务器的键盘上打字,那么就没有活动窗口可以供按键进入。
Synergy 不会禁用客户端键盘,因此当您转到另一台 PC 时,您仍然可以在该 PC 的键盘上打字(以及服务器的键盘)。
您唯一无法做的事情就是当鼠标位于另一个屏幕上时,在服务器的键盘上键入内容并让它出现在服务器上。
答案2
(常规网站提示 - 请将问题限制为每次仅 1 个问题)
关于终止协同作用,打开终端并输入sudo killall synergys
。它会提示你输入密码。
我怀疑不可能共享鼠标而不共享键盘。
答案3
这是可能的。在你的配置文件您可以使用 keystroke() 赋值来none
禁用客户端上的某个键。通常,它用于禁用可能导致客户端出现问题的键(例如,当某些应用程序运行时,altgr、win 或 rctrl),但它可用于禁用所有键,尽管您必须一次禁用一个键。
keystroke(key) = actions
它可以在你的环境中使用,如下所示:
keystroke(AppMail) = none
keystroke(AppMedia) = none
keystroke(AppUser1) = none
keystroke(AppUser2) = none
keystroke(AudioDown) = none
keystroke(AudioMute) = none
keystroke(AudioNext) = none
keystroke(AudioPlay) = none
keystroke(AudioPrev) = none
keystroke(AudioStop) = none
keystroke(AudioUp) = none
keystroke(BackSpace) = none
keystroke(Begin) = none
keystroke(Break) = none
keystroke(Cancel) = none
keystroke(CapsLock) = none
keystroke(Clear) = none
keystroke(Delete) = none
keystroke(Down) = none
keystroke(Eject) = none
keystroke(End) = none
keystroke(Escape) = none
keystroke(Execute) = none
keystroke(F1) = none
keystroke(F2) = none
keystroke(F3) = none
keystroke(F4) = none
keystroke(F5) = none
keystroke(F6) = none
keystroke(F7) = none
keystroke(F8) = none
keystroke(F9) = none
keystroke(F10) = none
keystroke(F11) = none
keystroke(F12) = none
keystroke(F13) = none
keystroke(F14) = none
keystroke(F15) = none
keystroke(F16) = none
keystroke(F17) = none
keystroke(F18) = none
keystroke(F19) = none
keystroke(F20) = none
keystroke(F21) = none
keystroke(F22) = none
keystroke(F23) = none
keystroke(F24) = none
keystroke(F25) = none
keystroke(F26) = none
keystroke(F27) = none
keystroke(F28) = none
keystroke(F29) = none
keystroke(F30) = none
keystroke(F31) = none
keystroke(F32) = none
keystroke(F33) = none
keystroke(F34) = none
keystroke(F35) = none
keystroke(Find) = none
keystroke(Help) = none
keystroke(Home) = none
keystroke(Insert) = none
keystroke(KP_0) = none
keystroke(KP_1) = none
keystroke(KP_2) = none
keystroke(KP_3) = none
keystroke(KP_4) = none
keystroke(KP_5) = none
keystroke(KP_6) = none
keystroke(KP_7) = none
keystroke(KP_8) = none
keystroke(KP_9) = none
keystroke(KP_Add) = none
keystroke(KP_Begin) = none
keystroke(KP_Decimal) = none
keystroke(KP_Delete) = none
keystroke(KP_Divide) = none
keystroke(KP_Down) = none
keystroke(KP_End) = none
keystroke(KP_Enter) = none
keystroke(KP_Equal) = none
keystroke(KP_F1) = none
keystroke(KP_F2) = none
keystroke(KP_F3) = none
keystroke(KP_F4) = none
keystroke(KP_Home) = none
keystroke(KP_Insert) = none
keystroke(KP_Left) = none
keystroke(KP_Multiply) = none
keystroke(KP_PageDown) = none
keystroke(KP_PageUp) = none
keystroke(KP_Right) = none
keystroke(KP_Separator) = none
keystroke(KP_Space) = none
keystroke(KP_Subtract) = none
keystroke(KP_Tab) = none
keystroke(KP_Up) = none
keystroke(Left) = none
keystroke(LeftTab) = none
keystroke(Linefeed) = none
keystroke(Menu) = none
keystroke(NumLock) = none
keystroke(PageDown) = none
keystroke(PageUp) = none
keystroke(Pause) = none
keystroke(Print) = none
keystroke(Redo) = none
keystroke(Return) = none
keystroke(Right) = none
keystroke(ScrollLock) = none
keystroke(Select) = none
keystroke(Sleep) = none
keystroke(Space) = none
keystroke(SysReq) = none
keystroke(Tab) = none
keystroke(Undo) = none
keystroke(Up) = none
keystroke(WWWBack) = none
keystroke(WWWFavorites) = none
keystroke(WWWForward) = none
keystroke(WWWHome) = none
keystroke(WWWRefresh) = none
keystroke(WWWSearch) = none
keystroke(WWWStop) = none
keystroke(Space) = none
keystroke(Exclaim) = none
keystroke(DoubleQuote) = none
keystroke(Number) = none
keystroke(Dollar) = none
keystroke(Percent) = none
keystroke(Ampersand) = none
keystroke(Apostrophe) = none
keystroke(ParenthesisL) = none
keystroke(ParenthesisR) = none
keystroke(Asterisk) = none
keystroke(Plus) = none
keystroke(Comma) = none
keystroke(Minus) = none
keystroke(Period) = none
keystroke(Slash) = none
keystroke(Colon) = none
keystroke(Semicolon) = none
keystroke(Less) = none
keystroke(Equal) = none
keystroke(Greater) = none
keystroke(Question) = none
keystroke(At) = none
keystroke(BracketL) = none
keystroke(Backslash) = none
keystroke(BracketR) = none
keystroke(Circumflex) = none
keystroke(Underscore) = none
keystroke(Grave) = none
keystroke(BraceL) = none
keystroke(Bar) = none
keystroke(BraceR) = none
keystroke(Tilde) = none
您还需要通过 \uXXXX 语法对字母和其他键进行分配:
keystroke(\u0001) = none
keystroke(\u0002) = none
keystroke(\u0003) = none