You are not logged in.

#1 2020-04-21 14:38:38

aumars
Member
Registered: 2018-01-08
Posts: 23

[SOLVED] Disabling XF86Paste on MMB, XF86Back and XF86Forward

I have read and followed the xmodmap wiki page to find a way to remove the "paste" (XF86Paste) functionality on my middle mouse button (keycode 143) and to remove the "back" and forward" options of side mouse buttons (keycodes 166 and 167). I've copied xmodmap -pke output to ~/.Xmodmap and have activated the custom table as instructed in the wiki page: https://wiki.archlinux.org/index.php/Xm … stom_table. However, xmodmap -pke shows that

keycode 143 = XF86Paste NoSymbol XF86Paste
...
keycode 166 =
keycode 167 =

For some reason, even though my .Xmodmap is;

keycode 143 =
...
keycode 166 =
keycode 167 =

I've also looked into previous arch forum posts and nothing comes up as a solution: https://bbs.archlinux.org/viewtopic.php?id=195096. Has anyone found a solution to this?

Last edited by aumars (2020-06-08 20:34:09)

Offline

#2 2020-04-21 19:47:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,854

Re: [SOLVED] Disabling XF86Paste on MMB, XF86Back and XF86Forward

If you run

xmodmap -e 'keycode 143 = '

is the symbol gone?

This will however not disable the MMB behavior, see https://bbs.archlinux.org/viewtopic.php?id=248817

Offline

#3 2020-04-21 20:58:46

aumars
Member
Registered: 2018-01-08
Posts: 23

Re: [SOLVED] Disabling XF86Paste on MMB, XF86Back and XF86Forward

seth wrote:

If you run

xmodmap -e 'keycode 143 = '

is the symbol gone?

This will however not disable the MMB behavior, see https://bbs.archlinux.org/viewtopic.php?id=248817

The symbol is still there, I can still paste text with my MMB.

Offline

#4 2020-04-21 21:00:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,854

Re: [SOLVED] Disabling XF86Paste on MMB, XF86Back and XF86Forward

That's kinda weird, but again: this has no impact on the MMB behavior anyway. See the link I posted.

Offline

Board footer

Powered by FluxBB