How to disable middle mouse button pasting and set for navigating?

I’m new using latest Manjaro KDE,
I just realized that middle click button with external mouse will cause paste action

Recently I work with Figma which is need to use middle click mouse to navigate workspace easily without switching to navigate mode/ Hand Tool

Also, I compare with Windows, middle click also able to navigate horizontal or vertical scroll. I can’t do that on my Manjaro KDE

There are similar post about this but not satisfy me

System Settings → Window Behavior → Window Actions → Inner Window → Middle click → Move

Not seeing this ‘move’ option.

I feel your pain. Welcome to Manjaro Linux. :partying_face:

Middle click copy/paste is a (cancerous) default setting in X11/Xorg Server. There is no option to disable this setting however there is an option to make the middle click behave like a scrollwheel where you can move the mouse up and down to scroll (not like on windows tho), the catch with that one is however that it completely overrides all middle mouse clicks, e.g. u can no longer use middle mouse clicks to for example click on links to open them in a new tab, or in games.

You are in luck however, if you are on AMD hardware as your profile suggests, you have the option of just using Wayland instead which does not have this middle click pasting option enabled by default (although some desktop environments for wayland, like say KDE, might have this option enabled by default, you should at least be able to disable it)

There are two ways I know of to get rid of middle click paste on X.

1: Install this package and autostart it on every boot.
Downside is that if you copy text from an application, then close that application, your copied text will be forgotten by your clipboard, you can use your clipboard manager to get it back though but it is annoying.

2: Follow the steps in this particular answer:

Downsides are the same.

As for the autoscrolling (which is what the middle click to scroll function available on windows is called)

Autoscrolling is actually not enabled by default in windows, it’s a feature of windows but applications have to specifically support it, and most applications do not support it, some key ones however (like say web browsers) do.

There is no autoscrolling support specific to linux, that does not mean you cannot get autoscrolling on linux.

First you gotta ask yourself where you actually need autoscrolling, if you just need autoscrolling in your web browser that’s easy.

Assuming you’re using chrome/chromium there is a browser extension you can get that will enable autoscrolling for you like you are used to on windows.

If you’re using firefox, it’s simply a setting in firefox that you have to enable to get it.

If you want system-wide autoscrolling (something that windows does not actually have as I mentioned before) there has been some discussion and attempts at that here:

If you want to use that script, be careful to use Cestarian’s latest script rather than Azerothian’s which is slightly outdated.

This method only works on X Server and not on Wayland.

Ah well, either way I’m afraid that’s not what OP was looking for.

Switching to wayland is worked for me, but it has another problem like blurry display and got some glitch when display scaling is enabled

Well, I am less versed in troubleshooting wayland issues since I’ve never used it, but it sounds like you have some scaling issues, maybe try changing your scaling settings?

Also maybe a simple web search of blurry displays on wayland might give you a solution.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.