Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Gnome and Firefox Consider Disabling Middle Click Paste by Default (phoronix.com)
6 points by speckx 12 days ago | hide | past | favorite | 3 comments




I wish Chrome would disable it too.

Middle click is typically used for "Open in a new tab", people barely remember that it simultaneously pastes your clipboard (e. g. see https://evercoder.github.io/clipboard-inspector/) without "clipboard read" consent dialogue, which quacks like a security vulnerability.


> It's commonly used for other actions or more often getting clicked by accident, and dumping your entire clipboard while having no indication that this will happen is nothing short of a dumpster fire.

> gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true

Tell me you don't understand X11 without telling me you don't understand X11.

PRIMARY is "the thing you selected" for an operation.

SECONDARY is "the other thing you selected", for an operation that takes two args.

CLIPBOARD is the interprocess data transfer mechanism.

This is why Firefox has the https://kb.mozillazine.org/Clipboard.autocopy flag. Select text in a page, and move it automatically to the interprocess space.

X11 systems have been plastering over the distinction forever.


Great! I always disable it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: