On Sun, 30 Aug 2009 11:13:02 -0500 Harry Putnam <[email protected]> wrote:
> Now I want to paste whats on the clipboard into an Xterm cmd line, > without going to the mouse. > > I'm running recent Xfce4 desktop... but not finding a way to do this. > > Can I just steal whatever events happen when middle click on three > button mouse and put them into a keyboard shortcut? > > How might I do that? Shift+Ins is indeed a way, but not applicable in some cases (like pasting into x-only app, say, field in a browser) and 'middle-mouse' buffer is quite volatile, so I have a shortcut in wm (on Super+V) which does this: xclip -out -selection primary | xclip -in -selection clipboard After that, Ctrl+V will insert 'middle-mouse' stuff into any app. Same xclip app is a great way to avoid the mouse (or touchpad) in many cases, especially to copy-paste long command outputs - you just pipe it into xclip (or it's alias w/ appropriate buffer pre-set) and paste where it's needed. -- Mike Kazantsev // fraggod.net
signature.asc
Description: PGP signature

