I am looking for a tool that tells what keys (including Alt, Shift, Ctrl, etc) are pressed now. Need it to do a health-check on a possibly faulty keyboard.
66477
I'm going to be giving a short "talk" about efficient note taking with LyX. As such it'll be important to focus on keyboard shortcuts. Since people can't see me type, however, I want a tool that displays keyboard combinations as I press them, like this:    I'm sure I've read about something like this on OMG Ubuntu!, but my google-fu is weak.  Ideas?
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?
28231
How can I wire an event to fire if someone presses the letter g?  (Where is the character map for all the letters BTW?)
79040
In Windows, it is possible to set pressing Ctrl to display the current location of the mouse pointer, as per .  Is there a way of setting a key or key combination to perform the same action in Ubuntu? Note, this is the opposite of turning this function off, as detailed at .
55696
I have a very nice and expensive mechanical keyboard. It was designed for a PC and not a Mac.  How do I set up the mapping, so it works like I am used to. For example, I want the Ctrl key on the PC keyboard to act like the Command key on the Mac, so when I press Ctrl-C to Copy, I get the action I am used to.
108898
Please, i need someone to help me in making a very simple bash script. The job of this script is just to press a certain combination of keys on the keyboard.  My objective is to create a script that would turn off the Kubuntu desktop effects completely. The key combination for that is: "Left-ALT + Left-Shift + F12". I am aware that there is a widget that might do this job, but i am trying to learn how to accomplish it with a bash script.  I have tried to do an online search but i guess i was choosing the wrong set of keywords. I did not manage to reach a tutorial or a reference that would mention this task.  Thanks in advance for your help!  P.S: Any suggestions, references, notes, comments or tutorials would also be greatly be appreciated.
66925
I need to automate the pressing of the  key then pressing 5 digits then press  in Windows 7 64-bit.  I have an app that comes up on the screen and I need the "script" to press the keys.  I don't even need mouse support.  What can I use to do this?  Any examples or links?
58505
I need to write a small program that can detect that it has been changed. Please give me a suggestion!  Thank you.
10911
With jQuery, how do I find out which key was pressed when I bind to the keypress event?  $('#searchbox input').bind('keypress', function(e) {});   I want to trigger a submit when ENTER is pressed.  [Update]  Even though I found the (or better: one) answer myself, there seems to be some room for variation ;)  Is there a difference between keyCode and which - especially if I'm just looking for ENTER, which will never be a unicode key?  Do some browsers provide one property and others provide the other one?
123702
I would like to simulate keyboard combinations.  I am able to do this on Windows with AutoHotKey.  Is there an equivalent app for Ubuntu?
100664
How do I type tick and backtick on Windows?
94979
I have my Caps Lock key remapped to Esc, so now I have a LED on my keyboard that is never on. I'd like to use it for something useful, like HDD or LAN activity.  Especially that I'm using a computer with a custom box &amp; heatsinks (built into my drawer so I don't have to listen to the HDD and it doesn't take up much space), and the LEDs are not visible otherwise.  If there's a library for controlling the keyboard LEDs, I could do some coding myself, if there isn't a solution for this already.  I'm on Gentoo ~amd64.  EDIT: Ok, forget about the HDD LED. It was just an example.  I want the Caps Lock LED to light up when it's my birthday. Or when I have email. Or when I say "Caps Lock LED, please light up!".  I absolutely do not want to use an extra wire. In fact, it would be nice if this would work on wireless keyboards as well.
33287
I am a KDE user thinking about moving to Unity. Due to manual disability, I use  and in KDE I have an applet in the system panel which shows which modifier keys are active. I remember that Gnome had this feature as well, so do Windows and OS X.  How does one ad the keyboard modifier state applet to the panel in Unity?  Clarification: I have already enabled sticky keys. I am asking how to add an applet which indicates the state of the modifier keys. This indicator would show when the Shift key is depressed, when the Alt key is depressed, when the Tux key is depressed, and when the Ctrl key is depressed. This applet exists in all major desktop environments (KDE, Windows, Mac OSX, and Gnome). It is necessary for accessibility of the desktop.  Here is an image of the keyboard modifier state applet, next to the keyboard layout indicator applet. The modifiers represented are, from left to right, Shift, Ctrl, Alt, I-dont-know-this-one, Tux/Win, NumLock, and CapsLock. It can be seen that the NumLock key is active.
118420
I have four keyboards and I have defined Ctrl+1, Ctrl+2 and Ctrl+3 ... hot-keys for them. The problem is that either all of the hot-keys or the first one is removed regularly. For example every time the computer goes to sleep (or even locked) all of them are removed.  I even tried other hot-keys (Ctrl+Shift+1, ... Ctrl+Shift+4) or (Alt+Shift+1, ... Alt+Shift+4) and the problem still exist.  If I assign a transition key (Left Shift+Alt) it will work but that's not that useful when you have more than 2 keyboards and you want to regularly change the keyboard.  It appears that the problem has existed in Windows 8 too (and has something to do with welcome screen) but the solution I found does not work on Windows 10 ().  Has anyone been able to solve this problem?
20886
Is there a way of reading one single character from the user input? For instance, they press one key at the terminal and it is returned (sort of like getch()). I know there's a function in Windows for it, but I'd like something that is cross-platform.
39368
I've always had a problem typing my passwords in on computers I don't trust (think non-technical friends computers) and although I can usually avoid doing it, there are times when I still need to use them. My main concern is having my passwords stolen by a keystroke logger.  So my question is - is there a reliable way to detect keystroke loggers?   I know of hardware keystroke loggers like  but I'm mostly interested in software based ones.
15579
I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have absolutely no interest in using the Mac-esque Super+Space combo?