From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B88E01384AE for ; Sun, 20 Sep 2015 08:19:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BADD1E08BF; Sun, 20 Sep 2015 08:18:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B6A0E08B8 for ; Sun, 20 Sep 2015 08:18:57 +0000 (UTC) Received: from localhost (unknown [46.148.228.38]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bircoph) by smtp.gentoo.org (Postfix) with ESMTPSA id C286334087E for ; Sun, 20 Sep 2015 08:18:55 +0000 (UTC) Date: Sun, 20 Sep 2015 11:18:40 +0300 From: Andrew Savchenko To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Can't paste from selection in gtk-3 apps Message-Id: <20150920111840.aee7a82d8400b500026fd64b@gentoo.org> In-Reply-To: References: <4495733.REUhFB2KrW@andromeda> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.20; i686-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; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Sun__20_Sep_2015_11_18_40_+0300_LNXdORmWDHqQTnqc" X-Archives-Salt: d94b2034-38f2-41da-b2ad-6437e7c7eaba X-Archives-Hash: 680e9d6e1ad47d3969963306f53b11a0 --Signature=_Sun__20_Sep_2015_11_18_40_+0300_LNXdORmWDHqQTnqc Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 16 Sep 2015 14:41:48 +0000 (UTC) Grant Edwards wrote: > On 2015-09-16, J. Roeleveld wrote: > > On Tuesday, September 15, 2015 06:57:36 PM Grant Edwards wrote: > >> On 2015-09-15, Grant Edwards wrote: > >> > In most X11 apps I can select some text and then paste it somewhere > >> > else with a middle-click, or dump it to stdout with the command 'xcl= ip > >> > -o'. That doesn't work for highligted text in gtk-3 apps (meld, > >> > evince, audacious, etc.). After selecting text in a gtk-3 app, if I > >> > middle-click in a terminal window it does nothing and 'xclip -o' just > >> > hangs. Selecting text elsewhere will deselect the text in the gtk-3 > >> > app, so gtk-3 isn't _completely_ ignoring X11 clipboards/buffers. > >> >=20 > >> > Any ideas why gtk-3 copy/paste is broken and how to fix it? > >>=20 > >> Ah, it turns out it's only a problem if you have multiple screens: you > >> can only paste a gtk-3 selection if the destination is on the same X11 > >> screen as the source. I'm pretty sure this is a known problem, but > >> I'm having trouble finding it again in the Gnome bugtracker... > > > > Must be related to gtk-3 then. > > > > I use 2 screens extensively and never experienced any issues like you=20 > > describe. >=20 > And you can select/paste from one screen to another where the source > is a gtk-3 app? >=20 > I should clarify that I mean "screen" in the strict X11 usage. Using > Xinerama or the like to spread a single desktop across multiple > monitors is still a single screen setup. I'm trying to select text on > DISPLAY=3D:0.0 and paste it on DISPLAY=3D:0.1 Just for the record: I have the same problem with multihead setup (:0.0 and :0.1). While selecting with mouse doesn't work. Using menu functions "copy" in one application and "paste" in another one works fine. IIRC there are actually two buffers in X: for mouse selection and for copy-and-paste (both via menu and keyboard shortcuts). Best regards, Andrew Savchenko --Signature=_Sun__20_Sep_2015_11_18_40_+0300_LNXdORmWDHqQTnqc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJV/mvgAAoJEPZTWjO6HuSN11UP/05nGvhUqfnwoqMd+YIn8GQG KFgGJhwRQ0oTAd6P15gY5SX1qtD8HghmimwZ9QSCxHewggS7nG36XSJj6+mkj2pt I7FM2c8TpN2W7ATzQCCDtoor5DtS9+wpvbsi6XebPIzR/dQOLZNN41IumTSddCmP P5F1tHZZO3i55xGnLL2jO8kCEH3END0oV05afBDohC7MNdA0C4Dakl9W9hdrtCKT 2SWBWMSWfiwQSGMV1JnuBVOLpHKJSEBjzpf0JzunroxZk32jDyHpRN2e4mLexj2R hR8d4KP08WVs/fRc/88TQ8LbFjBJLZj5PkDy8m28RgqRF5Vv752dNY4oz9WfThxo 8HyKGpTt2YYR0Gk0HpcPOsdtkxg3rt4qSgG9n9xRs00SdPZ5FXoN5I8mB3mu0lur df/0t+Z0cqvNDngoYmRKidYdnZzhGQq9dThQtiYXsS5oiZ+JRM/KPH5f2Pk4MUzr Nu9V5am6PtCTCKZQLckmC15G1xqnWRdMKYyU/tckyqhtb+c1SgZ8y+WwG8a9b086 Herlue79ixiscANAYABIBiOt0dVvt13O3KP0kLCdMdtSG48KZ6x14Oup95OoG6eB 4ZP+9IwElzeYgnmN+4McYKgmfOarcZ/d4W1ej4ClUD68D6z0ZS4KV1crRVzQf7Qf hIBUTaschutU0S9zNyzO =fJoG -----END PGP SIGNATURE----- --Signature=_Sun__20_Sep_2015_11_18_40_+0300_LNXdORmWDHqQTnqc--