Hello Dave,

On Fri, 28 Dec 2018 at 19:28, Dave C <qu...@dave-cohen.com> wrote:

> I've written a qrexec script which, among other things, attempts to place
> something into the clipboard, using `xsel`.
> xsel fails, with error: "xsel: Conversion refused"
>

I don't know what xsel is doing. I have written a script which uses xclip
(which needs to be installed as an additional package).
Maybe you can get some info from there:

Copy content from the dom0clipboard to an AppVMs clipboard including a
notification
https://github.com/one7two99/my-qubes/blob/master/home/bin/qvm-xclip-to-vm

--- --- ---
#!/bin/bash
# name : qvm-xclip-to-vm
# purpose: Copy the clipboard of dom0 to the clipboard of an appvm
# Usage : qvm-xclip-to-vm <AppVM>

AppVM=$1
xclip -o | qvm-run --pass-io $AppVM 'cat | xclip -selection clipboard
&>/dev/null'
notify-send --urgency low --icon image --expire-time=5000 "$0" "Clipboard
pasted from dom0 to $AppVM"
--- 8< --- --- ---

The other way around:
https://github.com/one7two99/my-qubes/blob/master/home/bin/qvm-xclip-from-vm

Additionaly there's a script to do the same for screenshots:
https://github.com/one7two99/my-qubes/blob/master/home/bin/qvm-screenshot-to-clipboard.sh

O.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2ufc3_gzpKRH7nqCJWSFLkdg_Zp4MJXyWqKeVCXFuu03Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to