Ask HN: Is Linux for laptop worth the trouble?
37 points| abhixec | 7 months ago
I’ve come to the conclusion that the MacBook Air’s M-series chip is just amazing. Nothing really compares to the battery life and quietness of this machine. Not to mention, some of the default apps (Notes, Reminders, Shortcuts, passwords, safari, etc.) seem incredibly hard to beat. And if you are into the eco-system you don't have to pay for different services.
I’m curious about other people's thoughts on this. I’d love to hear a Change My View (CMV) on this.
noobermin|7 months ago
If you want, you can search my username with "macbook" and see my rants since 2015. The worst experience I had with it was it glitching out a hour before a national conference presentation that forced me to remake the slides on another person's laptop. I was sitting in the audience sweating bullets remaking those slides over the course of a grueling hour or so. I have never had the desire to buy another apple product since then and I don't miss it.
Linux just works, especially if you have a machine it works well on. Don't believe the naysayers, learn from my exprience.
0manrho|7 months ago
Seconded.
> Linux just works
While there are instances where this is the case (System76 hardware w/ PopOS for example), This is certainly not true in the general, and this is coming from someone that's been on linux since the dotcom era. It's very very important you get a well supported device or it most certainly does not "just work", and that's goes triple if you're not using some flavor of ubuntu/debian (in the past fedora generally does pretty good too but I've not been keeping up with the fedora sphere since IBM drove me away from the redhat/fedora/centOS ecosphere). Thankfully, there's never been more options or support for linux on laptop, so it's not as near as difficult to achieve as it once was.
Linux does what it's told, which is why I love it, but if you don't know what you're doing, and/or if the autoconfiguration tools/drivers aren't compatible with the hardware in question, you've got a recipe for frustration for anyone that's new to linux/not in the mood to tinker.
cassianoleal|7 months ago
My initial transition from Debian to OS X was painful. Once it settled in, it became comfortable. I like a lot of things about it.
I'll keep my M2 Pro for as long as I can but my next laptop is likely to be an AMD Framework to run Debian.
unknown|7 months ago
[deleted]
bubblebeard|7 months ago
They can be great if you have a large wallet and simply want a computer that will integrate easily with your iPhone or any other Apple products. I use an iPhone myself because I’ve had bad experiences with Android devices, but every few years I try a new Android phone anyway.
Apple does not care about their end users. The hardware they retail is overprivced and the M chips are over hyped, especially with ARM PC:s now available.
Their OS was great back in 2000-2010 but has since become more and more unstable, while Linux has moved in the opposite direction. Today I would argue Linux is at least as easy to manage.
Some apps integrate better with OS X, and the magnetic charger cable is a plus. Then again, using external monitors is difficult, and if anything breaks in your nice Apple laptop it will be difficult to mend and cost and arm and a leg. All in all, I would stay away from them.
abhixec|7 months ago
palata|7 months ago
* Recent Macbooks have an incredible battery life, that's for sure.
* macOS is not Linux, and Linux is not macOS.
I personally like Linux a lot more than macOS, therefore I run Linux on my laptop. It's not a pain at all: just make sure you get a laptop that is well supported (seems a lot easier than 20 years ago, I personally run on ThinkPads).
The way you write (e.g. you see running Linux on a laptop as "a trouble"), you sound like you like macOS better but were using Linux because it was cheaper. In that case go for a Macbook if it's now affordable!
abhixec|7 months ago
jauco|7 months ago
On the other hand most of these microcuts can be researched, solved or scripted away. With my mac I have far fewer, but the ones you have, you’re often stuck with. Generally these are about flakiness with the automagic stuff. Like the camera feed switching to your iphone for a while (whether you want it or not), then suddenly refusing for weeks even when you do want it.
Also, the mac has no tiling wm that comes within a parsec of i3. I miss i3 daily. So. Much. Especially with multiple screens.
But then again, I enjoy opening the lid of my laptop daily as well. And being able to close the lid and put it in my bag, without first listening if it succesfully went to sleep. ¯\_(ツ)_/¯
I guess what I’m saying is: pick the annoyances that give you the smallest emotional response at this time in your life.
lproven|7 months ago
Don't use an ideologically-motivated distro that omits drivers and firmware because they are not Free enough. Use something fairly mainstream, like Ubuntu or Mint.
Update its firmware before you install.
Shrink the Windows partition but keep it, for things like firmware updates. Nuke the recovery partitions, though; they're junk.
Max out the RAM. Have 2 SSDs if they'll fit. OS on one, data on a physically separate one. Used RAM is cheap. Buy matched memory modules.
Avoid wireless anything if you can. Wired peripherals, wired network, wired audio. Wired stuff just works.
ahoka|7 months ago
ofalkaed|7 months ago
jll29|7 months ago
The Mac wins regarding battery life (but deltas are shrinking) and - important when on the move - connecting with various WiFi SSDs (this can be quite critical).
The Linux ThinkPads win regarding keyboard quality, and hackability (as UNIX/Linux person, I prefer Linux' directory organization to MacOS', which is a mix of BSD and non-standard /proprietary stuff). I like than on my Linux boxes, any command is just there, whereas on the MacBook, 60% of the time I need a command not from the top-10, it's not there and I need to brew install it first, which sucks (this could be fixed by making a "distribution" of common commands for brew, I haven't even checked whether that exists).
Until recently, the Mac also won regarding weight, but now with the fantastic ThinkPad X1 Nano there's a high-quality high-mobility device with a great internal keyboard, good batteries and the weight of a feather that runs Ubuntu like a breeze.
So in the end, one ends up using the MacBook as an email/presentation machine and the Linux boxes (and, via ssh, servers of course) for technical work.
Ironically, the M1 in my MacBook doesn't get used for the machine learning research I do as that is all done on beefy (Linux) servers and/or GPU clusters. But it does improve the UI responsiveness.
PS: From my budget at work, I also got an iPad Pro (the lightest/smallest), and I was shocked how heavy it is. As a result, it hardly gets used apart from taking photos and scanning documents with its excellent camera. I was hoping to carry it to meetings, but I instead take the MacBook Air or X1 Nano along, both of which seem much lighter, esp. the latter (<970g). (I never use pens because I type faster than I hand-write and prefer my text to stay searchable; I understand results may look different for pen fans.)
khurs|7 months ago
Run 'brew list' to see what you have installed, then write a shell/ansible script to install these.
Save script to your cloud storage/source control and anytime you get a new machine, run the script.
v5v3|7 months ago
iPad pro isn't heavy.
Do you have a heavy case on it? As many cases can weigh the same as the iPad itself or more.
westpfelia|7 months ago
Or you could go 'built for linux' laptops. Librem, System 76, Framework, ect. Or Thinkpads. Those things are tanks and just work.
ofalkaed|7 months ago
My original reasons for switching to linux was Apple disrupting my workflow on each major upgrade and from what I can tell they have not stopped doing that.
skydhash|7 months ago
sombragris|7 months ago
I'm now using a Dell Inspiron with more updated specs (from 2019), but again, everything is recognized.
*And* I got to upgrade my RAM with a rather simple procedure, zero soldiering required. All of this, running a largely Free (as in freedom) operating system.
Thus I'd answer: yes, a Linux laptop is worth the trouble these days. YMMV of course.
sevensor|7 months ago
That being said, if you really want to be persuaded, give Linux a little more time, and accept some friendly advice. First of all, make sure you’re running hardware that’s not going to give you trouble. If you have the resources to buy a new Apple laptop, you can afford a refurb from eBay with compatible hardware. Don’t overthink the specs, Linux runs better on 10 year old hardware than windows did when it was brand new on the same machine. Steer well clear of NVidia. Their hardware is nothing but trouble.
Second, XMonad is a weird choice if you’re just starting out. It’s Fun with a capital F, but trouble free it’s not. It (a) still doesn’t support Wayland, which means you’re bound to the increasingly creaky and unsupported XOrg and (b) last I used it, XMonad was configured by recompiling a Haskell program. If you’re not a committed Haskell user, this adds a ton of friction. Just use sway if you want a tiling WM.
abhixec|7 months ago
al_borland|7 months ago
Apple tends to like to deliver solutions, while others tend to deliver a toolbox and that has you cobble your own solution together. If you don’t like the way Apple solves a problem you care about, swimming against it can range from easy to painful, depending on what it is.
I switched to a Mac in 2003, and this is the most common issue I see with people having a hard time. I switched after I was bored with Windows, and Linux wasn’t ready for prime time (especially on laptops), though I made attempts with several distros over the course of many months… and still ran my laptop on Linux after getting a desktop Mac as my first). I was seeking out a change, so doing things a little differently was what I wanted and I enjoyed that process. It was also the early days of OS X, so I got to learn a little more each year over more than 20 years now. Jumping straight in today would probably take me more time than it did back then, as there is a lot more in the OS.
bigyabai|7 months ago
kjellsbells|7 months ago
Eg: pick corporate model laptops from major vendors like Dell. Something whose hardware has been battle tested by an army of Windows users. I like refurbished models from the Dell Latitude line, others are ThinkPad people. These lines have spare parts and are repairable/upgradeable.
Pick a distro close to the middle. You want something with thousands of users so you wont suffer alone if you hit a problem. I like stock Ubuntu, and I might go as far as Mint. PopOS is beautiful but if it goes wrong, you'll be fiddling and asking for help in a much smaller community, so if that is not your jam, don't do it.
Be consistent and careful with how and what you install. Dont mix flatpaks and tarballs and snaps and god knows what else. Have a consistent, reproducible setup. Use a dir structure that makes it easy to split off your data from the OS (I know that people just have / now, but /home used to be its own partition for a reason, and /opt exists for similar separation.) If the worst happens and you need to blow the OS away, you want that to be a 20 minute operation with all your files instantly available as soon as you can remount.
daoistmonk|7 months ago
reportgunner|7 months ago
If you just want to use linux so you can tell someone about it, don't bother using linux and stick to what works for you.
daoistmonk|7 months ago
That said, I do still keep the MacOS on a partition for the usual office apps like zoom and the like and full hardware support for the things like the camera, but that isn't as important to my usage as having a compiler and editor so YMMV.
Unfortunately, Linux support on the Apple Silicon hardware is limited to M1 and M2 only at the time AFAIK.
I will also say that Linux on a Linux supported Thinkpad like the T-Series works well too and I've used those for over a decade. They just didn't have the same kind of battery life, but all the hardware 'just works'.
herbst|7 months ago
Not to mention that it looks and feels old, which most people likely don't care as it's still more modern than windows ever was since 95.
You will constantly pay the differences. In the 1 year or so I worked with a Mac I bought like 10 <$5 tools for things that would be a single command in Linux.
Depending on your hardware and what you do it will be slower, or slightly faster. If it's faster in anything it will likely run hot enough to cook some eggs on it.
Edit:// maybe just try a stable distro first
abhixec|7 months ago
sandreas|7 months ago
In my case it is not a decision against the better tech, but more against a company that I don't want to support any more (because anti-repair). That might be really a niche tbh.
The only thing i really think is Superior on Linux is (bootable) ZFS, General flexibility and some other minor but interesting stuff (mostly security like debugging and low level networking)
gofastercloud|7 months ago
I’ve been a Mac user for about 10 years now, but been doing Unix/Linux sysadmin since the late 90s. Hopefully I can pick it up again! What are people using for a distro nowadays? Any recommendations that work well with Thinkpads?
arkoinad|7 months ago
lormayna|7 months ago
What I have experienced in my 15 years of using Linux on laptops daily is that the life of a Linux laptop is really long and you don't need to replace it to fight obsolence. My old Sony Vaio lasts for more than 10 years, running Ubuntu and just replacing HDD to SSD.
satyrun|7 months ago
I also have a MSI katana laptop with RTX 4070 and that had been a disaster. Every distro I tried had some issue with the graphics card/drivers even after looking up what distros people were having success with.
Finally, installing Bazzite just worked. I don't play any games but Bazzite took my MSI laptop from feeling like a waste of money to absolutely awesome.
Propelloni|7 months ago
[1] https://asahilinux.org/fedora/#device-support
cpburns2009|7 months ago
rufus_foreman|7 months ago
1) Run an inferior OS on Apple hardware.
2) Run Linux on inferior hardware.
3) Asahi Linux on Apple hardware.
What you choose depends on the trade-offs you want to make.
Sounds like some people in this thread have had success with option 3. I have tried but I have failed. I'm hoping that Asahi continues to improve. I have several laptops, I do a mix of 1 and 2.
nunez|7 months ago
I mostly run my apps in Docker anyway, and VZkit is almost bare metal performance with paravirt networking.
That said, I run Linux for my servers at home, and that's been working great!
RandomBacon|7 months ago
If not, then maybe try a different distro, like Ubuntu.
If you want something that just works, Ubuntu on either a Dell XPS or Thinkpad is your best bet.
If you want something with nice hardware, I would suggest a Dell XPS. The Dell XPS designs are not perfect, but Ubuntu just works on it aside from maybe the fingerprint reader which I never bothered with.
abhixec|7 months ago
ThePowerOfFuet|7 months ago
If you really don't want an image-based OS, then Fedora KDE (macOS is disqualified too).
tmtvl|7 months ago
rowanG077|7 months ago
v5v3|7 months ago
I mostly use a Mac, but also use android and Linux devices. It helps me remain vendor neutral as I ensure all applications I use work across all of them.
abhixec|7 months ago
exe34|7 months ago
tene80i|7 months ago
Good enough is good enough. Go do whatever it is you want to actually do.
llama123|7 months ago
fsflover|7 months ago
Just like with MacOS, you should choose compatible GNU/Linux hardware, and it will work flawlessly. I have no driver issues on my Librem laptop.
anxoo|7 months ago
personally, i tried macOS 2 years ago and got frustrated by all the restrictions and differences from linux. i remember wanting to uninstall the default "chess" program, searching around and learning that i literally couldn't without turning off the default security mode, just because there was an off chance that the chess program contained essential code.
unknown|7 months ago
[deleted]
gonzalohm|7 months ago
abhixec|7 months ago
hncensorstruth|7 months ago
Excellent steam support! You can't game on a Mac! Llms also good.
ychompinator|7 months ago
[deleted]
lucabs|7 months ago
[deleted]
fooker|7 months ago
These are so much better than everything else right now that there's no point unless you're looking to support niche companies like Framework.