View Full Version : Broadcasting or Hotkeys

11-18-2007, 10:22 PM
I have been trying to get Synergy to broadcast keystrokes from the Server and to the server, then to the Client. The Client PC is Linux.

I can get the keystroke to the Client PC with hotkeys, but I cannot get the keystroke to the server. I am trying to accomplish one task on both PC's that require one keystoke each.

Hot keys would be the way to go for me, if the server would get the actually key (Z) and then it would send whatever hotkey to the client (F6)

So the server would get the Z keystroke and the client F6

11-19-2007, 10:27 AM
By your post I'm assuming your running 2 instances of WoW on your Server PC and it's not broadcasting the keystroke to your second instance of WoW. If this is the case, Synergy will not broadcast to the other instance of Wow on the same machine. You'll need Keyclone or the like to broadcast the keystrokes.

As far as sending different keystrokes, I don't think it's possible because of the basic coding language used in identifying keys strokes. Why not just bind your "Z" key for whatever action you need on your server, then bind the same "Z" key to whatever F6 would have been used for on the client?

11-19-2007, 10:53 AM
I'm not gaming at all, I am trying to initiate a command to 2 PC's at the same time.. One is windows and one is Linux. The problem is the command I need to send to the PC's are not the same keystroke. WHat I am trying to acomplish is one keystroke, 1 command to each PC.

It is onboard a fishing vessel. We have 2 PC which record GPS data, I would like for them to record at the same time.
But the keystroke on both PC's are differant

11-19-2007, 11:05 AM
one zero effort way to achieve this would be to use keyclone although it will cost you $10

11-19-2007, 11:44 AM
Would keyclone work with Linux?

11-19-2007, 12:25 PM
I believe it does. I know that's not a great answer but PM Keyclone directly if you need more info. He runs a great program and is always at hand to support it. You'll probably want to use the Keymapping ability in Keyclone to achieve the results you need.

Btw, kudos to you all in that industry. Damn hard work!

11-19-2007, 12:39 PM
thanks, I've sent a message. I hope there is a way, I'd rather do it this way than to go the Hardware route.

The job can be challenging, Its a great job when the weather is nice, but it can turn into a pretty nasty one from one day to another.

11-19-2007, 01:41 PM
What you're trying to do is definitely doable with just Synergy. Synergy has configuration options to send different keystrokes to each server. If it were me, I'd make the Linux machine the Synergy server and the Windows machine the client. I recommend this simply because the Synergy docs tell you how to edit the config file manually to do things like:

# When meta is pressed on the server, send alt to the client
meta = alt


# When super+f12 is pressed on any screen, send super+L to machine "larry" and control+alt+delete to machine "curly"
# (which pretty much describes what you want to do, I think.)
keystroke(super+f12) = keystroke(super+L,larry), keystroke(control+alt+delete,curly)


keystroke(f6) = keystroke(f6,larry), keystroke(z,curly)

Check out:


You can probably also do that with the Windows machine as the Server using the 'HotKeys' section of the configuration window, but I've never used that, and the documentation on how to do that I couldn't immediately find.

11-19-2007, 04:40 PM
I've tried the hotkeys method with windows without any luck, Synergy would be my route of choice, one mouse one a rocking boat is hard enough to run, let alone two!..

I;ve ven tried

keystroke(f6) = keystroke(q,larry), keystroke(z,curly)

It still wont send the keystroke to the Server PC

11-19-2007, 05:55 PM
Are you running the client software on the server PC as well?

11-19-2007, 06:19 PM
That is very interesting point.. I was not. I did try it but when it asks for the computer to connect to for mouse and keyboard, I have to enter the server, it gives me an error

Hope someone can shed some light on that one!

11-19-2007, 07:35 PM
What are you entering? Try

11-19-2007, 08:54 PM
I was Just using the server name, the name of the server that is running on the same machine. I tried no go either

11-19-2007, 09:15 PM

I have to run a Client on the Server Software, BUT I was forgeting to add it the configuration as a third screen.. Worked and I used for the address.. ONE HAPPY Guy here!

11-19-2007, 09:48 PM
Now can anyone tell me how to Autostart a Client and a server on the same machine?