Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Manually Migrated to Super User:
Random keyboard key assignment corruption in Windows XP
This isn't a programming question but I'll try to get away with it. WinXP SP3 machine. Every so often (sometimes several times a day) my keyboard (or Windows, or something) decides that it is going to translate the keys I am typing. It's always the same behaviour : specifically
Q and A are transposed.
W and Z are transposed.
the digit keys (the row below the F1-F12 keys) become random punctuation characters.
and several other random shufflings of keys occur. Interestingly:
the numeric keypad still works
the corruptions are always associated with a
particular application. Exiting the application (e.g.
Delphi, or Chrome), and restarting the app. cures the problem.
the same problem occurs on my laptop at home, I guess because I run the same apps.
Ctl-Q and Ctl-A are also transposed
I'm convinced that something I'm running is trashing something but I have no idea where to look. I'm hoping someone reads this and says "oh yeah..."
Yes, I have AV software running.
The application may have been (accidentally) setup to use either a different locale, a particular IME (Input Method Editor) or a different keyboard layout.
Do you have the Language Bar showing? (under Keyboards and Languages in the Regional and Language Options in Control Panel on Vista).
Make sure its visible, check out the current settings. Checking the Show additional language bar icons in the taskbar option may be useful too.
Then launch the offending application and see if the selected locale/keyboard/IME changes. If so change it back to the usual one.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I can't seem to find anything specific for windows 10. I can search for the above title and it searches for everything with the word "Make" in it so it returns generic keyboard on/off settings adjustment.
My question is if there's a way to make a singular keyboard key sleep/wake the computer. No mouse, not the whole keyboard, just 1 button. Is that possible?
To put your computer into sleep mode, you can do windows + X, chord into U and then chord into S.
I don't think it would be possible to assign one specific key to wake your computer though, at least not with the default system settings. I guess the reason for that is that when your PC goes to sleep, it is set to react to any input rather than process the input and filter specific keys, most likely for power usage reason (usually why you put your computer to sleep).
It should be possible to write a program to change that behavior, but I don't think anyone has done it yet (or have published it).
Keys can be remapped using
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout.
There are enough guides for this to go around, plus some tools (e.g. SharpKeys) to automate this entirely.
You can prevent devices from being able to wake up the computer by disabling "allow this device to wake the computer" in Device Manager:
SharpKeys lists E0_63 as Fn/Wake button, but I have not tested how this interacts with above option.
With the above combined, computer would go to sleep at a press of a single (remapped) button and wake up only by pressing the Power button.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm really frustrated with vim (I'm using macvim). The frustration comes when I want to enter the insert mode. I click in an area and sometimes it goes into another mode, visual insert or something like that.
Sometimes when I click to select text and I try to go into insert mode to start rewriting over the selected text, this doesn't work or the entire line gets deleted.
And when it does go into insert mode, the cursor moves to the left instead of the right, so I always have to readjust it. That means if I start the cursor at the end of the line: System.out.print(); because I want to add let's say a comment, the cursor will end up between the ); instead of to the right of it and I always have to move it first.
These are some of the frustrations. Everyone said that vim is so wonderful, but I'm starting to feel like it's more of a pain than it's worth.
I don't know what I'm doing wrong. I must not be getting it or understanding something about it. Any thoughts?
I agree with the commenters that you should learn vim first before mucking it up with a GUI. At least this way you will have an idea of what it should be doing if the GUI screws something up, which they sometimes do.
Vim is a powerful tool, but it does have a learning curve. It is not intuitive enough to just jump in and start using it. Some specific effort to learn it is required to use it even at a basic level.
2 great places to start is the vimtutor terminal program or the online game VimAdventures.
I found another one that also looks good at first glance: VimTutor+.
I would really recommend going through the not-so-much-fun, but all-so-useful vimtutor. I felt the same way as you did when starting, but once you know how to use it, you can't stop using it.
Also, forget the mouse. vim was designed entirely at a time where mice were not around, and it's with a keyboard that you can use it as it was intended to in the first place.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a dual monitor setup, and I am using Ubuntu 12.04 LTS
I have changed the positioning of the monitors several times, and now for some reason some of the windows open up off-screen (outside of both screens), Update Manager, for instance.
How can I position the windows on one of my screens?
You can get the window back on your screen by using
ALT + spacebar
This would show you the maximize/minimize/ ... options. Click maximize and it would occupy your screen.
You can also hit "move" and then either your mouse or arrow keys to move the window to your current window.
Be sure to have the off-screen window selected (use Alt-Tab or Super-W for example). Then hold Alt+F7 and move the window with the cursor keys until it appears in the viewport.
When this happens to me the hidden window is usually below the screen (I occasionally use two screens with one on top of the other, a setup that agrees well with a laptop on a desk). If you use Super-W to select the window, you can guess where it is by looking at the animations. Holding Alt+F7+Up brings the window into view for me.
I made a little script to fix a similiar bug I have in ubuntu 15.04 with two screens: https://github.com/mezga0153/offscreen-window-restore
The script makes use of the wmctrl command line tool to find the offscreen windows and then uses wmctrl to place each one back into a visible area.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
You know, these things. I assume they run on some old computer language/framework, anyone know what that might be?
The displays themselves are pretty basic, they (in most cases) just have a microcontroller with some firmware that allows them to convert commands they get serially into patterns and/or characters. The more recent ones also give feedback regarding broken LEDs for example. Typically these firmwares are written either in assembly or C.
The real intelligence of these systems is often located in a central control system that coordinates an entire city or even a state. These control systems can perform intelligent tasks on entire groups of signs like given the location of an accident, they add the correct distance to the accident to the warning message, automatically divert traffic, and so on.
I know of such systems written in C, C++, Java, G2, ... Depends on the moment they were designed. So no, they're not by definition outdated and antique! They do tend to have a longer lifespan than your average desktop app though which often leads to the oldest parts being swapped out for more recent developments and these newer modules will in many cases be based on more recent technologies.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm a VMware user and far too often I use keyboard shortcuts while programming. However, this has proved to be quite distressing as sometimes the VMware gets hold of it and turns off / pauses (Ctrl+Z) the virtual machine.
Is there a way to disable keyboard shortcuts on VMware? Has anyone here ever found a workaround?
I use AutoHotKey (are you running VMWare on Windows ?) to disable certain shortcuts. You can find this tool here:
http://www.autohotkey.com/
It's open source and I quite like it. Can be used for automation tasks, but you can also have it respond differently to different windows. With some AHK scripting, I think you should be able to fix your problem.
The site had got loads of tutorials too on writing handy scripts.
Good luck.
If it is Ok for you - here's a bit of hacky solution which is very simple - just use ResHacker program to get rid of those annoying accelerators (they are defined as resources in vmware.exe).
This was very annoying to me as well. I finally resolved it for me by doing the following:
Open the VMWare Workstation preferences (Edit menu | Preferences)
Select the Input tab
Check the "Grab keyboard and mouse input on key press" option.
This way, if your mouse drifts outside the virtual machine's window, when you type someting, the virtual machine will "regain" focus.