From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: xfreerdp clipboard not working
Date: Thu, 26 Mar 2015 14:26:18 +0000 (UTC) [thread overview]
Message-ID: <mf14ua$fiv$2@ger.gmane.org> (raw)
In-Reply-To: CAJ0EP43jJ-u0PxGG5usTvzNWeVKm0=aknRXsgMJitH3Rx+E=VQ@mail.gmail.com
On 2015-03-26, Mike Gilbert <floppym@gentoo.org> wrote:
> On Wed, Mar 25, 2015 at 5:46 PM, Grant Edwards><grant.b.edwards@gmail.com> wrote:
>> On 2015-03-25, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>>> On 2015-03-25, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>>>
>>>> I start it, and it says it's loading the clipboard plugin
>>>>
>>>> $ xfreerdp +clipboard /u:xxxxxx /p:yyyyyy /v:N.N.N.N
>>>> loading channel cliprdr
>>>> connected to N.N.N.N:3389
>>>>
>>>> But no ctrl-V never pastes anything from the X11 clipboard the way it
>>>> always did with rdesktop.
>>>
>>> Um, never mind.
>>>
>>> It has started working, but I have no idea why... :/
>>
>> I spoke too soon. Sometimes it works, sometimes it doesn't. I seems
>> to be completely random.
> I wonder if you are running into an obscure quirk of X11. X11 actually
> has 3 buffers that are clipboard-link in nature: PRIMARY, SECONDARY,
> and CLIPBOARD.
[...]
> In general, any text you select becomes the PRIMARY selection
> automatically. Anything you explicitly copy via the context menu
> "Copy" option becomes the CLIPBOARD selection.
Yep, I use xclip to explicitly copy to CLIPBOARD whatever I want to
paste into Windows. That always worked without problems using the
older rdesktop rdp client.
What happens with xfreerdp is that it will _sometimes_ work the first
time I do
<somecmd> | xclip -i -selection clipboard
[hit ctrl-V on windows]
But after that, no matter how many times I run xlicp -i again, Ctrl-V
will continue to insert the same thing (or nothing, if it didn't work
the first time).
It will always work if I do this:
1) Select something in Windows session and hit Ctrl-C or Ctrl-X
2) xclip -o -selection clipboard
3) <somecmd> | xclip -i -selection clipboard
4) Hit Ctrl-V on Windows
I'm going to unamsk xfreerdp 1.2.0 and see if it works any better.
--
Grant Edwards grant.b.edwards Yow! I know things about
at TROY DONAHUE that can't
gmail.com even be PRINTED!!
next prev parent reply other threads:[~2015-03-26 14:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-25 21:07 [gentoo-user] xfreerdp clipboard not working Grant Edwards
2015-03-25 21:13 ` [gentoo-user] " Grant Edwards
2015-03-25 21:46 ` Grant Edwards
2015-03-25 23:28 ` Alan McKinnon
2015-03-26 0:54 ` Mike Gilbert
2015-03-26 14:26 ` Grant Edwards [this message]
2015-03-26 15:34 ` Grant Edwards
2015-03-26 19:32 ` Mike Gilbert
2015-03-27 18:32 ` Grant Edwards
2015-03-26 19:04 ` Fernando Rodriguez
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='mf14ua$fiv$2@ger.gmane.org' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox