I make frequent use of Win+L, which will lock my computer and prompt me to enter my password to unlock it. This is to prevent other (mischevious) people from doing anything while I am away.  However, it is still possible to mess with the computer in this locked state. One can access the Ease of Access Center from the lock screen, which looks like this:  (Click image to enlarge)    They can then turn on Narrator (read everything), Magnifier (magnify the area around your cursor), High Contrast (make the colors of the UI strange), On-Screen Keyboard (open up an annoying keyboard in a window), Sticky Keys (ctrl, alt, win, etc. "stick" so you can press one at a time), and Filter Keys (ignore keys pressed multiple times in a row).  These settings are quite annoying by themselves, and activating all of them at once is even more so.  Is there any way to completely lock the computer, so that the only possible action is to enter a password?
121662
Question refers to Windows 7 Professional 64-bit.  When I lock my computer I don't want people to be able to mess about with it, so would like the Ease of Access button (in the bottom left corner of the logon screen) to either be removed or disabled.  Does anybody know how to do this?  Thank you for your help :-)
60356
I know there are many solutions to this problem like using indicator-keylock or using lks-indicator.  I have tried them both. However since I am on Ubuntu 18.04, these are not working.  Can someone help me with something new or help me in writing a new indicator which I can use for myself at least?
29316
I want to change Key short cut  to  Super+L for LockScreen but it is not working. If I try any other combination like CTRL+ALT+L or CTRL+ALT+G , it works. Win+L combination used to work in 11.10.
113485
I want to capture a keyboard shortcut in my application and trigger a dialog to appear if the user presses a keyboard combo even outside of the app. Similar to Google Desktop Search's Ctrl, Ctrl to bring up the search dialog.  I have tried using some keyboard hook modules out there that basically use Win32 interop to get this effect but each implementation I've tried ties down the keyboard to some extent to where you start getting weird behaviors when the application is doing something intensive. Such as loading a large amount of data, this would cause the keyboard and mouse to lockup.  I'm looking for a lightweight solution that would allow this to be done without tying down the keyboard and mouse.
108837
I have a barcode scanner (which acts like a keyboard) and of course I have a keyboard too hooked up to a computer. The software is accepting input from both the scanner and the keyboard. I need to accept only the scanner's input. The code is written in C#. Is there a way to "disable" input from the keyboard and only accept input from the scanner?  Note: Keyboard is part of a laptop...so it cannot be unplugged. Also, I tried putting the following code      protected override Boolean ProcessDialogKey(System.Windows.Forms.Keys keyData)     {       return true;     } But then along with ignoring the keystrokes from the keyboard, the barcode scanner input is also ignored.  I cannot have the scanner send sentinal characters as, the scanner is being used by other applications and adding a sentinal character stream would mean modifying other code.  Also, I cannot use the timing method of determining if the input came from a barcode scanner (if its a bunch of characters followed by a pause) since the barcodes scanned could potentially be single character barcodes.  Yes, I am reading data from a stream.  I am trying to follow along with the article: Distinguishing Barcode Scanners from the Keyboard in WinForms. However I have the following questions:   I get an error NativeMethods is inaccessible due to its protection level. It seems as though I need to import a dll; is this correct? If so, how do I do it?  Which protected override void WndProc(ref Message m) definition should I use, there are two implementations in the article? Am getting an error related to [SecurityPermission( SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] error CS0246: The type or namespace name 'SecurityPermission' could not be found (are you missing a using directive or an assembly reference?). How do I resolve this error? There is also an error on the line containing: if ((from hardwareId in hardwareIds where deviceName.Contains(hardwareId) select hardwareId).Count() > 0) Error is error CS1026: ) expected. Should I be placing all the code in the article in one .cs file called BarcodeScannerListener.cs?   Followup questions about C# solution source code posted by Nicholas Piasecki on :   I was not able to open the solution in VS 2005, so I downloaded Visual C# 2008 Express Edition, and the code ran. However, after hooking up my barcode scanner and scanning a barcode, the program did not recognize the scan. I put a break point in OnBarcodeScanned method but it never got hit. I did change the App.config with the id of my Barcode scanner obtained using Device Manager. There seems to be 2 deviceNames with HID#Vid_0536&amp;Pid_01c1 (which is obtained from Device Manager when the scanner is hooked up). I don't know if this is causing the scanning not to work. When iterating over the deviceNames, here is the list of devices I found (using the debugger):   "\??\HID#Vid_0536&amp;Pid_01c1&amp;MI_01#9&amp;25ca5370&amp;0&amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}"  "\??\HID#Vid_0536&amp;Pid_01c1&amp;MI_00#9&amp;38e10b9&amp;0&amp;0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}"  "\??\HID#Vid_413c&amp;Pid_2101&amp;MI_00#8&amp;1966e83d&amp;0&amp;0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}"  "\??\HID#Vid_413c&amp;Pid_3012#7&amp;960fae0&amp;0&amp;0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}" "\??\Root#RDP_KBD#0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}" "\??\ACPI#PNP0303#4&amp;2f94427b&amp;0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}" "\??\Root#RDP_MOU#0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}" "\??\ACPI#PNP0F13#4&amp;2f94427b&amp;0#{378de44c-56ef-11d1-bc8c-00a0c91405dd}"  So there are 2 entries for HID#Vid_0536&amp;Pid_01c1; could that be causing the scanning not to work?  OK so it seems that I had to figure out a way to not depend on the ASCII 0x04 character being sent by the scanner...since my scanner does not send that character. After that, the barcode scanned event is fired and the popup with the barcode is shown. So thanks Nicholas for your help.
72739
I have a laptop with a full keyboard (it has numpad), but the laptop is not that big, and because of that the keys are relatively small, which means I am constantly finding myself pressing keys accidentally on the numpad part.  Is there a way to disable specific keys that I simply don't want?
103823
I've noticed a semi-handy feature on Apple Wireless Keyboard: quick pressing the caps lock key won't enable the caps lock, it needs a determined push. Benefits are obvious, it prevents accidental all-caps text when you actuALLY INTENDED TO PRESS 'A'.  Is there a way to hack this around? Adjust it or remove it completely? I like the idea, but for me it is more of a speed bump than a seat belt.  I have checked the keyboard preferences and the usability preferences as well. Keyboard delay is off and repeat delay is at minimum. There are no delay on other keys (well, except the eject key, but it requires even more determined press), and there is no delay when turning the caps lock off.  I'm on a Snow Leopard Lion and the wireless keyboard came with the mid-2010 iMac.    EDIT: It seems like the functionality is in the driver rather than in the keyboard itself. When using the keyboard in Windows 7 the caps lock key works in a regular manner. The drivers that Windows uses are standard HID Keyboard drivers provided by Microsoft.
19829
I generally run Linux. I use Vim a lot, so the Escape key is extremely important. I also use other keyboard shortcuts a lot, so Control is "key" as well. On Linux, I've solved this by using  to map the Caps lock key to Escape if pressed by itself, or Control if pressed in combination with another key. This puts the best of both worlds within quick reach of my pinky finger. Is there any way I can do this on a Mac?
19535
I need to remove the annoying new "locking" screen that shows a giant clock: I can't remove it with just moving the mouse (as with any other desktop environment), the animation is slow, and it isn't asking me for a password!  I managed to disable it, just to discover that now I can't lock my screen on purpose, so I can't go away from the computer.  Just to clarify, I want to:   After some time the screen could go black, but if I move the mouse or press any key then I can use it directly (like a normal screensaver). If I press super-L then it is locked, and I must type the password to unlock (like a normal lock screen).   I found several "solutions", but none seems to work:
88026
Recently upgraded to Ubuntu 18.10, having two problems.  Easiest to explain: when I open "settings", go to "privacy", select "screen lock", I get the popup window with the screen lock settings, but everything is grayed out:   Second issue: If I step away from the machine for long enough (seems to be 5 minutes), the screen blanks. Hitting a key or moving the mouse wakes it up. But when it wakes up, the only things on the screen are the icon bar at the left and the top bar with status icons on the right end. The rest of the screen is blue, not my normal lock screen image. The screen isn't locked, it doesn't prompt for a password, it's just...blue.  I can move the mouse pointer around the screen, the icons react if I click on one, I can bring up the popup with volume/brightness controls on the top bar. But if the pointer is on the blue background, neither left nor right button clicks do anything.  Now, if I press ctrl-alt-F1 from there, I get a lock screen where I can enter my password. Then I get the blue screen back, but if I press ctrl-alt-F2 I get my normal screen (with running applications) back.  ctrl-alt-F2 without going through the lock screen first does nothing.  I'm not finding anything while searching that matches either of these sets of symptoms. Suggestions?
79290
I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows).        The general question is: how can I detect any key press (globally)?  Then, how can I detect when the user press this key?
79636
I had to reinstall recently. I installed normal Ubuntu 14.04. I then installed gnome/gnome shell/gdm. I then logged in my user to gnome. Since then I have been configuring my system.  Yesterday, unlock was working fine. Today, the automatic lock screen is not accepting my password as valid. It just takes the input like it's processing it, then takes me right back to the same password prompt. If I click the 'login as a new user' link, it takes me right back to the lock screen. Ctrl+Alt+F1, etc, does nothing.  I had to resort to a hard boot. I've tried this more then once. (first time was from automatic, idle time lock, second time was from my triggering the lock screen with the keyboard command).  I'm certain I have my password right, as I am able to get logged in after the cold boot.
111230
I'm using an HP laptop running Windows 7 Home Edition.  The moment I reach the login screen the computer automatically types "ppppppppp" in the password place, luckily I have fingerprint login to counter that.  The moment I login, it keeps acting as if I'm typing 'p' repeatedly. I tried removing the button and cleaning under it but it was no use. I've tried restarting, uninstalling the keyboard driver, but it was no use.  I can't go to Control Panel because the moment I get there, it starts typing "pppppp" in the search field and I'm unable to find anything.  I'm typing this from my phone because going anywhere on my laptop seems impossible.
52261
Like Windows, I want to hit Super+D to jump to the desktop or minimize all windows. I don't see command like that in Keyboard Shortcuts. Any idea?
38096
There is no "Lock" option showing up in the user menu, and the standard shortcuts (Ctrl+L or Ctrl+Alt+L) don't do anything.  I'm running Fedora 19 with Gnome Shell 3.8.3, and XDM 1.1.11.  I'm using XDM because of broken XDMCP support in GDM - but before I upgraded to Fedora 19, I did have the lock option, even when using XDM.     I've posted an answer reflecting the results of my own research. It basically says that it's not possible to have screen-lock integrated into Gnome 3.8 without running GDM.      I really hope there's a better answer available though - so please add your own answer if there's any way to do this that I overlooked.
57526
I don't want Super + L (that is the windows key pressed with the L key) to lock my screen. I have disabled this in settings, but it still happens. How do I make this not happen?
26435
How can I lock my desktop screen from the command line?