Synergy: Is there a way to push Win+L to all screens, not just the server?
When I hit Win+L on either of my machines I'd ideally like to be able to lock both client and server What happens though is no matter which screen I hit the key combination... it locks the server.
I'm guessing the OS is trapping the key sequence before it can get passed to the app to manage, so I'm happy to use a different key sequence as long as the result will be the same
Synergy 1.4.2 64 bit Beta
Solution 1:
You want to do this in the options section.
You can define certain keypresses in there and how they get propogated out to the individual clients.
The manual tells you how to do it Look for the keystroke
commands.
Solution 2:
There are a couple of bugs listed in the tracker that relate to sending Win+L to a client system. I haven't gotten it to work on my system either.
Feature #3154 - Lock both screens when Win+L is pressed - Synergy
This is how it should work. In your config file under "section: options", you should be able to add the following:
keystroke(Control+Alt+l) = keystroke(super+l,*)
That tells synergy to send Super (Win) + L to all clients and the server whenever you hit CtrlAltL. I don't think there is a way to intercept WinL (SuperL) on the local system.
Solution 3:
(Should work for most Gnome 3 environments, only tested against Fedora Core 21 Gnome 3)
The following work-around will allow you to hold down Control+Alt, then press k followed by l to lock the client then server.
Modify keyboard shortcut in Gnome for locking the screen from the default super+l, to Control+Alt+l. Do this on both the server and client. You can try to keep Super+l as the lock shortcut if you like, but I encountered buggy behavior with the Super key and opted to use Control+Alt+ instead.
Add the following line to the options section of your synergy.conf file
keystroke(Control+Alt+k) = keystroke(Control+Alt+l,<client>)
Restart synergy and test that pressing Control+Alt+k then l, locks the synergy client and then the synergy server.