all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: nly <nly@disroot.org>
Cc: 34216@debbugs.gnu.org
Subject: bug#34216: Shroud require xclip for x clipboard
Date: Sun, 27 Jan 2019 13:02:01 +0200	[thread overview]
Message-ID: <20190127110201.GA8685@macbook41> (raw)
In-Reply-To: <87lg36tlq7.fsf@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

On Sun, Jan 27, 2019 at 04:23:52PM +0530, nly wrote:
> 
> 
> > /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,
> 
> I see, thanks.
> 
> > patch the reference to it so shroud can always find xclip.
> 
> How? 
> 
> Snippet from (shroud utils):
> 
> ;; 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))
> 
> ;; 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))
> 
> 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.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2019-01-27 11:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 10:17 bug#34216: Shroud require xclip for x clipboard Amar Singh
2019-01-27 10:29 ` Efraim Flashner
2019-01-27 10:53 ` nly
2019-01-27 11:02   ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190127110201.GA8685@macbook41 \
    --to=efraim@flashner.co.il \
    --cc=34216@debbugs.gnu.org \
    --cc=nly@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.