I guess you could say Linux fanboys' silliness is...
terminal.
I guess you could say Linux fanboys' silliness is...
terminal.
I feel like the shell becomes much more complicated when you want to use configs. At that point it becomes a pain in the ass.
Other than that I agree. Also, GUI file managers are still superior. Sue me.
Why would it though? If performing an action through the terminal shaves off only 2-3 seconds who cares?
If I want to open firefox though the terminal I can do that, sure…or I can just point and click on my taskbar/desktop. The time difference is virtually unnoticeable.
THANK YOU.
I spent time learning vim and using a file manager (forgot which one) but after awhile I realized it’s less frustrating just using a damn GUI. I feel like the time difference isn’t too much discernible. More than anything vim is just frustrating.
When you master the tab key and the mouse cursor in a text editor, it’s a breeze.
Additionally, vim key bindings work in some other places too - like man and less (and most pagers I think). It also works in bash if you set -o vi which by default uses emacs keybindings. Ctrl+x, Ctrl+e (Shift+V in vi mode) to open your current entered command in $EDITOR which is handy for really long commands. Then save it in said editor, and boom - it runs in your shell.
The keybindings (vim and emacs alike) is actually a feature of GNU’s readline library that bash gets for free since it uses it, the same trick works in other places that use the same library like a lot of REPLs and gdb (though those programs would need to expose their own way to change between vi and the default emacs mode).
That itself is a very good reason to know some basics of how to navigate around emacs and vi[m]!
I’m new to Linux, and pretty new to Vim, but for me personally it works because of a couple of reasons:
(i) speed. yes, it’s faster once you spent a little bit of time getting used to it. Vim movements or motions just make so much more sense in my mind, and being able to do all of them with few keystrokes feels pretty good and saves time.
(ii) comfort / muscle memory. This kind of ties to (i), where I just feel comfortable with my hands staying roughly at the same place on the keyboard the entire time I’m editing or writing something. Jumping here and there, deleting and copy-pasting, search/search-and-replace, creating-using-erasing macros, etc; things just feel so crisp and effortless.
(iii) simplicity. It is a terminal-based text editor, and so for me it’s distraction-free. I just want to open up a text file and edit some stuff or even do some bit of writing, and I don’t really feel like opening up a GUI text editors just to edit some stuff, or even write some stuff! I use Vim to write almost everything and it feels really good.
But when it comes down to it, anything like Kate or Notepadqq or any generic text editor works just fine.
I swear it feels like for a lot of the things I do on Linux there’s a GUI app for it, but then if I wanna do something as basic as adjust my fan speed I gotta use the freaking terminal.
Like it’s always at the worst possible time
I prefer using my scripts, but I understand everyone isn’t insane.
Thanks for this, I was wondering why Linux was using more power (on my UPS) compared to Windows.
I just added amd_pstate=passive to grub, I believe the other options require kernel 6.3 or higher. More info here.
Also I was using this before but for other people, if your it87 based sensors aren’t showing up, frankcrawford maintains an updated it87 module
With kernel 6.5+, the default is now amd_pstate=active for Zen systems.
I recommend amd_pstate=guided for 6.4+ though as at least on my machine, this seems to yield the best performance/energy trade-off.
When building a system yourself, setting up a custom curve is how you get the best balance between cooling and noise.
I try to choose motherboards that support doing that in the bios, so I never have to worry about it on the OS level.
There’s coreCTRL for and and apparently nbidia-settingfor Nvidia?
AMD GPUs got more tools due to them being open source, while Nvidia’s iskt and you are beholden to Nvidia bothering to implement support, which they often don’t.
Also, idk if I would call fan curves that basic, haha. For the vast majority the default curve is sufficient.
I feel that in my bones.
If I need to do something obscure, like organize your Magic: The Gathering card collection by artist, there’s a GUI on Linux for that.
But if I want to adjust my monitor, I better break out the CLI!
At the current time this seems kind of untrue. There are many GUIs Applications in the repos, which provide alternatives or are wrappers for many existing CLI applications.
changing swap file size
Not sure if i undestand correctly what you mean with that, but there is for example gparted for partition managment
That’ll be useful for a swap partition, but if you’re using a swap file instead of a partition it won’t work.
To clarify, a swap file is just a file on your hard drive the size you’d like your swap to be filled, at the start, with zeros. You still put it in your fstab and use swapon to turn it on but instead of a full partition, it’s just a file.
This makes it more flexible, and easy to change the size of or turn it off or on during operation, easier to change the size of (less steps, lower ramifications, safer when it comes to data loss), or have it expand as needed, but is more restrictive in other features while being a bit slower and less secure.
Windows has a similar system for swap called a pagefile.
On linux, while there is a gui to change a swap partitions size, changing the swap files size has no gui. Even though it is, theoretically, a simpler operation. Simply run swapoff, delete the old file, create the new file, run swapon. No partition managment needed, essentially no chance of data loss
There is also that obscure forum post from 2012 that refers to a post from 2004, from someone who gives some cryptic advise with commands not even in the manual that are outdated from 5 major releases ago but somehow still work. Except for one command tgat you then google and find a forum post from 2016 that it has been renamed, but the functionality stayed the same.
Anyways you put it all together and your problem somehow got solved, but you seemed to have created a black magic incantation because now a three headed demon has appeared and eaten your neighbour alive.
This github.com/dbrgn/tealdeer is handy to have and can condense the info down quite a bit in a lot of cases.
(Tealdeer is a play on the original utility’s name tldr)