Middle-click paste functionality is something that is part of either Wayland or Xorg, so the solution will vary depending on which one you're using. From doing some preliminary search I came across this thread with a potential fix for Xorg: https://www.linuxquestions.org/questions/linux-newbie-8/disa...