Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize X11 clipboard with compositor clipboard. #47

Open
Cloudef opened this issue Nov 11, 2014 · 8 comments
Open

Synchronize X11 clipboard with compositor clipboard. #47

Cloudef opened this issue Nov 11, 2014 · 8 comments
Labels

Comments

@Cloudef
Copy link
Owner

Cloudef commented Nov 11, 2014

Currently you can't copy between X11 and wayland views.

@onny
Copy link

onny commented May 27, 2015

Gnome Mutter has clipboard synchronization now, see https://mail.gnome.org/archives/gnome-announce-list/2015-May/msg00030.html Maybe we can reuse this implementation here?

@onny
Copy link

onny commented May 28, 2015

@Earnestly
Copy link
Contributor

It makes heavy use of gtk+ and glib and it's still almost 1000 lines of code. This is scary stuff.

@Cloudef
Copy link
Owner Author

Cloudef commented May 29, 2015

Yeah, I'm aware of these links. We probably don't want to pull in gdk and glib. Weston has this code too actually. But I'm still avoiding this as the X11 clipboard is really pita and easy to get wrong.

It might make sense to do libclipboard that abstracts all these crap away. I've always wanted cross-platform clipboard solution that doesn't just use system("xclip"), and supports the mime conversions.
Though it's lots of boring code.

@onny
Copy link

onny commented May 29, 2015

Hm, I guess one does only need something like libclipboard in case of downwards compatibility to Xorg clipboard, right? Is it possible to create a seperate application, which can be run as a daemon in the background, to provide clipboard synchronization? This app could open some kind of dummy Xorg client to access the clipboard content etc.

@Cloudef
Copy link
Owner Author

Cloudef commented May 29, 2015

I was planning to do clipboard synchronization / history either as plugin or introduce protocol extension for daemon.

@ids1024
Copy link

ids1024 commented May 7, 2016

@alkino
Copy link

alkino commented Oct 13, 2016

Some thoughts on subject by Martin Graesslin. Developper of KDE Window Manager and KDE Plasma Compositor: https://blog.martin-graesslin.com/blog/2016/07/synchronizing-the-x11-and-wayland-clipboard/

He cheat with Qt to speak with X11 clipboard but need to implement link between both, and this is interesting to know. I think ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants