Sharing a Keyboard and Mouse Between Mac and Windows
Original Chinese title: Mac 和 Windows共享键鼠
The Problem
- Sharing one keyboard and mouse across multiple computers running different OSes has always been a headache for me. Having two sets of keyboards and mice on a desk that’s already small is a real hassle.
1. Synergy
- Tried Synergy. It’s pretty nice and cross-platform.
- Keyboard and mouse sharing.
- However, after using it for a while, I ran into weird bugs—the mouse would stop working, and then suddenly it wouldn’t reconnect at all. Sometimes even a restart didn’t fix it. Plus they started charging for it; it’s not about the money, it’s that the UX wasn’t good enough to justify paying for it.
2. Remote Desktop Connection
- I mostly use Mac and Windows. Mac has an app called Remote Desktop Connection that lets you open a remote desktop session right from the Mac. I hooked up two external monitors to my Mac and controlled the Windows box over Remote Desktop.
- There are still minor issues with mouse tracking—it moves noticeably slower, and it’s not great for casual media or entertainment.
- Still, since I’m mainly just writing code, it gets the job done.
Side Note
- Can’t believe I ended up using an approach I’d always looked down on—even I’m judging myself a little.
问题
- 跨平台多台电脑使用一套键鼠一直是自己难以解决的一个问题,两套鼠标键盘确实是一件非常麻烦的事情。本来桌子的空间就不大。
1. Synergy
- 使用Synergy的软件。确实不错,跨平台。
- 键鼠共享。
- 但是用了一会发现会有一些莫名其妙的bug,鼠标不能用了,然后突然就再也连接不上了。有的时候重启也解决不了问题。而且开始收费了,不是钱的问题,而是用户体验不要,实在不想掏钱。
2. Remote Destop Connection
- 我用的Mac 和 windows比较多,Mac 上有一个软件remote destop connection,可以在mac伤远程桌面。在mac上连接两个外接显示器,然后通过远程桌面控制。
- 有一些小问题还是鼠标轨迹的问题。移动起来确实慢,而且一般娱乐也不好做。
- 考虑到我就是写代码,也是可以满足的。
外带
- 竟然采用了我一直很鄙视的一套手段,我都鄙视了我自己。