Hacker News new | ask | show | jobs
by jrockway 5056 days ago
Assuming you're on Linux, you can just pipe the input into "xargs xdotool type". Thanks to the keyboard abstraction in X, no program will ever be able to tell that you didn't just type that on a keyboard.
3 comments

Unfortunately, xdotool type is schizophrenic with multiple keyboard layouts

http://code.google.com/p/semicomplete/issues/detail?id=13

An admittedly obscure corner case.

(Though I'm not defending the X keyboard API. Linux input is a nightmare. I especially like the hard-coded list of keys in the kernel, limiting the number of unique keys that any userspace application can address, even though it's perfectly possible to plug in 128 keyboards each with several hundred keys.)

Or just click the password field -> Menu [Edit] -> [Paste]
If you are on linux, chances are you can just middle-click.