Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
markstos@lemmy.world to Linux@lemmy.ml · 1 年前

Progress towards universal Copy/Paste shortcuts on Linux

mark.stosberg.com

external-link
message-square
105
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
  • mechanical_keyboards@programming.dev
  • mechanicalkeyboards@lemmy.ml
  • ergomechkeyboards@lemmy.world
  • linux@programming.dev
270
external-link

Progress towards universal Copy/Paste shortcuts on Linux

mark.stosberg.com

markstos@lemmy.world to Linux@lemmy.ml · 1 年前
message-square
105
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
  • mechanical_keyboards@programming.dev
  • mechanicalkeyboards@lemmy.ml
  • ergomechkeyboards@lemmy.world
  • linux@programming.dev
On Linux, Control-C and Control-V don't work for copying and pasting in terminals. The Control modifier is used for its original purpose of inserting control codes. Instead, terminal apps require an extra Shift modifier, like Control+Shift+C. But what if there were hidden shortcut combos for copy and paste
  • yaroto98@lemmy.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 年前

    That’s why we have mice copy/paste bindings on most systems too. Highlighting text auto copies, and scroll wheel click pastes. Not all do this, but many do and have for a while.

    • markstos@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      1 年前

      That’s a popular terminal feature, but I regularly get tripped up because my terminal has that behavior but my browser does not.

      That’s what’s nice about a global solution.

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 年前

        in most systems this is global. it’s provided by the desktop and programs just see a copy/paste event. are you on wayland by any chance?

        • markstos@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          Yes.

          • lime!@feddit.nu
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 年前

            yeah that’d do it. on X11 this is a solved problem, but wayland delegates the responsibility to the wm, and i don’t think anyone other than gnome has actually implemented it. another one of the paper cuts that makes it hard for me to make the switch.

            • the_weez@midwest.social
              link
              fedilink
              arrow-up
              1
              ·
              1 年前

              I’m on Sway and I use the mouse copy and paste all day everyday.

      • mina86@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        4 个月前

        deleted by creator

        • janAkali
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 年前

          There’s only two. One has broken primary selection, the other has anti-user policies against adblock plugins.

          I can live without copy on highlight. But you could pry UBlock Origin from my cold, dead hands.

          • mina86@lemmy.wtf
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            4 个月前

            deleted by creator

            • janAkali
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 年前

              Copy on select and middle mouse button paste doesn’t work in text fields created by js code in Firefox. I remember finding a stale bug report for it, but can’t find it.

              There are a lot of websites that use javascript to create text fields, some recent examples that I can remember right now:

              • codewars.com
              • claude.ai
              • vscode.dev

              Edit: found report: https://github.com/codemirror/codemirror5/issues/931
              https://bugzilla.mozilla.org/show_bug.cgi?id=1593761

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 年前

      Mice? What is this thing you talk of?

      • T0RB1T@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        Mice is animal

        Mouses is computer/human interface device.

        • juipeltje@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          1 年前

          Pretty sure it’s mice for both, that’s just the correct plural for mouse, and the computer mouse literally got it’s name from the animal.

          • the_weez@midwest.social
            link
            fedilink
            arrow-up
            2
            ·
            1 年前

            We started calling wireless mice hamsters because they got no tail.

        • JubilantJaguar@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          And the second is going extinct.

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 171 users / day
  • 2.4K users / week
  • 5.14K users / month
  • 12.3K users / 6 months
  • 551 local subscribers
  • 67.4K subscribers
  • 9.87K Posts
  • 260K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org