2
I use Dvorak as my primary keyboard layout, but I like to play nethack, so I change to qwerty and open xterm:
alias nhterm="nohup >/dev/null xterm -fa \"Andale Mono\" -fs 20 -fullscreen -fg white -bg black &"
However, once I change by keyboard layout back (while xterm is still open), I find that xterm keeps typing in qwerty, even though the rest of the OS uses Dvorak again. Why and how does this happen?
Here's the thing I use to change my keyboard layout, if it matters:
Which environment variable is it?
env
doesn't seem to produce anything relevant. – arxanas – 2012-10-28T22:44:41.050Who said anything about environment variables? – Orwellophile – 2013-01-22T02:44:57.327
I assumed that's what you meant by "exports your current keyboard settings in the environment." – arxanas – 2013-01-22T03:03:43.883
Bad choice of words on my part, I'll edit. Still haven't fixed my own problem (XQuartz is using UK layout on my US keyboard). – Orwellophile – 2013-01-26T08:38:48.023