From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mi9Rj-0002uj-Pr for garchives@archives.gentoo.org; Mon, 31 Aug 2009 16:09:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D13FEE094F; Mon, 31 Aug 2009 21:18:22 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by pigeon.gentoo.org (Postfix) with ESMTP id 8A868E094F for ; Mon, 31 Aug 2009 21:18:22 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 13so966083eye.40 for ; Mon, 31 Aug 2009 14:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=x5nh5QecNsQLs7J0R8tPimUsdHZ27z2+y1AMk7a8OPU=; b=rtX3vHY4MTgJH1yOdNI4n22sTFVwM7vSnCOA4FLrQW72iN60AsWykfP5PvKWEQzRyo Y7P6Ws4G6J4PzpEC0HJrSdC/NZvgi+WdytimxeJoNDiflcBenKhkLwV7mG2zfBEUMVLR wgMn3xpZhsxmNr0+U9B1mx0gbByI5O3bP/MJU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=TE5uWPKX+tqzs55ExBi0+x8jFnK/dsoQiB5MvUbwFK1do0mOUraJiQL0Z95dtASiF3 qOiDlRREkfQ3Wcs/4cH8NZZgpqTzZYmG7lDQ0kmJ11NACcSimFOwUgJ1J6TNLb9pBZXm gSmwTTM2jCxEx5nM8J8/tgDzoC0Hi0sk0mDcA= Received: by 10.210.9.12 with SMTP id 12mr6178539ebi.3.1251753501724; Mon, 31 Aug 2009 14:18:21 -0700 (PDT) Received: from sacrilege ([91.191.238.58]) by mx.google.com with ESMTPS id 28sm35560eye.32.2009.08.31.14.18.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Aug 2009 14:18:20 -0700 (PDT) Date: Tue, 1 Sep 2009 03:18:09 +0600 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] keyboard copy paste Message-ID: <20090901031809.10b7c8d9@sacrilege> In-Reply-To: <87skf9ffg1.fsf@newsguy.com> References: <87skf9ffg1.fsf@newsguy.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/sfmgU5MKaLyAE+Z2okg6VDQ"; protocol="application/pgp-signature" X-Archives-Salt: ba480829-db1e-481f-9b6c-387565c2c8c8 X-Archives-Hash: 4c20fe73d59a17c144625489d48651dd --Sig_/sfmgU5MKaLyAE+Z2okg6VDQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 30 Aug 2009 11:13:02 -0500 Harry Putnam wrote: > Now I want to paste whats on the clipboard into an Xterm cmd line, > without going to the mouse. >=20 > I'm running recent Xfce4 desktop... but not finding a way to do this. >=20 > Can I just steal whatever events happen when middle click on three > button mouse and put them into a keyboard shortcut? >=20 > 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. --=20 Mike Kazantsev // fraggod.net --Sig_/sfmgU5MKaLyAE+Z2okg6VDQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkqcPhYACgkQASbOZpzyXnGE1gCgjpyngrWlqcLcQ3MbXEMm3EYy OiAAnAlz8KkIS1+SbEzCTI9lnLzyQcUa =IQol -----END PGP SIGNATURE----- --Sig_/sfmgU5MKaLyAE+Z2okg6VDQ--