SUMMARY Disabling "Pastes selected text" for middle-click (almost) disables Emacs clipboard synchronization. STEPS TO REPRODUCE 1. Disable "Pastes selected text" setting and restart system. 2. Open Emacs and try to copy text with M-w (kill-ring-save) or C-w (kill-region). 3. Try to paste text or open history popup. OBSERVED RESULT Nothing gets saved to system clipboard. Weirdly enough C-k (kill-line) or C-M-k (kill-sexp) still saves things to clipboard. EXPECTED RESULT Copying and cutting text in Emacs works as usual. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.11.3-300.fc41.x86_64 (64-bit) Graphics Platform: Wayland
If emacs is using the primary buffer (middle click paste) buffer for storage, and we disable it there's nothing we can do at our level. You can try reporting it to emacs.