this post was submitted on 08 May 2025
257 points (97.1% liked)

Linux

54046 readers
1216 users here now

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

Related Communities

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

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 40 points 2 days ago (7 children)

Control+C is used to kill a process in the terminal and that shouldn't be overwritten. If it is, you'd have to create a totally separate key binding to kill a process. Seems unnecessarily complex when Control+Shift+C works just fine.

[–] [email protected] 46 points 2 days ago (3 children)

The article doesn't suggest using Control+C. It talks about dedicated copy and paste key codes, and you can program your keyboard to map those codes to whatever keys you like. They suggest Fn+C.

[–] [email protected] 50 points 2 days ago (2 children)
[–] [email protected] 9 points 1 day ago

Holy shit can you guys read the article please? It's an existing standard and a dedicated keycode

[–] [email protected] 1 points 1 day ago

I think at this point XKCD should be a TLD.

I would join lemmy.xkcd in a heartbeat.

[–] [email protected] 4 points 2 days ago (2 children)

We could use Ctrl+Insert and Shift+Insert like in the last three decades, but some of these keyboards apparently forgot about the Insert key.

[–] [email protected] 3 points 1 day ago (1 children)

I confirmed that these already supported a number of terminals plus QT and GTK. They could also be mapped to be more ergonomic with a programmable keyboard:

  • Control+Insert: Copy
  • Shift+Delete: Cut
  • Shift+Insert: Paste
[–] [email protected] 1 points 3 hours ago

But Shift+insert currently pastes the primary selection, not the copy-paste clipboard. So it doesn't do the same as Ctrl+V.

[–] [email protected] 6 points 1 day ago

Well yeah but shift insert is annoying as hell since the keys are so far apart

[–] [email protected] 0 points 1 day ago* (last edited 1 day ago) (1 children)

what about shift+insert amd ctrl+insert thats literally already there

[–] [email protected] 4 points 1 day ago (1 children)

Because lots of people don't have an insert key?

[–] [email protected] 1 points 3 hours ago

Well, the article proposes to use dedicated copy and paste keys. If you don't have an insert key, you probably don't have those either.

[–] [email protected] 14 points 1 day ago (1 children)

Kitty has a setting that makes Ctrl-C copy text, but only if you've selected something. If you haven't it does a regular break. Best of both worlds!

[–] [email protected] 2 points 1 day ago (1 children)

Another KiTTY user! Can you share that setting?

[–] [email protected] 1 points 1 day ago

Had to look it up for you. I use (in kitty.conf):

map ctrl+c copy_and_clear_or_interrupt
map ctrl+v paste_from_clipboard

Obviously you only need the first one for the copy bit but having paste as well is nice.

[–] [email protected] 13 points 2 days ago

Control+C is used to kill a process in the terminal and that shouldn’t be overwritten.

Agreed. The post didn't suggest that.

Seems unnecessarily complex when Control+Shift+C works just fine.

For people already using programmable keyboards global copy/paste shortcuts are a nice perk.

I spend nearly all my day in a browser or a terminal and as I use a terminal and browser that already support this, the effect is 99% complete.

[–] [email protected] 8 points 2 days ago (1 children)

I feel like you may have misunderstood the article. It's talking about how support is increasing for dedicated Copy keys, and that programmable keyboards make it easy to use dedicated Copy keys. The article does not mention changing the behaviour of Ctrl-C.

[–] [email protected] -2 points 2 days ago

towards universal copy paste keyboard shortcuts

What else does this say?

[–] [email protected] 0 points 1 day ago

That's what I came here to say. What's the point in making an unnecessarily complex "hack" to circumvent what shift-control-c and v does? I've never had a problem with it. And there's something to be said for not making it super easy to paste text to a terminal, especially from places online...

[–] [email protected] 6 points 2 days ago (1 children)

Come on, having a 3-key combo for such a common task is a PITA. There's a reason people have been complaining about this for decades.

[–] [email protected] 8 points 2 days ago (1 children)

The first time you accidentally type Control-C into a terminal and cancel an important process when you meant to copy some text it becomes a PITA.

[–] [email protected] 9 points 2 days ago (1 children)

Exactly. I do it pretty regularly and I've been using Linux for 20 years.

And yet people here are still saying "no biggie". It's pure status quo bias.

[–] [email protected] -1 points 1 day ago

No, it's recognising that terminal has its own rules and the learned Ctrl+C for copy has no sense... Okay, C-Copy. Some sense. Now, Ctrl+V for... vaste? :)

All while having an Insert fucking button.

In the end, me personally does not care as long as Ctrl+C continues to be the process-killer

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

And I'm pretty sure this key combination predates copy and paste key combinations.