Re: [git pull] drm pull for v4.16-rc1

From: Dave Airlie
Date: Thu Feb 01 2018 - 21:51:00 EST


On 2 February 2018 at 12:44, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Feb 1, 2018 at 6:22 PM, Dave Airlie <airlied@xxxxxxxxx> wrote:
>>
>> Turned out I was running on wayland instead of X.org and my cut-n-paste from
>> gedit to firefox got truncated, wierd. I'll go annoy some people, and make sure
>> it doesn't happen again.
>
> Heh, so there's some Wayland clipboard buffer limit.

Yup or some bug getting the second chunks across from one place to another.

>
> But that reminds me: is there any *standard* tool to programmatically
> feed into the clipboard?
>
> I occasionally do things like
>
> git shortlog A..B | xsel
>
> in order to then paste it into some browser window or other.
>
> And sure, that works well. But I do it seldom enough that I never
> remember the command, and half the time it's not even installed
> because I've switched machines or something, and xsel is always some
> add-on.
>
> What's the thing "real" X people do/use?

I use gedit to move things from files to clip now, for mostly the same reasons,
I know it's installed usually. xclip and xsel are two utilities I know
off, but I don'
think anything gets installed by default.

Dave.