4 ms·
Every time I’ve tried Linux it’s always been a little clunky. I think it’s come a long way, but recently I loaded Ubuntu on to my old 2013 MacBook Pro and it wo
by koinedad 2y ago
Every time I’ve tried Linux it’s always been a little clunky. I think it’s come a long way, but recently I loaded Ubuntu on to my old 2013 MacBook Pro and it works pretty well.
What’s driving me crazy is I have all these shortcuts for Mac and I’m trying to figure out the equivalent in Linux. One stupid thing is paste doesn’t work in the terminal… seriously? Why can’t I ctrl-v after ctrl-c from web browser?
The little cursor/word navigation shortcuts are driving me crazy as well like jump word to the right or left, highlight entire line, jump to end of line, etc.
I should probably try the Framework laptop or some other hardware Linux ready though.
- treyd 2y ago> One stupid thing is paste doesn’t work in the terminal… seriously? Why can’t I ctrl-v after ctrl-c from web browser? It's because copying from a terminal is ctrl+shift+C because ctrl+C sends an interrupt to the program running in the terminal. So paste is ctrl+shift+V to be consistent with that.
- QuaternionsBhop 2y agoBackwards terminal compatibility, hooray! Ctrl+C inputs an ascii command code. To copy/paste, you can use Ctrl+Shift+C/Ctrl+Shift+V.
- mog_dev 2y agoctrl+shift+v to paste into terminal ctrl+shift+c to copy from terminal
- deleted 2y ago[deleted]
- jccooper 2y agoTerminal has historical bindings to Ctrl-C and Ctrl-V that aren't copy/paste. (Ctrl-C is especially common, being "interrupt" or "quit".) Use Ctrl-Shift-C and Ctrl-Shift-V for copy/paste.
- koinedad 2y agoIronically I use ctrl-c all the time on my Mac, so this makes sense — will try it out!
- Wytwwww 2y ago> Terminal has historical bindings Keeping that as a default is silly though. Intentionally having poor UX that's unnecessarily confusing to new users because of "reasons" is why Linux can never become a credible consumer OS.
- BanazirGalbasi 2y agoKeeping ctrl-C as the binding for copy is silly though. Intentionally having poor UX that's unnecessarily confusing to power users because of "reasons" is why Windows can never become a credible developer OS.
- Wytwwww 2y agoHaving different shortcuts for the same operation in different applications is just wrong. > Windows can never become a credible developer OS. For better or for worse it has been one for decades. > Keeping ctrl-C as the binding for copy is silly though Why? Also sure whatever, it can be something else as long as it is CONSISTENT. > confusing to power users Well.. Good thing is that "power users" know how to change default shortcuts and can use a different "power user" profile.
- pram 2y agoThe shortcut is actually the same everywhere: Command+C You obviously just switched it to mimic Windows, which is why it's "inconsistent"
- Wytwwww 2y agoYou mean "Super/Meta + C" is the default for copy on Linux making the whole argument redundant? I don't think that's a default shortcut on Gnome or KDE....
- bpfrh 2y agoshift+ctrl+c is for copying from terminal, shift+ctrl+v for inserting, if you still need to know. The reason is that linux and the terminal is old and ctrl+c sends a signal(SIG_INTERRUPT) which is used to cancel the current process. That means for better or worse you can't change these shortcuts without inconveniencing existing users and that means these shortcuts will stay. That aside I don't think cmd and powershell on windows allow str+c and str+v?
- necovek 2y agoI've tried MacOS on recent Macs and, boy, it sucks. Inconsistent shortcuts, buggy keyboard switchers (randomly it shows an unlock screen without my quertz layout and I mess up my password), and window management issues all around. Audio devices randomly hit buffer overflows or something in Google Meet, it randomly mutes and unmutes devices, etc. Linux ain't perfect either (and really, it was much better ~10 years ago), but it's still so much better than either Windows or MacOS. Or maybe, just maybe, I am used to it having used it since 90s, and they all have their kludges?
- Wytwwww 2y ago> Inconsistent shortcuts Can it be more inconsistent than copy-paste working differently in the terminal and all other apps, though? Of course it's trivial to change and Linux is more or less fully configurable (e.g. NumLock being broken on KDE for a few years)
- 3np 2y agoCtrl+Insert / Shift+Insert should work consistently.
- Wytwwww 2y agoRight, so if a new Linux user who uses Ctrl+C/V in all GUI apps finds that he needs to paste something into terminal that should be perfectly obvious for them? Or should that person feel confused and annoyed since they can't they don't know how to basic operation just so that "power users" could feel better about themselves (I can't think of any other reason which would someone think purposefully inconsistent UX is a good thing...) Also "Insert" is not a thing on most laptop keyboards. So it would be Ctrl + Fn + Delete(or something like that) which is also perfectly obvious.
- necovek 2y ago"Most" laptops actually do have an Insert key. Perhaps you've been using the wrong laptops? :) Anyway, my comment was in jest. None of them are perfect, and to a non-Mac user, its imperfections make it "clunky", whereas they are used to imperfections of their go-to systems. Bugginess one sees when switching to a Mac for the first time is really the same feeling for me like Linux feels to you.
- Wytwwww 2y ago> Why can’t I ctrl-v after ctrl-c from web browser? Same reasons numlock being off is still the default and a bunch of other silly defaults (that are of course trivial to change but are still annoying): masochism combined with the need to prove something.
- NayamAmarshe 2y ago> One stupid thing is paste doesn’t work in the terminal… seriously? Why can’t I ctrl-v after ctrl-c from web browser? Going from Mac to Linux, I felt that the shortcuts in Mac were worse. On Linux, you don't have to reach for a totally different key to copy/paste from the terminal. You just add Shift to the Ctrl +V and Ctrl+ C. On Mac, it's a totally different button to exit CLI programs and do other things. All other shortcuts are also a bit better on Linux. Ctrl + J for downloads in Chromium. Ctrl+ H for history. Ctrl + Tab to move through tabs. Ctrl + T for new tab. On Mac, they're very inconsistent.
- wiseowise 2y ago> Going from Mac to Linux, I felt that the shortcuts in Mac were worse. They're so much better on Mac, that it's not even a comparison. Mac shortcuts feel like they're designed by someone who actually types on a keyboard. Using COMMAND, that is naturally mapped by a thumb, is so much better than reaching for CTRL. And don't even get me started on idiotic Windows machines having CTRL as left most button that obliterates your pinky and instantly requires remapping some other key, like CAPSLOCK. > All other shortcuts are also a bit better on Linux. Ctrl + J for downloads in Chromium. Ctrl+ H for history. Ctrl + Tab to move through tabs. Ctrl + T for new tab. On Mac, they're very inconsistent. Mac shortcuts are literally consistent across all applications, unlike Linux.
- NayamAmarshe 2y agoI just gave you real examples of how they're so inconsistent and difficult on Mac. Linux uses Ctrl for most things, you don't even need to lift the finger up away from Ctrl for most shortcuts. Super key is only used for OS shortcuts. Linux is way more consistent in its application. On Mac, the distinction between Ctrl, Option and Cmd is arbitrary.
- wiseowise 2y agoJust because you never bothered to learn how to use shortcuts on Mac doesn’t make them inconsistent. I can use the same set of shortcuts across all applications on Mac, such as copy paste as was pointed out earlier, or exit, or preferences, etc. > On Mac, the distinction between Ctrl, Option and Cmd is arbitrary. https://en.m.wikipedia.org/wiki/Command_key# https://en.m.wikipedia.org/wiki/Command_key# Literally first link. Command is the key on Mac, option adds hidden capabilities and Control was added for whoever wanted to use it. For OS shortcuts I don’t even know if I ever use Control, only Vim. And it is used for OS shortcuts, which also includes most used functions like switching windows and copy pasting, unlike Windows and Linux. And just because they’re more “consistent” in your head, even though they’re not, it doesn’t make them any less awful. Using Command key for every OS shortcut is far superior than using mix of Control and Option. Just one most obvious example: copy and paste between windows. CMD C, CMD TAB, CMD V. Who’s more consistent now?
- 3np 2y ago> seriously? Why can’t I ctrl-v after ctrl-c from web browser? Because ctrl+c / ctrl+v are common terminal key bindings. You can't on macOS, either. Ctrl+Insert / Shift+Insert should work consistently across apps.