There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Shift+Ins vs. Middle Mouse Button

Why is it, that some applications (namely Firefox and VSCode) seems to place the current selection into the buffer that is accessed with the middle Mouse Button and not the one accessed by Shift+ins, used anywhere else.

It seems usually selecting places the content into both buffers, but just not in platform ignorant builds…

This often breaks my work flow. Any idea on how to fix this?

DAT ,
@DAT@feddit.de avatar

nah

that’s some age old struggle

idk how people still justify that clusterfuck, but it’s that way since forever. I remember vividly how we were annoyed by such shit with some “cross platform” gui toolkits (or browsers) back when debian woody still was relevant.

This won’t be solved in this decade. or the next.

twistypencil ,

Such stupidity, this drives me nuts

feral_hedgehog ,
@feral_hedgehog@pawb.social avatar

There’s a bug open for Firefox and you can change VSCode’s behavior by putting this in your keybindings.json:


<span style="color:#323232;">{
</span><span style="color:#323232;">    "key": "shift+insert",
</span><span style="color:#323232;">    "command": "editor.action.selectionClipboardPaste",
</span><span style="color:#323232;">    "when": "textInputFocus &amp;&amp; !editorReadonly"
</span><span style="color:#323232;">}
</span>

Not sure why either of them are messing with a “standard” shortcut…
If you want a more system-wide solution there are utilities that let you sync the PRIMARY (on selection) and CLIPBOARD (Ctrl+c) buffers mentioned in the Arch Wiki entry.

feral_hedgehog ,
@feral_hedgehog@pawb.social avatar

Looked around some more - maybe it’s because they’re all GTK apps?
unix.stackexchange.com/…/why-does-shiftinsert-pas…

ipsirc ,
@ipsirc@lemmy.ml avatar

<span style="color:#323232;">autocutsel -cutbuffer 0 -f -s PRIMARY
</span><span style="color:#323232;">autocutsel -f -s CLIPBOARD
</span>
tal ,
@tal@kbin.social avatar

If you merge CLIPBOARD and PRIMARY, every time you select text, you'll wipe out the contents of CLIPBOARD. You won't be able to copy text, then do any work that involves selecting text, then paste.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines