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

Doesn't seem to work #25

Closed
dacconcio opened this issue Aug 12, 2023 · 15 comments
Closed

Doesn't seem to work #25

dacconcio opened this issue Aug 12, 2023 · 15 comments

Comments

@dacconcio
Copy link

Hi, thanks for developing this. When I run the app in arch it doesn't seem to do anything. When I click the middle mouse button, it still pastes.

@Jackenmen
Copy link

Try running from this commit (it's one commit before the latest): 9404498

@dacconcio
Copy link
Author

Thanks @Jackenmen. Is it possible to do that using the AUR?

@Jackenmen
Copy link

xmousepasteblock AUR package seems to pin at 1.2 which is equivalent to what I said already, xmousepasteblock-git doesn't seem to though so if you're using that, try switching.

@dacconcio
Copy link
Author

I'm using the AUR. Is there anything else I can try? The program runs, but when I click on the middle mouse button while it's running it still pastes.

@Jackenmen
Copy link

Two things that come to my mind:

  • make sure that you are actually using X11, this doesn't work with Wayland and while Wayland itself doesn't bind middle mouse button to paste, some desktop environments will simulate it on their own when running on Wayland which could make you think that you're using X11
  • make sure that you're running it under the current session user - NOT as root

@Jackenmen
Copy link

I'm using the AUR.

I noticed that you still haven't explicitly said which AUR package you are using :P

@dacconcio
Copy link
Author

Yes, I'm using X11. I'm running it normally not with sudo or anything.

I'm pretty new to linux/Arch, so I'm not sure I understand. It's the package located here: https://aur.archlinux.org/packages/xmousepasteblock-git

@Jackenmen
Copy link

Yeah, as I said earlier, if you're using xmousepasteblock-git package, you should try xmousepasteblock package instead, here's the link: https://aur.archlinux.org/packages/xmousepasteblock

@dacconcio
Copy link
Author

Oh, I misunderstood. I'll try that now

@dacconcio
Copy link
Author

It works! Awesome, thanks so much

@Jackenmen
Copy link

No problem, glad I could help :)

@lawnjelly
Copy link

I also found that reverting 8237434 made it work. It didn't work on my Linux Mint 21.1 Cinnamon with the latest.

Maybe that commit should be revisited...

@pauloamed
Copy link

I also had to revert the last commit (8237434) in order to make it work on Ubuntu 22

@RedSnt
Copy link

RedSnt commented Feb 7, 2024

Tried both v1.3 and v1.2 and even did make debug and it says Primary selection and cut buffer cleared when using middle mouse button, yet still pastes. In KDE Plasma 2.27.5 there's no option in Klipper to "prevent empty clipboard" which I'm suspecting is the culprit. Sucks, because middle mouse button paste is just silly.

EDIT: Oh, I feel silly for not reading this readme part about ~/.config/klipperrc (although from a fork of this project).
EDIT2: Ohhh, so apparently NoEmptyClipboard needs to be set to true now for this to work, because it was a bug that has been fixed according to this. Setting it to true makes it work for me now using v1.2 🥳
EDIT3: After a restart it stopped working, so not sure what Klipper's deal is, but disabling it altogether fixes it. Going to use another clipboard manager since that's the culprit. CopyQ seems decent, and it works with XMousePasteBlock 👍

@milaq
Copy link
Owner

milaq commented Feb 10, 2024

Should be fixed by 0f4c279

@milaq milaq closed this as completed Feb 10, 2024
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

6 participants