Feature #3154 - Lock both screens when Win+L is pressed
Problem: Currently users need to lock all screens individually, which can be a pain when there are several screens to lock.
Solution: Allow the user to press Win+L once to lock all screens.
On a Windows 7/2008 synergy client, I can't get Win+L to lock the screen at all. Enabling SAS group policy does allow CTRL+ALT+DEL to function, but Win+L still appears to be blocked. Other Windows key combinations function as expected (Win+Arrows to move windows, Win+Tab, Win+R, etc.). Generating Super+L via a Synergy keystroke mapping also fails to function.
How to configure/enable this functionality might be useful when implementing this feature.
Looking forward to this fix! I've got three workstations linked up and locking all three to step away from my desk for 2 minutes is a pain. God only knows what my coworkers would do if I left them unlocked...
Add my vote, if my Windows + Mac screens could lock on Win+L that would be great. I just switched to Synergy from Input Director because I added a Mac and miss this feature.
You really should be allowed to specify a key combination to send to each attached client on a specified key combination. I.e configuring so that a Windows server sending CTRL + ALT + L to Client a running Gnome, CTRL + ALT + DEL to client b running XFCE, SHIFT + COMMAND + L to my Mac client etc.
I vote for this too! I'm working daily with multiple Linux-screens and it'd be awesome to lock all screens with a single keystroke combination, such as CTRL + ALT + L.
I vote for this as well. I can't believe it's not included! So far, that's my only complaint with Synergy. Other than that, I love the program!
This would be an awesome feature if it would work between OS's. I use synergy with Mac and Ubuntu.
well this feature would be truelly awsome :)
Is this feature still even being worked on? I just noticed that there is still no Win+L functionality on client machines. (Super+l,) does nothing neither does (Meta+l,)... I really wish this feature existed, only downfall against InputDirector.
I wonder if this feature has anything to do with UIAccess... will test when I get back to the apt today. If so, it just might have a fix. (Note: if it's UIAccess, I don't think keystroke aliases will work - the problem with UIAccess isn't that Synergy is reproducing the wrong keystroke combo on the client, but that Windows doesn't permit the keystroke combo to actually have the desired effect, due to permissions restrictions. This is what happens to a more severe degree on Windows 8, where even Alt-Tab doesn't work since the Alt-Tab UI is built as part of the new Metro/Modern UI system, which seems to only permit input from UIAccess-enabled processes.)
Never mind, doesn't go through. Looks like something else blocks the keystroke combo
I found a functional workaround with the use of AutoHotkey (I know this is not ideal however it gets the job done)
The following is the script I use
#l:: Sleep 1500 run rundll32.exe user32.dll`,LockWorkStation
one problem with it however is that it requires you to use Windows+L on the client computer. (if you don't have focus on it only the server will lock)
Appologies for the second comment.
*You can still use
keystroke(control+alt+l) = ;keystroke(super+L,*)
to lock the remote computers! (Unfortunately I can't seem to lock the host with this)
I'm trying to use the keystroke command tealc36 mentions but I'm getting the error:
synergys.exe: unrecognized option
Trysynergys.exe --help' for more information.
Here is the exact text of my .sgc file:
section: screens LDUFFIN01: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false switchCorners = none switchCornerSize = 0 LDUFFIN: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false switchCorners = none switchCornerSize = 0 end
section: aliases end
section: links LDUFFIN01: right = LDUFFIN LDUFFIN: left = LDUFFIN01 end
section: options relativeMouseMoves = false screenSaverSync = true win32KeepForeground = false switchCorners = none switchCornerSize = 0
+1. either allow the native Win+L to work or even better let Win+L or Alt+Ctrl+L work for all.
Even autohotkey fix doesn't work for me. The client screen gets locked but when I try to move the mouse pointer, it leaves the server and but doesn't enter client screen. I've tried running as administrator as well.
BTW, when I use the standard windows menu to lock, it does work. Can someone help?
I would like to see a way to configure key mappings since I have a Windows server and Linux client. Also, since an Android client will be coming at some point before this is worked on, we should also send a power button short press event to the Android clients that are connected (powering off the screen, not the phone, in order to lock the phone).
What about unlocking? t would be great when you unlock the master all slaves wll unlock to if possible.
I kind of worked around this by : 1. on my win7 client I setup a 'lock screen' shortcut on my desktop as described in http://www.sevenforums.com/tutorials/13278-lock-computer-create-shortcut.html 2. I rightclicked that lock screen desktop shortcut and mapped it to 'ctrl+alt+l' 3. I setup a hotkey in synergy server so that 'ctrl+alt+k' would send 'ctrl+alt+l' to the win7 client
My setup is ubuntu as my main machine and I've got a win7 box as a synergy client. To lock both my Ubuntu and win7 machines i have to press 'ctrl+alt+k' AND 'ctrl+alt+l' ( the latter locks my ubuntu) .
My initial goal was to have both computers locked when I pressed ctrl+alt+l , but using that as a hotkey my ubuntu wouldn't lock, I tried a couple things with no luck, so a resigned to using 'ctrl+alt+k' AND 'ctrl+alt+l' which is ok by me anyway.
$20 donation coming from me once this feature is working on both windows and mac connected computers.
I am all in favor of this feature, too. Any status on the progress?
Another workaround: you can create a .vbs file call it LockScreen.vbs and paste the following:
On Error Resume Next
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "%%windir%%\System32\rundll32.exe user32.dll,LockWorkStation"
Then create a shortcut of LockScreen.vbs and assign a shortcut key to it (It has to be something other than Win+L). Place it either on your desktop or All Programs in StartMenu.