Giter Site home page Giter Site logo

Comments (7)

phillbush avatar phillbush commented on May 26, 2024 1

Copying does work between applications, guess I'll close this then. Any recommendations for an xclip alternative?

The only X11 clients that work as source and destination for the clipboard are xclip and xsel.
xsel, however, seems to not support targets provided by the user.

I want to expand xclipd in the future with two more commands, one for writing into the clipboard, and the other for reading from the clipboard, thus providing replacements for xclip -in and xclip -out. Those commands will implement the full ICCCM specification, and thus work with other programs.

However, I have implemented into xclipd a solution to work with xclip and other clients which do not fully implement the ICCCM specification. More information in the commit message.

from xcliputils.

phillbush avatar phillbush commented on May 26, 2024 1

Hi, xclipd is now included with a few other utilities, two of which, xclipin and xclipout can replace xclip -in and xclip -out commands.
xclipd still works with not fully ICCCM-compliant applications such as xclip.

from xcliputils.

phillbush avatar phillbush commented on May 26, 2024

I can copy from Firefox into GIMP with no problems.
I faced a problem, however, on X11 clients that do not support the MULTIPLE target, like xclip (xclipd needs that the clipboard source supports the MULTIPLE target).

What are the clipboard source application (the one you Ctrl-C) and the clipboard destination application (the one you Ctrl-V)?

from xcliputils.

BanchouBoo avatar BanchouBoo commented on May 26, 2024

Using xclip with the image/png target to copy, pasting into Discord and GIMP both did not work.

from xcliputils.

phillbush avatar phillbush commented on May 26, 2024

Yeah, as I supposed: xclip.
It lacks support for the MULTIPLE target.
There's an issue there for that.

If copying images works between other applications (say from Firefox to GIMP) but not from xclip, then that's not a bug on xclipd side, but on xclip's. (Although they are named alike, those projects are not related).

I can make a workaround for clients that does not support the MULTIPLE target, but that's a hack. The optimal solution is to all X11 clients engaging into the clipboard selection mechanism to implement the ICCCM selection protocol.

from xcliputils.

BanchouBoo avatar BanchouBoo commented on May 26, 2024

Copying does work between applications, guess I'll close this then. Any recommendations for an xclip alternative?

from xcliputils.

BanchouBoo avatar BanchouBoo commented on May 26, 2024

Works now, thanks!

from xcliputils.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.