The secondary-selection is used when the cursor is in some focussed Recipient window, in order to grab some text (or whatever) from some Donor window (possibly the same window as the Recipient) and have that text pasted at the Recipient’s insertion-point (overwriting any primary-selection in the Recipient).

  • Will@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    You’re describing the primary selection. The article’s about patching secondary selection back into gtk3 (c. 2015?). It’s ctrl+select followed by ctrl+middle to paste as yet another clipboard. This has the unique and useful property that neither selection nor paste changes the text cursor’s position.

    A more in-depth look at secondary selection is in the embedded video which has it’s own write-up on https://www.cs.man.ac.uk/~lindsec/secondary.html

    [I suspect primary-secondardy selection is not a confusion you have, but one a casual skip-the-article-direct-to-comments reader might have]

    • Quazatron@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      I assumed primary is ctrl-c/ctrl-v and secondary is select/middle-click. I’ve never come across this ctrl-middle-click, it does the same with and without the ctrl key.

      I seen to recall reading something this week about a distro dropping middle click, so I probably conflated both issues and failed.

      But you’re right, I did not read the fine article.