• LennartMeri@lemm.ee
    link
    fedilink
    English
    arrow-up
    13
    ·
    5 hours ago

    I am an esteemed gentleman. I see something i want to copy, i make sure i ctrl+c at least 9 times to make sure my clipboard is getting the message.

  • sunset@reddthat.com
    link
    fedilink
    English
    arrow-up
    23
    ·
    8 hours ago

    Trying to copy some text in a Linux terminal and instead just ending a process 🆘

    • toynbee@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 hours ago

      In many cases, perhaps most, you can use Ctrl+shift+c/v to get around this. This muscle memory has caused problems for me because Ctrl+shift+c in Firefox brings up the development console (IIRC) and I haven’t found a way to close that without using the mouse.

      Depending on your environment, you may also be able to highlight text, press no keys, and middle click elsewhere to paste.

        • toynbee@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          6 hours ago

          It never occurred to me to even check whether it can be disabled. I suspect you have improved my life and thank you for doing so!

      • sunset@reddthat.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 hours ago

        Yeah I know about Ctrl+Shift+C I was joking, I think we’ve can all relate to accidentally sending a interrupt signal every now and then!

        Now tell me how to copy text from nano and paste it elsewhere! 😆

        • CrazyLikeGollum@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 hours ago

          Can’t tell you about nano, but in Vi it’s yy to copy (or yank) a line, insert a number between the y’s to copy more than one line. I.e. y5y to yank 5 lines.

          Then p to paste.

          Can also just use your terminals method for copy paste, just remember to hit i for insert before you paste.

        • toynbee@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          It did seem likely you would know, but if I can, I’d prefer giving someone redundant knowledge over hoarding information they could use.

          I can definitely relate to accidentally ending a process, especially back when I used PuTTY. Very frustrating.

          I use vim, but I’ve never had trouble copying text out of it the same way I would out of any other terminal process. Does nano introduce special challenges?

          • sunset@reddthat.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 hours ago

            If you highlight text in nano using your keyboard I think it uses nanos built-in highlighting and doesn’t allow copying to the clipboard. It has it’s own built in cut and paste system, and not on the keys you would expect.

            If you highlight the text with your mouse it uses the terminals highlighting and copying to your clipboard works!

            Just lot’s of inconsistency is what I’m saying, similar to your Firefox experience!

            • toynbee@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 hours ago

              Oh yeah - if you’re using your keyboard, it’s a different prospect. In vim, I would use the yank functionality, but that doesn’t travel between windows. I wouldn’t know how to do that without the mouse.

              I’m afraid I can’t help you with nano, either, but good luck in your search!

        • toynbee@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          I almost exclusively use a trackball, specifically a Kensington Orbit. If you care to click the link, you’ll see it has no physical middle click; instead, it emulates one if you simultaneously left and right click. I originally found this uncomfortable, especially because its functionality was less reliable when I discovered it; since then, though, it has improved with newer models and I’ve gotten much more practice using it. I now find it eminently usable - enough even to perform in games and such.

          Now my only real issue is the actual scrolling. I don’t use it to scroll documents very often, but once the ring starts spinning, it continues doing so pretty freely. When gaming, this can make it challenging to switch weapons with any precision. One of my friends described it not as a scroll wheel, but a selection randomizer.

          • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            At first I wanted a trackball mouse, now I just want a USB ThinkPad style keyboard instead, which I’d probably get if I had a desktop.

            I basically don’t have to move my arms, the mouse is in middle of the keyboard. After a while it feels not like a pointing device, but an extension of the finger.
            Scrolling long pages is also pretty nice. Press down middle-click with thumb, push down/up TrackPoint with index finger. I can just keep scrolling without moving fingers, just varying pressure.

            But it’s not perfect either. There’s often some drifting. As far as I know, it continually calibrates itself, to prevent drift in most cases. Well, if you’ve just been scrolling down for a while and let go, the mouse pointer will drift upwards for a bit. Similar to if you’ve been resting a finger on it without doing anything. It got recalibrated as your finger literally being a part of it.
            You just have to… wait a few seconds. Annoying but not too bad.

        • toynbee@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          One of the few times I’ve been able to appreciate their eccentricities was when using Ctrl+w to delete a word in a shell environment in a remote desktop environment inside a web browser. I pressed the key combination out of habit, cringed as I realized I’d just closed the tab and would have to reauthenticate several times to get back to it, then was delighted to realize I hadn’t closed the tab because I hadn’t passed command+w.

          • bestboyfriendintheworld@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 hours ago

            Putting all keyboard shortcuts on ctrl is pretty brain dead when there are so many other modifiers available.

            This isn’t even a new idea or anything. The Amiga had its own key for that purpose and lots of Unix machines did as well like “meta”.

  • polle@feddit.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 hours ago

    I feel this currently way to hard. Since some days ago on wayland and kde, copy paste between different groups of programms stopped working. Looks like there are hiccups between native installed and flatpaks.

  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    14
    ·
    12 hours ago

    Why is Windows so bad at ctrl+c? Never had an issue until I was given a work laptop running Windows.

    • TriflingToad@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 hours ago

      in my experience Linux is worse, but that’s only because I stop processes in the terminal lol

      other than that they’re pretty equal for me, could you give some examples where you have difficulties?

  • AnimalsDream@slrpnk.net
    link
    fedilink
    English
    arrow-up
    15
    ·
    13 hours ago
    • Highlight, select all.
    • Reach for ctrl-c
    • Accidentally press ctrl-v.
    • I spent all morning writing that. (;´༎ຶД༎ຶ`)
    • ZILtoid1991@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      Instead I often either press CTRL+C instead of CTRL+V, or mispress in a way I quickly press C just before V, usually on an empty line, so it vipes my local clipboard, then I have to rely on Win+V because Kate still doesn’t have a clipboard history.

  • WraithGear@lemmy.world
    link
    fedilink
    English
    arrow-up
    47
    ·
    1 day ago

    Ctrl + Shift + V

    No more copying mystery garbage format, fonts, and colors from a different document. Why it isn’t standard to just copy raw data and a function to copy the format i will never know

    • SkaveRat@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      12 hours ago

      I still wonder why that’s the default

      I never had a single time where I wanted to randomly copy and paste the formatting, often including fonts, textcolor and background colors

      Such a bizarre thing

    • brisk@aussie.zone
      link
      fedilink
      English
      arrow-up
      37
      ·
      1 day ago

      It was. It used to just work. This is what they took from us, those monsters.

      • Diurnambule@jlai.lu
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        8 hours ago

        Yeah CTRL shift v is not so reliable, on fedora you can copy and paste with Ctrl shift v from and in terminal and get garbage characters to clean

        • TheBrideWoreCrimson@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          you can copy and paste with Ctrl shift v from and in terme au get garbage characters yo clean

          Why do they call it oven when you of in the cold food of out hot eat the food?

          • Diurnambule@jlai.lu
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            8 hours ago

            But do you change ovens during the cooking ? You shloud try, it change the taste.

    • limdaepl@feddit.org
      link
      fedilink
      English
      arrow-up
      38
      ·
      1 day ago

      For me it’s usually Ctrl+C, Ctrl+V, Ctrl+Z, Ctrl+Shift+V

      Seriously, why would anyone ever want to paste with formatting?!

      • LifeInMultipleChoice@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        Control shift C used to copy formatting and control shift v would paste the formatting. So if you pasted in a word doc or excel you could copy the font style and size from the cell or paragraph next to it and paste it over the weird.

        Then control shift C in Teams decided it would call everyone in the group chat at fucking once.

  • officermike@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 day ago

    Here’s the kicker: I work in SolidWorks. I frequently use the measure tool and copy dimensions from an assembly to paste into a part sketch. It used to always work, but lately it hasn’t been reliable, pasting an empty string into the dimension entry instead. However, if I paste the copied text into Notepad first, then copy the text from Notepad, I can then paste it back into SolidWorks just fine.

  • tetris11@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 day ago

    I’ve noticed that web browsers have been good at capturing Ctrl+<char> sequences and passing them on to the right context.

    For example, if I have a terminal console open in a web browser (e.g. google code, or jupyter notebook), I notice that using Ctrl+C to kill a process does correctly pass through my desktop manager, through my web-browser, and to the console to kill the process. If I click just outside of the console window but still within the web-browser, then Ctrl-C acts like a normal copy command.

    Not sure what my point is, other than it perpetually boggles my mind how many layers of software a key stroke has to pass through before it acts on the actual layer that you want.