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

Support for Wayland? #44

Open
IamNoRobot opened this issue Jan 23, 2023 · 4 comments
Open

Support for Wayland? #44

IamNoRobot opened this issue Jan 23, 2023 · 4 comments

Comments

@IamNoRobot
Copy link

Hi,
I'm using Linux (KDE Neon 22.04) on my desktop with Wayland and Debian Bullseye on my (headless) little Homeserver.
Sharing the Clipboard works MARVELOUS on a Xorg Session. Absolutely no Issues.

No such luck on Wayland tough. When I have lemonade server running on my Desktop, it'll still print lines, when trying to do something on the Client with the Clipboard, but there is no exchange between the boards.

I suppose lemonade is using xsel or xclip on the server side? This would explain why it ain't working with Wayland. Is there a way around that? Or am I overlooking something very obvious and just make a fool out of myself?

Thanks for any help.

(Ps: Thanks for your work! I really appreciate it!)

@leafee98
Copy link

Wayland is supported, but you need to install wl-clipboard first.

@toantk238
Copy link

I confirm that Lemonade is working on Wayland. I'm using EndeavorOS with Gnome3 + Wayland.

@andrewjwaggoner
Copy link

This issue can be closed.

@hholst80
Copy link

hholst80 commented Aug 23, 2024

If you don't have that you might write your own lightweight wl.

#!/bin/bash
case $1 in
  server)
    socat TCP-LISTEN:2489,FORK SYSTEM:"wl-copy -n" &
    socat TCP-LISTEN:2490,FORK SYSTEM:"wl-paste -n" &
    wait
    kill %1 %2
    ;;
  copy)
    shift 1
    if [ $# -eq 0 ] 
    then
      nc -c 127.0.0.1 2489
    else
      echo "$@" | nc -c 127.0.0.1 2489
    fi
    ;;
  paste)
    nc -c 127.0.0.1 2490
    ;;
esac

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

No branches or pull requests

5 participants