Package Details: xmousepasteblock 1.4-3

Git Clone URL: https://aur.archlinux.org/xmousepasteblock.git (read-only, click to copy)
Package Base: xmousepasteblock
Description: Userspace tool to disable middle mouse button paste in Xorg
Upstream URL: https://github.com/milaq/XMousePasteBlock
Keywords: block clipboard disable middleclick mouse paste primary selection x11 xorg
Licenses: GPL
Conflicts: xmousepasteblock-git
Submitter: peelz
Maintainer: peelz
Last Packager: peelz
Votes: 4
Popularity: 0.43
First Submitted: 2023-03-08 21:26 (UTC)
Last Updated: 2024-11-08 23:41 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

dough.mean commented on 2023-05-05 18:15 (UTC)

The service isn't working for me on startup:

May 05 18:05:59 username systemd[455]: Started X daemon that listens for middle mouse click events and clears the primary X selection.
May 05 18:05:59 username systemd[455]: xmousepasteblock.service: Main process exited, code=exited, status=1/FAILURE
May 05 18:05:59 username systemd[455]: xmousepasteblock.service: Failed with result 'exit-code'.
May 05 18:05:59 username systemd[455]: xmousepasteblock.service: Scheduled restart job, restart counter is at 6.
May 05 18:05:59 username systemd[455]: Stopped X daemon that listens for middle mouse click events and clears the primary X selection.
May 05 18:05:59 username systemd[455]: xmousepasteblock.service: Start request repeated too quickly.
May 05 18:05:59 username systemd[455]: xmousepasteblock.service: Failed with result 'exit-code'.

Manually running systemctl --user enable --now xmousepasteblock.service works once I've logged in. I'm using bspwm.

peelz commented on 2023-03-08 21:41 (UTC) (edited on 2023-11-08 16:42 (UTC) by peelz)

Please don't flag as out-of-date!

The latest upstream version (1.3) doesn't work for many users, which is why this package is currently pinned to the last known working release (1.2).

It also includes a systemd user service so it can be initialized without having to modify session init scripts manually.

I tested the systemd service on both GNOME (43.3) and KDE Plasma (5.27.2), both appear to work fine.