I recently started the process of switching over to wayland and, so far, it’s going reasonably well. There are still a few things to get working, but I’m happy with the progress speed.

One of the more annoying problems, however, is using the clipboard. I’m mostly seeing it in Alacritty - which I didn’t really use before, so maybe that’s the culprit, but the normal select/middle click doesn’t seem to work consistently. Sometimes I does and occasionally it just doesn’t. Same for CTRL-C/CTRL-V. Either nothing gets pasted or is pastes something I selected 20 minutes ago and had forgotten about - but I can’t replace the clipboard for love nor money.

Any suggestions on this gratefully received. Ideally, I’d like it to work how it did before and consistently - which is that either of the two above mentioned methods worked.

Thanks in advance.

  • PainInTheAES@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    I think I may have had an issue like this in the past where the clipboard wasn’t working at all. I believe I resolved it by installing wl-clipboard. There are also a few issues related to alacritty and clipboards in their GitHub from a while back so it might be version dependent as well.

    Sharing your distro may be helpful to resolving this issue.

    • daddyjones@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      7 months ago

      yes - sorry. It’s Arch. I’m also running in Hyprland - which you may be able to tell from the title, but I forgot to mention it in the text.

      Edit: I just checked and wl-clipboard is installed.

      • PainInTheAES@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        Ok, I also run Alacritty on Arch but I’m using KDE and tmux so it might be a bit different.

        Do you have save_to_clipboard = true under [selection]?

  • moody@lemmings.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I have a similar issue on Pop OS. Sometimes Ctrl-C doesn’t copy right away. But if I do it 2-3 times, it works. I’ve learned to Ctrl-C 3 times when I want to be sure that the copy works. Same thing with the middle mouse button.