this post was submitted on 08 May 2025
213 points (96.5% liked)

Linux

54028 readers
1501 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
[–] HelloRoot@lemy.lol 16 points 22 hours ago* (last edited 22 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?

[–] phoenixz@lemmy.ca 8 points 22 hours ago (2 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

[–] lemmylemonade@lemmy.ml 1 points 18 hours ago

Mapping copy and paste to different modifer helped for me. Alt or Mod1 + c or v is easy to reach.

[–] HelloRoot@lemy.lol 1 points 22 hours ago* (last edited 21 hours ago) (2 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.

[–] phoenixz@lemmy.ca 2 points 6 hours ago

The point for me is that I will have 30 years of muscle memory to overcome

[–] blackbrook@mander.xyz 3 points 21 hours ago (1 children)

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

[–] HelloRoot@lemy.lol 2 points 8 hours ago

My current setup:

~/.bashrc

  stty intr \^x
  bind -f ~/.inputrc

~/.inputrc

set bind-tty-special-chars off

set colored-stats on
set show-all-if-ambiguous on
set show-all-if-unmodified on
set completion-ignore-case on
set completion-query-items -1
set page-completions off

"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\C-h": nop
"\C-s":"\C-asudo "

And in Konsole I have remapped copy to ctrl+C and paste to ctrl+V .

I honestly don't remember what each config line is for, cause it has been so long ago. And probably you don't want all of that. Probably best to throw it into an AI and let it explain it line by line.