this post was submitted on 08 May 2025
128 points (95.7% liked)

Linux

54001 readers
1132 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
top 45 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 hours ago

I use a key remapper to give me the readline keys everywhere. Though I've used XKeysnail and xremap and they're both a bit flakey, so if anyone has better recommendations that work on X11 and Wayland, I'm all ears.

[–] [email protected] 6 points 2 hours ago* (last edited 2 hours ago) (1 children)

I've been using ctrl+c for copy and ctrl+v for paste for over a decade in my linux terminal by remapping the interrupt to ctrl+x.

It's basic ergonomics and user friendliness.

I do it on all my personal devices and servers.

Nothing bad happened in those ~15 years that I've been doing that. What the fuck are you arguing about?

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

I might actually do that too, but not for ergonomics. I'm just going nuts with sometimes ctrl-c,. sometimes ctrl-shift-c, sometimes ctrl-ins

[–] [email protected] 1 points 2 hours ago* (last edited 2 hours ago) (1 children)

If you need any help, ping me and I'll share my setup.

The reason you gave still falls under the concept of ergonomics.

From wikipedia:

Ergonomics, also known as human factors or human factors engineering (HFE), is the application of psychological and physiological principles to the engineering and design of products, processes, and systems. Primary goals of human factors engineering are to reduce human error, increase productivity and system availability, and enhance safety, health and comfort with a specific focus on the interaction between the human and equipment.

It would be a more ergonomic (and less error prone) system if you modify the shortcuts so that you don't fumble them.

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

What terminal app do you use, and what do you use to do the remapping?

[–] [email protected] 50 points 8 hours ago (1 children)

There is an unintended benefit to putting an obstacle between people who don't know how to use the terminal and pasting code into it.

[–] [email protected] 14 points 8 hours ago (3 children)

Expanding on this, we could make it so that root must use ed(1) to edit files?

[–] [email protected] 5 points 2 hours ago

No, only vi

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

"Ed is the standard text editor."

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

Ha! Butterflies!

[–] [email protected] 4 points 5 hours ago

Wow. I haven't seen a Sun keyboard like that in .. geez forever. Whose were fun times. I was younger then.

[–] [email protected] 14 points 8 hours ago (3 children)

Honestly, this is a nice feature of macOS (or at least iTerm 2; I don’t use the official terminal). I know CTRL-C is used to kill processes and we all have that muscle memory but I usually try to change that on my personal Linux installs because I’ve hit it by mistake before.

I used to use CTRL+INSERT for copy and SHIFT+INSERT for paste but there’s usually no insert key on laptops or even small keyboards. It’s probably time to just adapt.

[–] [email protected] 3 points 4 hours ago* (last edited 4 hours ago)

It’s the #1 thing that drives me crazy about Linux.

It seems obvious. You’ve got a Windows/Apple/Super key and a Control key. So you’d think Control would be for control characters and Windows/Apple/Super would be for application things.

I can understand Windows fucking this up, cuz the terminal experience is such a low priority. But Linux?

There’s some projects like Kinto and Toshy which try to fix it, but neither work on NixOS quite yet.

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

I still use ctrl+ins and shift+ins every now and then. I've hit ctrl+shift+c a few times while in my browser (Vivaldi) which unfortunately is bound to "create note". Ctrl+ins is a great workaround than using an extra neuron when in a terminal to also hit shift when copying.

[–] [email protected] 7 points 7 hours ago

⌘C and ⌘V work in the native MacOS terminal app as well.

[–] [email protected] 27 points 9 hours ago (6 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] 2 points 2 hours ago

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] 28 points 9 hours ago (2 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] 32 points 8 hours ago

standards.xkcd

[–] [email protected] 2 points 7 hours ago

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] 9 points 9 hours 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] 6 points 8 hours 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] 1 points 8 hours ago

towards universal copy paste keyboard shortcuts

What else does this say?

[–] [email protected] 4 points 9 hours ago* (last edited 9 hours ago)

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

[–] [email protected] 1 points 9 hours 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] 4 points 8 hours 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] 4 points 8 hours ago

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] 6 points 8 hours ago (2 children)

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.

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

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.

[–] [email protected] -2 points 5 hours ago

Switch to a non-buggy browser.

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

Mice? What is this thing you talk of?

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

Mice is animal

Mouses is computer/human interface device.

[–] [email protected] -2 points 5 hours ago

And the second is going extinct.

[–] [email protected] 5 points 8 hours ago

Ctrl+Ins gang rise up

[–] [email protected] 5 points 9 hours ago

Nice !! I like the 'old new again' effect ^^

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

I used to have a Linux keyboard (with Tux instead of the Windows logo on super) with dedicated copy and paste keys. As far as I recall I never used them.

[–] [email protected] 4 points 8 hours ago

On old keyboards with those dedicated Copy/Paste keys, they weren’t easy to reach.

Now with programmable keyboards and layers, they can be as convenient as Control C & V.

On the software side, there were many years where they weren’t well-supported, but that’s changing now.

[–] [email protected] 1 points 7 hours ago* (last edited 7 hours ago)

Hey, this is one of the reasons I bought this keyboard!

For a couple extra bucks you can get them to make each individual key a separate key code by asking them to convert it to Single Usage Code Firmware, which is so nifty to me!

[–] [email protected] 1 points 8 hours ago* (last edited 7 hours ago) (1 children)

there's a growing adoption of keyboards with custom firmware– programmable keyboards

  1. There's an error
  2. You have computers? We have computers to send keystrokes to our computers!
[–] [email protected] 3 points 2 hours ago* (last edited 2 hours ago) (1 children)

Wait till you find out that your SSD has it's own CPU, RAM and is running software on it's own micro-OS just for writing bits to flash storage.

Wait even more until you find out the same is true for your SIM card.

If you survive the shock, you could go on and write software that runs entirely on your SIM card in fucking JAVA.

[–] [email protected] 2 points 1 hour ago

Sup dawg. I heard you like microprocessors.