I'm running Synergy server 1.4.13 on Ubuntu (PC) and have a connected Mac client.
It works well, except some keys like Home and End (defined as hotkeys in ~/.synergy.conf for the Mac client) do not work on the Mac.
I found an options section for ~/.synergy.conf which will send special keystrokes to the Mac when Home/End is hit on the PC server, but an unfortunate side-effect is that Home/End do not work at all on the PC when configured this way.
What's more, is even when the Mac screen is not the active screen, it still gets the Home/End keys sent to it. Any way to fix this?
Answer
I went ahead an made a patch for this.
I haven't tested for more than a couple hours but it seems to be working with my PC server and Mac clieint.
I tried to get some help to understand the source code on #synergy IRC but nobody seems interested in talking so here it is patch.
Apply with patch --ignore-whitespace -p0 -i joes.patch
.
Then the usual ./hm.sh conf -g1; ./hm.sh build
.
On the mac client, I wasn't able to build using the hm.sh script. I had to build with ./hm.sh conf -g1 --mac-sdk 10.8; make
. Hope it helps.
No comments:
Post a Comment