I use KeePass2 to access username/password information in a Dropbox file. This allows convenient access from multiple devices. I can't seem to copy a password to the clipboard on my Linux system, however, in order to supply the password to a prompt in an xterm(1). I've tried both Ctrl+C/Ctrl+V and highlighting and mouse button 2 clicking. The KeePass2 program on the Linux system is executed by Mono.

How can I copy the password to the xterm(1)?

[Aside: I think we need a "KeePass" tag.]

ADDENDUM: My mouse buttons were misconfigured: button 2 wasn't set to "copy". Sorry for the false alarm.

  • It's a bit offtopic. Superuser would be better for this. Commented Apr 9, 2011 at 16:14
  • In my case, the packages xdotool and xsel did the trick, Source: superuser.com/a/939216/286021
    – amenthes
    Commented Sep 25, 2015 at 12:04

2 Answers 2


Middle mousebutton (probably your scrollbutton) click should work

On two-button mice it would be buttonl+buttonr simultanesously

  • I already tried that (highlighting and button 2 clicking). Commented Apr 10, 2011 at 16:45

I was experiencing the same issue, not with xterm, but with gnome-terminal in Ubuntu Desktop 11.10.

For me, Ctrl+Shift+Insert works as expected.

Try this with xterm.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .