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
macmini:
tp:
end
section: links
macmini:
right = tp
tp:
left = macmini
end
服务端命令:
synergys -c ~/synergy.conf -a 192.168.2.190:24800 --name macmini -d INFO -f
客户端命令:
synergyc -f --name tp --yscroll 50 192.168.2.190:4567
要调试,可加 -f 参数不作为 daemon 运行,会在终端打印日志(否则在 Linux 上会输出到系统日志)。
--yscroll 50 使得鼠标滚动正常(默认值为 120,滚动起来很费力)。
快捷键配置
如:
section: options
keystroke(super+left) = switchInDirection(left)
keystroke(super+right) = switchInDirection(right)
end
注意:在 Mac OS X 下, super 是Option键,而 alt 是Command键。
注意事项
在 Mac OS X 上需要启用「万能辅助」(在「系统偏好设置」中,如图所示)。