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.
Trying to copy some text in a Linux terminal and instead just ending a process 🆘
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.
For this very reason I've disabled ctrl shift c in Firefox.
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!
Shouldn't F12 still close it, even if you opened it with another command?
Apparently so. Nice!
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! 😆
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?
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!
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!
The middle click is pretty nice on a ThinkPad, since that's probably the only place where it's an actual separate key.
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.
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.
That seems achievable.
macOS does this right with copy and paste using the command key.
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.
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”.
Just the kind of insight I would expect from the best boyfriend in the world.
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.
Why is Windows so bad at ctrl+c? Never had an issue until I was given a work laptop running Windows.
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?
- Highlight, select all.
- Reach for ctrl-c
- Accidentally press ctrl-v.
- I spent all morning writing that. (;´༎ຶД༎ຶ`)
I use ctrl-s and ctrl-z for occasions just like this.
On that first step there's also ctrl-a to select all don't forget
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.
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
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
Vestige from MS office dominance would be my guess
It was. It used to just work. This is what they took from us, those monsters.
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
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?
But do you change ovens during the cooking ? You shloud try, it change the taste.
Copying doesn't have visual feedback, which is the issue.
This is so true. It's so simple and obvious. Therefore it's gotta be the right answer
I'd rather cut/paste in old place/paste in new place to get that feedback!
Good old Ctrl+X Ctrl+Z, Ctrl+V.
I'm a Ctrl+X Ctrl+V, Ctrl+V kinda guy
My people!
NO! You're doing it terribly wrong!! It's Ctrl+X, Ctrl+V, and then Ctrl+V!!!
CTRL+CCCCCC, CTRL+V
For me it’s usually Ctrl+C, Ctrl+V, Ctrl+Z, Ctrl+Shift+V
Seriously, why would anyone ever want to paste with formatting?!
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.
If you're copying from the same doc then you'd usually want to keep the formatting.
Ctrl+X, Ctrl+V. Cut gives the visual acknowledgement that copy has worked
Windows 11 seems to just not work sometimes I swear. Control c that is. Control v always fucking works.
Win10 too. Fucking annoying
196
Community Rules
You must post before you leave
Be nice. Assume others have good intent (within reason).
Block or ignore posts, comments, and users that irritate you in some way rather than engaging. Report if they are actually breaking community rules.
Use content warnings and/or mark as NSFW when appropriate. Most posts with content warnings likely need to be marked NSFW.
Most 196 posts are memes, shitposts, cute images, or even just recent things that happened, etc. There is no real theme, but try to avoid posts that are very inflammatory, offensive, very low quality, or very "off topic".
Bigotry is not allowed, this includes (but is not limited to): Homophobia, Transphobia, Racism, Sexism, Abelism, Classism, or discrimination based on things like Ethnicity, Nationality, Language, or Religion.
Avoid shilling for corporations, posting advertisements, or promoting exploitation of workers.
Proselytization, support, or defense of authoritarianism is not welcome. This includes but is not limited to: imperialism, nationalism, genocide denial, ethnic or racial supremacy, fascism, Nazism, Marxism-Leninism, Maoism, etc.
Avoid AI generated content.
Avoid misinformation.
Avoid incomprehensible posts.
No threats or personal attacks.
No spam.
Moderator Guidelines
Moderator Guidelines
- Don’t be mean to users. Be gentle or neutral.
- Most moderator actions which have a modlog message should include your username.
- When in doubt about whether or not a user is problematic, send them a DM.
- Don’t waste time debating/arguing with problematic users.
- Assume the best, but don’t tolerate sealioning/just asking questions/concern trolling.
- Ask another mod to take over cases you struggle with, if you get tired, or when things get personal.
- Ask the other mods for advice when things get complicated.
- Share everything you do in the mod matrix, both so several mods aren't unknowingly handling the same issues, but also so you can receive feedback on what you intend to do.
- Don't rush mod actions. If a case doesn't need to be handled right away, consider taking a short break before getting to it. This is to say, cool down and make room for feedback.
- Don’t perform too much moderation in the comments, except if you want a verdict to be public or to ask people to dial a convo down/stop. Single comment warnings are okay.
- Send users concise DMs about verdicts about them, such as bans etc, except in cases where it is clear we don’t want them at all, such as obvious transphobes. No need to notify someone they haven’t been banned of course.
- Explain to a user why their behavior is problematic and how it is distressing others rather than engage with whatever they are saying. Ask them to avoid this in the future and send them packing if they do not comply.
- First warn users, then temp ban them, then finally perma ban them when they break the rules or act inappropriately. Skip steps if necessary.
- Use neutral statements like “this statement can be considered transphobic” rather than “you are being transphobic”.
- No large decisions or actions without community input (polls or meta posts f.ex.).
- Large internal decisions (such as ousting a mod) might require a vote, needing more than 50% of the votes to pass. Also consider asking the community for feedback.
- Remember you are a voluntary moderator. You don’t get paid. Take a break when you need one. Perhaps ask another moderator to step in if necessary.