spacemacs icon indicating copy to clipboard operation
spacemacs copied to clipboard

[xclipboard] add support for wl-copy/wl-paste

Open epsilon-0 opened this issue 3 years ago • 5 comments

xclipboard layer doesn't have support for wayland, which has wl-copy/wl-paste as the most widely used clipboard tools for the command line.

epsilon-0 avatar Jul 25 '22 22:07 epsilon-0

it shouldn't support Wayland. xclipboard requires X.

lebensterben avatar Jul 25 '22 23:07 lebensterben

Obviously not, it also supports windows and macos. There's no reason why it shouldn't be able to support wayland.

epsilon-0 avatar Jul 26 '22 01:07 epsilon-0

Good point. Windows and macOS support should be removed from xclipboard layer.

lebensterben avatar Jul 26 '22 02:07 lebensterben

workaround: https://www.emacswiki.org/emacs/CopyAndPaste#h5o-4

lebensterben avatar Jul 26 '22 02:07 lebensterben

  • Note that you don't need xclipboard layer for X. It simply works out-of-box.
  • You do need the workaround for Wayland. But this should not be in xclipboard layer. If it's added to Spacemacs, it should be added in spacemacs-editing layer.
  • Support for macOS and Windows has nothing to do with X Clipboard so this layer is confusing.

lebensterben avatar Jul 26 '22 02:07 lebensterben

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

github-actions[bot] avatar Jul 26 '23 02:07 github-actions[bot]