From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#34216: Shroud require xclip for x clipboard Date: Sun, 27 Jan 2019 13:02:01 +0200 Message-ID: <20190127110201.GA8685@macbook41> References: <87y376tneg.fsf@disroot.org> <87lg36tlq7.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniPl-0005rp-Lc for bug-guix@gnu.org; Sun, 27 Jan 2019 06:15:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gniDP-00019y-06 for bug-guix@gnu.org; Sun, 27 Jan 2019 06:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gniDO-00019f-R3 for bug-guix@gnu.org; Sun, 27 Jan 2019 06:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gniDO-0007My-Hl for bug-guix@gnu.org; Sun, 27 Jan 2019 06:03:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87lg36tlq7.fsf@disroot.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: nly Cc: 34216@debbugs.gnu.org --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 27, 2019 at 04:23:52PM +0530, nly wrote: >=20 >=20 > > /gnu/store/w862nkwzvv2m3ng5lg5zlic1i962g416-gnupg-2.2.12 238.= 8 10.1 3.8% > > /gnu/store/agz9m74v7235h30mc3bdmj2nmyxqga4c-xclip-0.13 102.= 7 0.1 0.0% > > Looks like xclip is already in the closure of shroud, >=20 > I see, thanks. >=20 > > patch the reference to it so shroud can always find xclip. >=20 > How?=20 >=20 > Snippet from (shroud utils): >=20 > ;; Instance of use of xclip > (define (call-with-clipboard proc) > "Call PROC with an open output port to the X clipboard." > (call-with-output-pipe* (list %xclip "-selection" "clipboard") proc)) >=20 > ;; Use of gpg > (define (call-with-encrypted-output-file file user-id proc) > "Apply PROC with an output port that writes encrypted data to FILE > for the recipient USER-ID." > (call-with-output-pipe* `(,(gpg-binary) > "--no-tty" "--batch" "--yes" > "--encrypt" "--armor" > "--recipient" ,user-id > "--output" ,file) > proc)) >=20 > Thanks, > amar I also looked at the code and it looks like there's already substitution in place to record the locations of xclip and gpg. Perhaps you're trying to paste from the wrong clipboard? "clipboard" indicates that "Control + V" should work for pasting. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxNj6kACgkQQarn3Mo9 g1GkHA//XRrCCteQhW9iKPbFf9EPOq5EZJ2nwHj9E15O9GBSd6MICZGLzdQj+hyt R26N7+SDlGwp9K8zKWcq/x0oyOp0xARK6TePUwmVGiihbyhOszdUpiJnrm8lLlJm wMzrrl8v7UyKEgNWtNeixCC5Q7FJR/fexpb8hPHwBcgKQ9ZPjllsR5ZVFzeNpjZQ 2Td7Ov9T2MYjeSUuDB2hTFJGvs/Cb1zZP9SXXt/Mmeezz7/iIoV4nRjkupIU7+H2 h/NkTMBHwzbAa2DHkuNRodPCU42QyuI9+ga1TDUXfJ7g3ilHc5yzcL9sZIiw8B3N +ravwZ2C4ZGWkrkDi6a2JQywLJ93hnzpHnR1kxMJYA5kWoEcGpLITwFy/cyJR+QF J3/2WS8iZuBOnhEMgUzCNYQO4s1N/7F6n9FrQHoIYffCiffqq/aVAzsqgdhJwp09 MqkDvaicDol5o2AsxOrTGzYikk+PuVjO/2/UkmZDjn3wjGVEVoWBcdK123vVrlKL pChJ+qbPsjSFNjkn3n62D+9uW3xLuz927PB3DmRSohC63pRP2qX3SJM/83nAiwdb FHqXRgzKigNHp7dvnyMf16LkyRkgyOz4f19TgxCWh26VivgPc9kQ0zGaR30d7dvq Sm43yT9FWcliVci7EHCVrO1wS7EvNOSmy3O5tjaVitSi20goSSc= =Ynf+ -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--