HACKER Q&A
📣 kellogs_aran

What’s a good laptop for software development at around $2k?


Hi HN!

I am looking to buy a laptop for software development in the 0 to $2000 (USD) range.

What I am looking for: 1. Durability: battery life is important to me as well as general longevity of the hardware i.e. I would like it to last a long time.

2. Linux support: I use Linux as my OS of choice and I have no intention of using Windows/MacOS

3. Optimized for intensive computing usage.

Other things of note:

I looked into the Framework laptops and so far it looks like they are still a bit beta.

However, I am curious about users' experiences with:

* the KDE Slimbook 15: https://slimbook.es/en/store/slimbook-kde/kde-slimbook-15-comprar

* the Purism Librem 14: https://puri.sm/products/librem-14/

* Kubuntu Focus: https://kfocus.org/order/order-m2.html

* the StarBook 14-inch – Star Labs®: https://starlabs.systems/pages/starbook

Also tips about maintaining battery life would be appreciated. I've read too much conflicting advice about that lately :) Thanks.


  👤 JabavuAdams Accepted Answer ✓
** "I don't want to use a Mac" **

"I've had these problems with Mac"

Reasonable response: Cool, use what works for you. EDIT> Here are some suggestions that match your constraints.

Annoying response 1: You should reconsider because Mac works great for me.

Annoying response 2: Your problems aren't real problems.

Annoying response 3: Let's live debug your problems in this thread to see if they're real problems.

Guys. I mean. Seriously.


👤 Freaken
I can vouch for the Framework. It doesn't feel beta at all. I'm running Xubuntu 21.10 on it an it rocks. Someone created a repo with salt scripts which works all the kinks of the laptop under Ubuntu. The only thing I needed it for was to fix the touchpad issue after resume from sleep (it would be at max acceleration) and to enable hibernate (just note that you must disable secure boot first). https://github.com/lightrush/framework-laptop-formula

👤 jwalton
Lenovo has some pretty good sales on thinkpad X1s (at least they do in Canada - didn't check the US site). But, if you're in Canada, I just bought this: https://www.newegg.ca/p/N82E16834233446?Description=gigabyte...

It's got a gorgeous 4K OLED screen, a quite decent CPU and GPU, and it's currently $350 off + a $300 mail in rebate (there was an additional $350 off over the easter weekend, too). The track pad is not my favorite, but it's good enough, and the keyboard is very decent. I haven't had it very long and mostly it's plugged in so I can't comment too much about battery life.

My biggest complaint is that the screen is too good. When I'm done with the laptop and come up to my desktop, my IPS screens look washed out and sad. :P

Edit: I didn't buy the X1, I bought a Gigabyte Aero 15.


👤 fy20
A few years ago I would have said ThinkPads but I think there are better options available now. At the end of last year I wanted to replace my T470, and wanted to upgrade to something with a more powerful (not U-series) CPU. The ThinkPad option that fitted my requirements was on back order for months, so I looked around...

The ASUS ROG line of gaming laptops had exactly what I wanted, although they look a bit garish, they are good value for what you get.

On Black Friday I got a G14 Zephyrus with a 8c16t Ryzen 9, 16GB RAM, 1TB SSD and 14" FHD IPS screen. I think I paid £1300. There's a free RAM slot, so I upgraded to 32GB, I think it supports 48GB max. There are a couple of gotcha's mind you:

- It came with a WiFi chip with poor support for Linux (and it wasn't great on Windows). I got an Intel one from eBay for £10 and it took a few minutes to swap out.

- You need to restart X to switch from hybrid to integrated graphics, which you want to do on battery to save power.

- You need to restart X to switch from integrated to hybrid graphics, which you want to do when you get back to your desk so you can use a USB-C display.

- The default fan curves mean the fan turns on and off every few seconds. I changed the settings so it is off most of the time and it runs fine.

- The powerbrick that comes with it is heavy. I use a 65W USB-C brick and have no issues for working, but for gaming (it has a RTX 3060) it needs more power.

- The model I have has no webcam, that's fixed in this year's modem.

Everything else works great. Battery life is 5-6 hours as standard, but if you disable turbo boost and you can get closer to 10 hours.


👤 zamalek
Just some general advice:

> https://kfocus.org/order/order-m2.html

NVIDIA gets really old, really fast. My personal laptop has an NVIDIA GPU and AMD iGPU, my desktop is AMD.

For my laptop, a zen2 build of the kernel nets me about 15% more battery life and a snappier system. Unfortunately NVIDIA makes installing that kernel tedious, so I just run the regular kernel. I also have to install the proprietary drivers because noveau keeps crashing (across multiple distros).

n=1 and everything, but I'd strongly recommend avoiding NVIDIA and going with either an Intel iGPU or AMD iGPU/dGPU.

Unless you want to do some ML, in which case NVIDIA is a must.


👤 adhesive_wombat
Second hand ThinkPad T series gets a lot of bang for the buck (maybe not as good as they used to be, but still good, repairable, generally upgradable and very available as ex-enterprise machines). Good matte displays, good hinges and great keyboards.

Don't sweat the battery, they're removable, upgradeable to larger ones if you have to go a longer time on a charge and easy to replace. For the change left over from $2000, you can buy lots of them!


👤 OJFord
> I looked into the Framework laptops and so far it looks like they are still a bit beta.

I'm not sure that's fair, (and it's pedantically wrong - they're in production - but I know what you mean) the hardware is the nicest I've seen besides Macbooks (I agree with you about macOS, but I do like the hardware, keen for Asahi one day but that is very much beta (alpha actually I think)) and Linux is Linux? It works fine out of the box, everything 'in-tree'.

Unless you just don't want to buy any company's first product of course, which I suppose is fair enough, but I hope (for the longevity of a company I like & spares/upgrades for my laptop) that enough people don't feel that way.


👤 martibravo
Asus TUF Dash Gaming 15 user here: I cannot recommend it enough.

- Intel i7 H series processor (best mobile Intel chips)

- Upgradeable RAM (currently at 24GB) - Intel Wifi 6

- Nvidia RTX 3060

- FullHD Screen with 144Hz

- Comfortable keyboard with backlight

- Two M.2 slots, laptop came with 500GB but added an extra 2TB.

- Good connecticity: HDMI, Ethernet, 3 full-size USBA 3.1 ports, 1 Thunderbolt port.

- Laptop runs on a 200W brick with a barrel connector, but on the go I plug it to a USBC 100W charger, works flawlessly.

- Good build quality: back of screen is aluminum, laptop itself is made with plastic with no deck flex or other problems.

- Only deal-breaker, not for me though, is the lack of webcam. I have a small USB one that attaches to the screen when needed.

Battery life is around 9h for me doing Node.js backend development with VSCode, Firefox with +40tabs, PostgreSQL and Docker running the server running locally. It lasts longer with the screen set to 60Hz and tinkering with the power settings to disable the Nvidia card when only doing CPU-intensive jobs.

Best of all: I only paid €999 ($1,081 taxes included) for it on Amazon Spain. Plus the SSD and extra RAM.


👤 flowerbreeze
I use a slimbook with Manjaro/i3, and it's fast. Far more performant than Macbook Pro 2017 13-inch 16GB with iOS I have to use at work (a bit older hardware to be fair) and 1/2 in price. No freezing, can run PyCharm, VSCode and be on a video call with screensharing + run a pacman install at the same time and I've not been able to get it to slow down even a bit. Meanwhile Mac crawls to a halt with Google Meet or Slack calls screen-sharing.

This is my setup, so a bit different from yours though:

  ESS-15-AMD
  ESSENTIAL 15" AMD
  Memoria RAM 16GB
  Teclado Español
  Sistema Operativo Sin Sistema
  Pendrive No
  Wifi Intel AX200
  M2 250GB SSD NVMe
  Modulo SIM NO
  Procesador Ryzen 5 4500U

  659,00 €
The only issue I have is the touchpad location and style (no explicit buttons). It's not centered at laptop middle, but instead at text part of keyboard middle, but I mostly only use keyboard. Works ok as long as I reconfigure it to count middle button presses as left-click, otherwise I tend to misclick.

Battery life is still about 6-8 hours when using text editor/developing or about 4-5, if watching movies. It's quite heavy laptop, but still fine for couch-slouching. A bit too heavy for travel.

It's a year old and so far it does have some discoloration on plastic, but nothing has broken and it feels fairly solid. The KDE Slimbook you've chosen seems to have aluminium body, so it would probably far outlast my basic plastic version.


👤 noduerme
This is probably an unpopular view, but I kind of use laptops as if they were terminals. If you want to spend $2k, I'd invest $1600 of that in a great desktop machine, and spend the other $400 on a cheap chromebook and tablets / keyboards / gizmos to log into it remotely.

👤 jll29
Lenovo ThinkPad X1 or X1 Nano are my favorites. Small, light, but powerful.

Before I used the ThinkPad X230 and DELL Latitude 7270, each for many years and bought second hand. The DELL was particularly sturdy.

All of these are Ubuntu LTS friendly boxes.

Avoid Microsoft Surface Laptops, which require patches to run Linux, Microsoft doesn't offer an Image ready to burn on a stick. And although I'm writing this on an M1 MacBook, I can't recommend that box yet as a primary machine; I use it mostly for making and presenting slides and browsing HN and such, not for serious dev work. In a year's time, this may look different.


👤 ZuLuuuuuu
IMO, Lenovo ThinkBook 13s Gen2 (Intel) and Gen3 (AMD) are hidden gems which are not much talked about.

- 16:10 matte screen with no PWM

- Very good port selection (1xUSB-C, HDMI, 2xUSB-A)

- Good battery life (for a Windows laptop)

- IMO, the best keyboard layout

- Fingerprint reader

- It is actually around 1100$

- A difference between Intel and AMD versions is that AMD version does not support full length M.2 SSDs, it only supports the short ones.

- But it is probably not for computing usage since it is thin and light

A new gen with Alder Lake is announced a few weeks ago. It is almost the same but the biggest difference is that there are 2xUSB-C + 1xUSB-A instead of 1xUSB-C + 2xUSB-A. And the touchpad will be glass I think. Surprisingly the battery life seems a bit shorter on the upcoming gen. I currently cannot decide whether to buy Gen2 or wait for Gen4.


👤 cs702
As a longtime user of System76 servers, desktops, and laptops, I can recommend them.

* The hardware has always been "more than good enough." I mean, you can always nitpick about some or other detail, but the machines work, they work well out-of-the-box with Linux, and they last a long time. We still have eight-year-old machines that are humming along.

* Support has always been outstanding at everything from answering questions to sending replacement parts with detailed how-to instructions. On one occasion we sent them an older machine for fixing and shipping back, and they handled it flawlessly.

* Most importantly, I've always felt that everyone we've interacted with at System76 actually cares about me as a customer. They're not a charitable organization, so they need to make money, but I've always gotten the sense that doing right by customers is a higher priority.


👤 francis-io
The professional (T series) line of the Thinkpads are my go to.

I've been running ubuntu 20.04 for the past few years. You can have hot swap batteries and an inbuilt SIM slot if you choose. Not sure if the fingerprint is working (I didn't select that option) but everything else works flawlessly.

Side note: I have been maintaining an Ansible playbook for years now that sets up my developer workstation. I do know Ansible already, but I think it's a worthwhile weekend project if you are starting from scratch. You just need to be consistent and have all changes go through Ansible.


👤 bo1024
Purism Librem 14

Is my daily driver currently running Linux mint.

- overall very happy with it for my uses. I don’t do a lot of intense workloads on the laptop, mostly stuff like text editing and latex compiling.

- battery is great. With screen brightness reasonably low and working on low intensity tasks, I could get 8 hours I think pretty easily. Probably 3 hours of video calls.

- durability is good so far. My librem 13 lasted about 4 years before succumbing to a hinge issue which I believe has been addressed for the 14s

- ergonomics are good for me, trackpad keyboard etc. are great especially once you get used to them.

- expect some challenges if you’re going to run a different distro. Be prepared to put in some effort. Things are probably better now it’s been out longer.

- due to foss requirements the wifi range isn’t the greatest. You can easily and cheaply switch out the card if you want.

- One issue I had was plugging in a certain external dock to the usb c port and the entire computer shuts off immediately.

- not sure how it fares for intense compute tasks. I rarely get any fan noise but sometimes it will kick in noticeably.

I also echo others that, depending on the battery life situation, take another look at framework. I haven’t put a ton of hours on it yet but a very pleasant machine.


👤 seanppaul
I've been a dev for almost 20 years. Though a bulky laptop with finest specs would be great, I need mobility so I had luck with these three. Super portable, yet powerful.

1. Dell XPS 13

2. Lenovo X1 Carbon

3. HP Dragonfly Elite (current)

Regardless of the brand I always stuc with i7/16Gb and at least 512Gb NVMe storage.

One downside with my current machine (HP Dragonfly) is it comes with 8th Gen intel processor not really a big problem for me, but fan it a bit louder to my liking.

Coming to Linux compatibility I've used Dell XPS 13 and Lenovo X1 with no issues. Haven't tried Linux on the current machine yet.


👤 bodge5000
These threads always surprise me with the number of people who buy new thinkpads. Nothing wrong with them I'm sure (well, maybe a few things wrong with them), I just never even considered it as an option.

I recently picked up an old 2005-ish (edit: 2011 actually) x220 for a few hundred quid off ebay which seems to be running nicely. Specs aren't anything to shout about but it works fine for what it is. Durability wise, its clearly been running for at least 15 (edit: 10?) years so its got something to it.


👤 scns
Check out Tuxedo Computers, Linux first with a Tux key. You can configure the machine to your liking. If you want compute intesive skip the slim & light ones. They have machines with 45W TDP Ryzens on offer [0].

[0] https://www.tuxedocomputers.com/en/Linux-Hardware/Linux-Note...

https://www.tuxedocomputers.com/en/why-TUXEDO.tuxedo

https://www.tuxedocomputers.com/en/Linux-Hardware/Linux-Note...

https://github.com/tuxedocomputers


👤 haspok
> "battery life" vs "Optimized for intensive computing usage"

These are contradicting conditions. (Unless maybe on an M1?)

If you do use the CPU then battery life will drop even for the best laptops to a few hours max, while the fans will spin like crazy emulating a helicopter taking off. All the above mentioned laptops will behave like that.

At my last place I had a Thinkpad P1 which is supposedly for the above mentioned purpose, and still I suffered from heating and noise, and the battery life was abysmal (2 hours of Zoom call would deplete it, for example).

Although I just noticed that you didn't mention portability - in which case buy an older Thinkpad T4xx/5xx which had the dual battery setup, and buy some additional batteries too, and you can swap them on the fly. Sadly AFAIK Lenovo no longer makes these laptops...

Battery life tips: 1. get the simplest screen (FHD instead of 4K, 90Hz...). 2. don't get an integrated 3D card.


👤 satysin
I used a Dell Precision running Linux and it was a very good experience with a lot of power. It is essentially an XPS 15 but you can opt-out of the dGPU and just have Intel Xe graphics which makes life easier with Linux if you don't need a high-end GPU.

15", good keyboard and trackpad, amazing screen (get the 4k option and scale at 200% so you have a 1080p look and feel but super crisp), decent sound, powerful CPU, lots of RAM, M.2 PCIe SSD, etc. Although if you really want to get better battery opt for the 1080p screen which is still great.

Battery life with Linux on any laptop is kinda rough no matter what in my experience, it's okay but not MacBook Pro with M1 levels. Also the fans get kinda loud which you may or may not mind but is kinda par for the course with most Intel laptops as they're all a few mm too thin imho.

As for why Dell? Well personally I have always had superb experience with Dell support. Engineer on site a day or two later to fix any issues and when I needed a replacement they sorted it within a few days and let me send the old machine back a week later so I could backup and restore without a huge hassle.

I know others have had bad experience with Dell support but for me (in Europe) it has always been fine.


👤 jraph
I'm happy with both my second hand HP Elitebook 840 G6 and the ThinkPad carbon X1 Gen 9 I have for work.

I think I like the HP one slightly better: function keys can be set to trigger either F1-F12 or to the actions drawn on them without the Fn key (and the Fn key swaps this). If set to the actions by default, F1-F12 are still automatically used when pressing a modifier key, and no action is on F2, which means I almost never need to use the Fn key for those and I can intuitively use alt+F4. That's not the case on the ThinkPad. It has a proper menu key (on the Thinkpad, they decided to replace it to screen capture, which is on FN+Right Caps on the HP). I like the metal feeling of the case and the feeling of the keyboard (but the ThinkPad is good on these areas too). Both have a touchscreen, and there are visible, diagonal lines on the Thinkpad's screen. Which is not very problematic, but better without. The HP has an Ethernet port, too. I think Linux works slightly better on the HP too: the sound automatically switches to the headphone when plugged, and switches back to the internal speakers when unplugged, on the same distro (openSUSE Tumbleweed). Though that might be some settings issue. S3 sleep works flawlessly on the HP. On the ThinkPad, it is not supported and indeed it does not work well. They decided to switch to whatever Windows decided to do with suspend, which does not really turns off components but put them in low power mode, which is a mess.

The ThinkPad is lighter, probably has a better sound from the internal speakers (though the HP's sound is correct too). The trackpoint on the ThinkPad is way more useful, you can scroll with it by holding the touchpad's upper middle button which is not there on the HP.

Both have a long battery life. I can recommend both.

I've not tried the KDE Slimbook 15, but it is a more expensive rebranded version of another model if I remember correctly.


👤 terafo
Are M1 Macs with Asahi Linux a viable option for daily-driver or they are not mature enough?

👤 lelanthran
Depends on the development.

I am doing C development, with some Javascript thrown in for the client, quite comfortably on a laptop from 2008 (Core 2 Duo, 2GB of RAM, 320GB spinning rust HDD).

I use WindowMaker, Firefox, Xterm, Vim, Git, Clang and GCC. from login Window to my first xterm opened in the project directory is around 500ms. My build (C only) is currently around 700ms.

My editing is lag-free only as long as Vim's 'cul' option is turned off.


👤 croutonwagon
Have you considered System76?

https://system76.com/laptops

Another one i found interesting is the framework laptop. Its completely modular.

https://frame.work/

And apparently their firmware is opensource.

https://frame.work/blog/open-sourcing-our-firmware

That said if you are looking to play games or have a dedicated graphics card your options will be severely limited.


👤 shireboy
Unless you’re training some ml models or doing heavy graphics, you might not need super heavy compute/gpu. If you do need, then remote into a desktop or vm is another option.

I have for the past 5 years or so focused on battery life over compute for my machines and then used RDP to access a VM dev machine hosted in azure. It’s worked great, and I was able to use free azure credits that came with msdn. You can do similar with ec2 and google compute. There are also container based dev environment services out there now. The benefit being you don’t need dev cruft on your everyday carry laptop. Plus if you get a new laptop or have multiple, your dev environment doesn’t change.

That said I did just switch to an m1 max as I also need to do Xcode. That has been a solid machine, though might be above budget. You could run Linux on it pretty sure.


👤 inetknght
I recommend System76 laptops. The Serval WS has full desktop class hardware in a laptop chassis (so battery life is a distant second -- my Serval WS lasts for about 40-90 minutes on battery depending on workload). Their other product offerings are pretty good too.

And, best of all, they provide first-class Linux support and provide their own Ubuntu-derived distribution, Pop!_OS.


👤 controlledchaos
I love my Lenovo Thinkpad (X1 Carbon). From the little things like hardware switches for the webcam and microphone to the big things like the excellent keyboard feel and Linux support (I use Manjaro). HOWEVER, get the premium screen, because WOW the 1080p screen isn’t great.

👤 daenney
The problem I run into with a lot of these is that their screens aren’t great. 1080p@60Hz and usually pretty terrible brightness makes them a bad fit for me as a travel companion, or even just working from my garden. It’s also annoying that some keep insisting on a barrel connector for charging instead of leveraging the USB-C port.

As much as I appreciate the privacy and freedom enhancing aspects of some of these devices, ultimately a device that’s more practical for me in day to day usage wins out.

That generally leaves me with a more established manufacturer. Lenovo Thinkpad and Ideapad have options in this area and run Linux just fine. Dell XPSes are good too, though I wish they’d offer an AMD option. HP Envy/Spectre devices are rather decent too, though getting the touchscreen and sensors to work on these can be fiddly because HP compensates for their broken BIOS through the Windows drivers instead of just fixing shit.


👤 geocar
Maybe you want to consider a beefy desktop with a battery-backup and plugging it in someplace cold and setting up a laptop to remote into it. You can get a lot of bang for your buck in a desktop, and going lean on the laptop means you don't need to compromise on cpu memory or storage. They even make special video cards that do the remote desktop encoding (PcOIP) that are really quite fine for coding, but I find xpra to be just fine for me.

👤 pflanze
> maintaining battery life

Using less battery power:

- use `powertop` to find processes that are sucking power

- stop browsers when not in use (e.g. `killall -STOP firefox-esr`, then same with -CONT when using them again, although Firefox tends to first spin 100% for a little while then; alternatively simply `killall firefox-esr`, Firefox will usually re-open the tabs)

- I use hibernate

Retaining battery life over the years:

- AFAIK Li-ion batteries last longest when kept cool, and when kept in the 30%..70% charged range most of the time; there used to be ways to tell ThinkPads to stop charging when reaching 70%, I've never used that though.

- I'm still hoping LiFePO4 (LFP) batteries will be sold for laptops some day, they would last much longer (but I guess when it happens, most third-party ones will be fakes (re-labelled Li-ion)...)


👤 RosanaAnaDana
What specific kinds of development are you doing? Enterprise CRUD software? SaaS? Data science? ML?

Just in review, I got a system 76 with pop os as the daily driver. I do a lot of ML and also game on it in my free time, so having a desktop 2080ti in a laptop chassis was nice.

However, a major complaint I have is battery life. It's not just the ridiculous GPU, it's also that linux is apparently shit when it comes to power management. If you want to mobile compute and apparently you do, you might consider a thorough investigation into battery life as a part of your requirements.

Mine is great as a mobile workstation machine, but the battery life prevents me from enjoying cafe style programming.


👤 asciimov
Do you actually need a laptop as your main development machine?

A few years back, I switched off of using a laptop for my main machine. This allows me to spend my money on hardware with more cores, more ram, better gpu, better linux support, bigger screens, and upgrade paths. $2000 will buy you a lot of desktop computer.

Further, if you don't spend all of your $2k on fancy cases and overpriced gpus, you will have enough money leftover for a cheap but decent laptop. This laptop can then remote in to your workstation anytime you actually need the high end computing power.


👤 fennecfoxy
I don't know why everyone loves XPS so much. I got one to use for dev and it just sucks.

Why I say that, you ask?

1: Advertised as "space age cooling" is just a dinky heat pipe: this laptop has HUGE cooling issues, super loud fan, impossible to share screen during meetings without everyone hearing your portable jet engine. I mitigated this by placing some good thermal strips to connect the heat pipes to the aluminium back of the laptop, this dropped it a few degrees and the back only gets slightly warm, not hot. Why couldn't Dell have done this? I'm still tempted to repaste the thing as well.

2: Dell's usual early 2000s corporate BS. The fan is loud. But you can't control it. Well you can, but you have to use Dell's crappy Power software which gives you three different settings for it. No speedfan, no manual fan control etc as it's all locked down.

3: Variants with 4k screens from about 2019 (idk about other years) with integrated graphics just _cannot_ drive the 4k panel properly in terms of performance.

4: The cooling sucks

5: The battery sucks pretty bad, you might get a couple hours out of it at most (esp on Windows).

6: The cooling sucks

Granted, they provide drivers for linux/support it etc which is great, and the machine itself (at least the one I got XPS 9380) is pretty powerful - it just can't cool itself well enough to get the performance unless you're fine sitting in front of the world's loudest white noise generator. Only thing is I paid £1650 for it late 2019...now they're available for like £399 secondhand. No wonder, they've probably all cooked themselves.


👤 lazerl0rd
MSI Creator Z16[P]

You should be able to disable the dGPU if you have no need for it, within the BIOS, to improve battery life.

As for why I recommend it?

1) It has a thin, MacBook-esque aluminium chassis.

2) A choice of two biometrics - Fingerprint and Facial (the latter works with Howdy on Linux).

3) The processor is a 11th (Z16) or 12th Gen. (Z16P) Intel Core i9. The former uses 3200MHz DDR4 AND the latter uses DDR5.

4) They both sport a RTX 30 Series dGPU for creative work or gaming.

5) MSI has decent Linux support historically, for their laptops at least.

6) MSI laptops feature a "hidden BIOS" which exposes hundreds of options and toggles (from undervolting and over locking, to tuning PCIe slot power limits). This is quite helpful at times.

7) It has a panel that pretty much ticks all the boxes except HDR: a good resolution of QHD, high colour accuracy (∆E < 2), a high refresh rate (either 120Hz or 165Hz), as well as touch support.

8) It sports RGB keyboard backlighting, if that's your thing.

9) It has a great selection of ports, with one (Z16P) or two (Z16) Thunderbolt 4 ports and two USB [Type-A] 10GBps ports.

10) MSI laptops of this size usually sport two NVMe slots, for expansion. You could even use one slot for a Google Coral. Furthermore, the included NVMes from MSI that I've had have been "top-tier" in terms of throughput.


👤 fsflover
> However, I am curious about users' experiences with:

>the Purism Librem 14: https://puri.sm/products/librem-14/

https://forums.puri.sm/t/no-nonsense-review-from-an-actual-u...


👤 lhl
There was a recent discussion on the StarBook: https://news.ycombinator.com/item?id=31034024 - in the comments I mention a few other laptops I've been looking at that may be of interest as well as my own review/experience w/ a laptop w/ the same chassis as the KDE Slimbook 15/Tuxedo Pulse 15.

👤 ineedasername
No Intel proc with a U, T or Y suffix. These are all lower power versions that won't sustain high performance. You absolutely sacrifice battery significantly with anything else though when under sustained high performance, including strong AMD processors, but they may do a little better.

Next is discrete graphics. If you just need multiple monitors, an Intel G CPU will usually do it. If you need discrete GPU, again you're going to sacrifice on battery.

For longevity, you might want to consider a Xeon laptop. Lenovo has these, so they're one option.

One measure of how much sustained performance a laptop can take is the charger wattage, usually buried in the spec sheet. In my experience chargers are rated only slightly higher than the wattage necessary to keep the machine going at top performance. A laptop with a low wattage charger is unlikely to sustain top performance for long. But it depends on your definition of "sustain". 10 minutes? Half an hour? Constant load of 60, 70, 80%? The charger heuristic just weeds out low power though. There's less of a guarantee that a higher wattage charger == higher sustained performance.


👤 indymike
I've been running Ubuntu on an LG Gram 17. Huge screen (true 17"), 18 hour battery and weighs Les than 4 lbs. It also has a metal chassis. Only device that doesn't work is the fingerprint reader.

👤 slaymaker1907
I absolutely adore my System76 Darter Pro. System76 is actually great for many different price points since they are extremely customizable. For example, you could do something like opt for a cheaper processor but more storage whereas many manufacturers force you to have more expensive everything (Apple is the worst offender, but all seem to do this to an extent).

👤 rubyist5eva
I would get a System76 Lemur Pro with whatever upgrades for your budget, or whatever other form factor that suits your tastes really.

👤 JonChesterfield
Lenovo T14s here (AMD version). Stuff works out of the box on Debian, except for the LTE modem which works after a bit of a struggle. Battery life is better under Windows but I haven't bothered working out why, probably need to set up some power management stuff. Associated dock drives three 1920x1200 screens at the same time as the built-in one.

👤 alkonaut
I have the same question but I'll tweak the parameters somewhat: I want a movable developer workstation. I'll never (or almost never) be using these components of the laptop: battery, screen, touchpad, keyboard. I also don't care much about size weight since I'll be 99% sitting still. On the contrary I'd like it to be large and heavy, if it would help with noise and thermals.

Are there good "movable" laptops that run cool and quiet yet have high perf, and achieve this by actually making the laptop larger?

I want something with good build quality (not a plasticky gaming rig). I want something using recent CPUs (intel 12th gen, or recent Ryzen). High power (35W and up) that can run for hours without throttling. I have tried various Dell models (precisions) but the thermals are abysmal because it's only half the thickness it needs to have in order to manage that kind of power.


👤 derbOac
I'm in a similar boat and the ones you're mentioning are all ones I've considered, along with some in the comments.

Just to throw one more out I haven't seen mentioned is Razer. I haven't purchased one but have played around with them in person.

The Razer Blade laptops in particular seem really nice to me, with nice build, screen and very nice touchpad, in a good form factor and nice specs. The MacBook Pro is maybe the closest thing I've seen to them. There's apparently a version of a Razer released by second company with linux on it (blessed by Razer), targeted at development, although the "regular" Razer laptops can be had for much less cost, more in your range. I used to think of Razer laptop as a "desktop gaming alternative" but some of the newer ones seem like they could be used for development. I've seen the Blades in AMD and Intel form.


👤 aidenn0
Some thoughts:

1. I have heard only good things about Framework. If I were getting a laptop today, that would be on my short-list

2. I have had an HP zBook 15 G3 for many years now, so no issue with durability there. However, I just tried to price one and the price has gone way up, so it's out of the $2k range for anything reasonably configured for developer use.

3. Battery life; if it's going to be mostly plugged in, select the option in the BIOS for that; it will stop charging the battery sooner to increase longevity of the battery. If it's going to be use unplugged a lot, try to keep it above 20%. Ignore any advice about fully draining the battery to prevent "memory effect" that was dubious advice even for NiCd batteries that could potentially suffer from memory effect and was never true for LiIon chemistries.


👤 amir734jj
System76. They have great customer service and contribute to open source community. Support them.

👤 talentedcoin
For what it's worth, I have been using cheap-o refurbished HP Elitebooks (the 830) off of eBay running Fedora and they are great. I have been running my old one for years and years and the new one for about a year or so.

Battery life erodes over time but a new battery will fix it right up.

It depends what kind of development you're doing, of course. I am not sure what intensive computer usage means to you, but I would say I use it intensively! But I am not doing anything that requires a GPU nor am I re-compiling kernels every day. But for my humble needs I've found it's a cost-effective solution that holds up quite well.


👤 mkasberg
You should look into a Dell Latitude. Specifically, look for one with Intel Graphics (for better Linux compatibility and battery life). I'd personally go for a 74xx model. They work great with Linux, in my experience. They're also business-grade, so they have decent longevity and repair-ability, with easy to find parts.

https://www.mikekasberg.com/blog/2021/08/12/dell-latitudes-a...


👤 aristofun
Speaking of longevity, given the performance of m1 and absence of any moving parts except keyboard — go with Macbook Air M1 and just run Ubuntu there.

Would be still more performant than most of intel laptops in 2000$ range.


👤 princevegeta89
Linux is great. I'm with you. As someone who's been on Linux for 8 years I can say that if going with Linux be prepared to experience driver compahility issues and random broken things although the occurrence chance is small. Be prepared to spend time to deal with them. Also be prepared to have suboptimal drivers that don't fully Make use of your CPU and GPU and their power management functions. In some cases you can also be prepared to not be able to find good software for the use case you'd be looking for.

Or just go on with Windows + WSL.


👤 jmsa
After a ton of research I picked up a Dell XPS 15 (9510) around the holidays for roughly 1600 USD and switched from OSX to Manjaro and I'm in love. 11th gen 11900H processor. I started with the super high def display but returned it for the FHD display. The resolution of the FHD is more than sufficient (it's actually GREAT), the battery life is better, and it's matte display is much easier on my eyes. Things I love - 16GB of RAM (that is upgradable, and will be upgraded), two SSD slots (both occupied). I set it up to hibernate since s3 sleep is gone. I open/close my lid many, many times per day, and it comes back quickly enough for me (probably ~5s). And I appreciate that it's totally powered off that way when the lid is closed. The only hardware issue I'm aware of is the two extra subwoofer speakers don't yet work in Linux, and they sound really good in Windows (I kept a dual boot, but I very, very rarely use it). But the speakers still sound decent w/o the subs running, much much better than my wife's Ideapad. I don't know if the fingerprint scanner is operational and don't care about that, but everything else works well. I do lots of Zoom calls, camera is fine, etc, etc. I code on it all day almost every day, and the keyboard is a high point. I'm a trackpad user, and Linux trackpad is subpar, but after a ton of tweaking I'm happy and functional.

👤 pSYoniK
Depending on where you are I would probably recommend looking at used Thinkpad P1/X1 Extreme. They tend to be within your budget if you're looking at a model from a year or two ago and they work very well on Ubuntu (Debian as well if you look at grabbing non-free drivers for whatever isn't working) and Ubuntu derivatives.

While I know there are a few suggestions for gaming oriented laptops, but I'd suggest you are careful going down that route as some of the cheaper models feel very flimsy and if you end up working on this for longer periods of time, things such as sharp edges, sub-par (rattly) keyboard, bad screen or hell, even weak hinges, can be very frustrating. There is also the issue that Linux support might not be as good.

I had an E460 and it worked fine for 6 years (I dropped it a few times and someone spilled coffee on it) but even 4-5-6 years down the line I could find replacement keyboard, replacement battery and even replacement case for it. When I gave it to be used by someone else, I had swapped these parts out, paid probably 60$ for them but I knew that the laptop will keep running fine for a few more years. I don't think I could find replacement case/keyboard for some gaming laptop 6 years down the line...? Or maybe I could and I just haven't had the chance to look.

To sum up, get an older Thinkpad or maybe even an older Dell Precision.


👤 2143
Since you were seeking laptops I imagine you're fine with the computing power laptops usually offer.

I recently purchased a ThinkPad E14 gen 3.

It has a 6 core 12 thread Ryzen 5 5600U, with 24 GB of memory (8 GB soldered + 16 GB I installed later).

I run Linux exclusively. No Windows or dual boot or anything like that.

I currently run the latest Fedora 36 Beta. On this particular OS I have none of the usual Linux problems.

- Wifi works on both 2.4 GHz and 5 GHz.

- Bluetooth works seamlessly. Picks up my wireless mouse and headphones right after boot/wakeup. Couldn't say the same about my older Linux laptops.

- Sleep/suspend/wakeup etc works.

- Camera works. Btw it has a shutter.

- Screen resolution is full HD.

- Battery life of about 6 to 7 hours on moderate usage. I think you might be able to customise your order with a bigger battery and faster charger.

What doesn't work: - Fingerprint sensor

Note that I did not have to do any workarounds on my machine with Fedora 36 Beta. YMMV.

Some general thoughts on the ThinkPad E14:

- Material quality of the E series is definitely not as great as the T, P, and X series of ThinkPad. But then again, it was much much cheaper, and I think the quality is okay for the price.

- You can upgrade memory, storage, and a few other things by opening up the bottom panel.

- Keyboard is great. Trackpad isn't as good as the ones on the Mac. I personally like the 3 physical buttons above the trackpad.

- Choose your display wisely. There are TN displays as well as better quality displays.

------

My friend has the same laptop, except it's on Ryzen 3, memory is only 8 GB, and Ubuntu 20.04 LTS. On his machine, there are the following two problems:

- Display always goes to full brightness on boot.

- Memory shows only 6.2 GB (usually it shows 7.7 on other Ubuntu laptops with 8 gb; on my Fedora it shows the full 24 GB).

However, these are OS specific problems and workarounds exist. Also, I'm hoping things would be sorted out in the newer versions of the Linux kernel.


👤 JSavageOne
I'm a big fan of the LG Gram 17. It's the lightest laptop with a 17 inch screen ever made, even lighter than a Macbook Air. It's not the most performant machine so I wouldn't buy it if you need the best performance, but it's certainly good enough for software development. Just get a anti-glare screen protector with it since the screen is very reflective.

👤 swaranga
Have you considered an HP Elitebook? I am using an Elitebook 850 G7 given by my company. I have been daily driving it for a year now with Ubuntu 20.04 (previously an 840 G3 I think) and have no complaints.

I use it with triple monitor setup, all 32 inch 2K (I find 2K better for programming) and use it with the Hp 120W dock.

I even upgraded its memory to 64GB myself from Amazon for much improved quality of life (I give Intellij 24G alone; have at it!)


👤 hedora
If you care most about battery life, aesthetics and keyboard, then the pinebook pro is a great choice. You can spend the $1800 you save on cloud VMs or a kick-ass desktop.

Cons:

The touchpad is acceptible, but middling. (I am a stickler for touchpads.)

The battery drains in suspend mode out of the box. Supposedly, there are fixes, but people have mixed reports of their stability.

You'll want a separate device for music streaming and zoom.

Anyway, I have one, and it is perfect for my use cases.


👤 nullbytesmatter
I have a Librem 15v4 by Purism. It's no longer sold, but it's a nice laptop. It's the only Purism laptop with a 4K screen. For some reason, you can only find FHD screens these days.

System76 has some decent laptop options for Linux, but all are FHD.If I had to purchase a new laptop today, I'd look at System 76's Lemur Pro or Purism's Librem 14.


👤 agentultra
Consider buying used/upcycled. With Linux you're in good hands: the older models tend to have better support.

The T-series Thinkpads are excellent. They're rugged and designed for falls, spills, and travelling. There are still manufacturers producing extended battery packs and chargers for them. They're designed to be upgraded and modified.

Bonus: you'll save some silicon from reaching a landfill for a few more years. And they're cheap. If one bites the dust you can replicate your setup to a new one and get going again without breaking bank for another $2k.

Unless you're planning on doing bleeding-edge real-time 3D graphics work, the likelihood that you need a big, expensive machine is pretty low. Depending on the software stack you intend to work on you might not even need that much RAM (though if you're doing stuff in bleeding edge C++, Rust, or Haskell I'd recommend >16GB).


👤 factorialboy
Does it have to be a laptop?

I ditched my 2019 MBP for development. I used a desktop with Linux and couldn't be happier.

For email, zoom, etc. I used the MBP. Linux dev experience is still far superior than Mac OS for me, and I tend to prefer big screens, mechanical keyboards and a work-desk env for long programming or video editing sessions.


👤 Melatonic
So to answer your question seriously I would say look at some of the newer laptops that have OLED screens and (if you need it) smaller dedicated GPU. These are going to be super future proof and you can sometimes get last years model very cheap. I do not have a ton of experience with them but personally might get something like the HP Spectre or maybe a Gigabyte or MSI laptop.

What really holds me back though is the damn keyboards on modern laptops - they all suck. The old keyboard on my Thinkpad T420 I love in comparison. There are people that are actually replacing the whole innards (you can even buy them premade and shipped from China) of I believe the Thinkpad X301 or similar with modern CPU, modern screen, etc etc. And on the plus side anyone who sees your laptop at a cafe is going to think its an old POS and not even think about stealing it!


👤 gadiyar
"I looked into the Framework laptops and so far it looks like they are still a bit beta."

I have been using one since December and it has been fairly reliable. Linux support is quite good as is the community they've built. It's also cool that the Embedded Controller firmware is public and they have some community members' threads showing how to customize it as well.

They had some teething issues with power drain from the expansion ports while suspended - an upcoming BIOS update is supposed to fix those. The battery lasts around 6 hours, so if you can live with that I would highly recommend this for your needs.

On maintaining battery life, they have a feature to limit the battery charge level to a customizable limit (usually people like to set this at 80%). Other than this, the fact that this is easily user-replaceable should help.


👤 PaywallBuster
Huawei Matebook looks interesting alternative to Macbook

https://consumer.huawei.com/en/laptops/matebook-14-amd-2020/

Similar build and high power CPUs (not the mobile optimized/low power)


👤 hpcjoe
I have several different laptops. Current main (the unit I'm typing this on) is Linux Mint 20.2 based, AMD Zen2 8c/16t, 64GB ram, 3TB NVME, Renior (AMD) and 1660Ti (NVidia) based. HP Omen 15 2020 edition.

I get about 3-4 hours of battery life (meh), with iGPU (AMD). Very light. Good keyboard, and trackpad. Everything works under linux, though sometimes the BT vanishes (I think I need to reseat that, but I was lazy and installed a $10 USB BT5.1 adapter). I do heavy development/builds/testing on it.

I run windows in a kvm instance window if I need it (less than once per quarter at this point). Came w/o OS. Bought it on Amazon late 2020 for about $1850 or so.

The laptop it replaced (though still alive) is a Sager 4c/8t Intel with GTX 1060 ish dGPU, Intel iGPU, 64 GB ram, and 1.5 TB SSD. Very capable machine, though battery life is abysmal. Maybe an hour. Its my current living room machine. Came pre-installed with Windows, but I installed 2 SSDs, and bumped the memory from 16GB to 64GB. Reworked the boot and virtualized windows (windows should never touch physin government's Federal Ministry of Education and Research.cal hardware). Bought in 2018 for about $2200. It is heavy, bulky, good workhorse, but older Intel CPU.

I also have a Sager I bought in 2010. Still works, 16GB ram, 4c/8t, 500GB SSD, GTX 560m graphics. Its my basement lab machine.

All 3 run Linux Mint 20.2. All function well (even the old machine). I expect I won't need to replace the new machine for quite some time.

That said, work laptop is finally a Mac, having been stuck on horrible Windows machines from Dell. Had many driver/OS problems with windows, machines crashed regularly. BSOD and others.

Newer M1 Pro now. Far more stable than windows, almost ... almost as good a UX as linux. CPUs are fast, though even with Homebrew, I can't build everything. This one ran the company about $3500 or so.

YMMV, but the HP Omen series is nice.


👤 dhash
If you call Dell, they can make you a top of the line XPS or Precision that comes with linux from the factory.

I stick to the thin-n-light XPS 13/15/17 or the Precision 5570 or 5770. Rock solid build quality.

Note: if you call Dell they’ll give you a couple hundred bucks off the price on the website, and can do custom builds


👤 Mikeb85
Forget anyone who says just use a Mac or Windows. They probably haven't used Linux in awhile because most of their "issues" don't exist anymore.

My experience: Ubuntu and Fedora "just work" on almost any machine. If your hardware is super new use the newest version or beta for the first release cycle.

I used to have a ThinkPad, now have an Acer Swift 3, both "just worked". Dells seem to be good. System76 of course. Razer sells a dev machine these days. And so on.

Tip on maintaining battery life: charge from 20% to 90% and don't leave it plugged in, use appropriate brightness, realize that GPU heavy stuff, multiple monitors, etc... all use more battery. Stay away from discrete GPUs unless you know you need/want them, integrated is fine for most gaming these days.


👤 exdsq
I’d suggest relooking at Framework because I’ve seen so many positive reviews from people I respect, and it’s good to support that project. FWIW I’d buy one myself if I needed a new laptop. Might not be the solution for you, but I don’t think it’s worth discounting due to ‘Beta’ status!

👤 dirwiz
I imagine everyone's answer will begin with "It depends". I can only give you feedback on my workflow & setup.

My dev hardware is an external SSD (USB3) running Debian. I virtualized my dev environment using qemu/kvm.

I have several old laptops with no hard drives stationed at various offices. I just plug in, boot from the SSD and off to the races.

If I need a laptop while traveling, I just pull from the old laptops pile and remove it's hard drive. Good to go.

I do have minimum specs for the hardware: 1TB Samsung SSD (be sure the cable supports TRIM!) 16GB Memory (Virtualization) nVidia graphics (hard to find those non-hybrid types) decent screen size.

In addition to normal backups of the host & VM, I do a weekly image of the VM. This helps greatly against damage/loss of the SSD.

Hope this helps


👤 staticelf
I bought an HP zbook studio g8 and I am running ubuntu on it. It worked pretty good when I first installed it but some things weren't working correctly like the hdmi output and the sd card reader.

Then I disabled secure boot and now everything I have tested works out of the box.

I am running the latest edition of Ubuntu Desktop. I usually try to avoid HP but the new ZBook line works perfectly on linux with good support. Altough it uses Nvidia which is kind of cranky with the drivers and I also think the battery drain is a bit too heavy on linux.

I am happy with it tho. I got a great keyboard, trackpad, screen and is plenty fast for me and my use case. I think I got it for around the price you wanted it and I even think they ship Ubuntu pre-installed in the US.


👤 elzbardico
Never had too much problems running linux on Dell or Lenovo laptops. The fact that no matter where I am in the world I can find parts or support was a strong point to me to go the traditional route.

Now I make do with a Mac M1 and a companion samsung book pro, a machine that I choose because I wanted a very light (in physical weight) intel evo as a companion mobile machine running linux for when I feel that using linux is better than using Mac OS.

I run fedora on it, and other than the fingerprint sensor that doesn't work (at least out of the box, never cared enough to figure out if I could find a workaround).

I find it great that there are all those niche sellers out there, but I don't think going this route is cost-effective for most people.


👤 anotherhue
A thousand dollar second hand thinkpad now (t or x1) and another thousand dollar one in two years.

👤 rufius
Framework. I use mine as a daily driver. Gets about 13 hours of battery life and It’s repairable.

👤 rla3rd
You can pick up a Lenovo P1 Gen 2 with decent specs for about 1000 to 1500 on ebay. Max ram is 64MB and usually comes with an i7. The battery life isnt great if it has a built in Nvidia quadro card, I get about 4 hours. I bought it to be able to do ML with it. My only regret is getting one with the nvidia card built in. I believe it gets about 8 hours without it. I ended up buying a RTX 3080 Aorus Gaming Box to do ML instead via the laptops thunderbolt port. No matter what you get, if you want to do ML on it. I highly suggest just getting a laptop with at least a thunderbolt 3 port, and just skip on having an nvidia card built in.

👤 lultimouomo
I saved this HN comment in my favorites a week ago, has some good options that should be available soon:

https://news.ycombinator.com/item?id=31036929


👤 a3w
In europe, you can use a site that offers a comparison across all vendors, with actual market prices.

https://skinflint.co.uk/?cat=nb&asuch=&bpmin=&bpmax=1533&v=k...

Next step would be to add technical specifications, perhaps limit the list to vendors with generally well linux support, or set the OS to no-os/FreeDOS/Linux-preinstalled.

Is something like that available for north america, since the request was in dollars?


👤 camgunz
I ended up buying an MBP 14" because of the apps, but I very very nearly bought a ThinkPad P14s G2 [0]. It's fast, cheap (wait for a deal) has good battery life (for a non MacBook Air), has a great, bright, matte 4k screen, and an Ethernet port. If I could afford to be Linux only like I have been in the past I would've definitely gone this route.

[0]: https://www.notebookcheck.net/Lenovo-ThinkPad-P14s-G2-AMD-la...


👤 pizza234
If you're going for small(er) brands, another entry to the list is the [Penguin J4](https://www.thinkpenguin.com/gnu-linux/penguin-j4-gnulinux-l...), which has a replaceable battery.

Speaking of big brands, the Dell XPS developer edition is on paper very Linux compatible, although in pratice, it's (insulting) marketing fluff (I've had one). I second the Thinkpads compatibility (I had several, I think they were T/W).


👤 rmoskal
I usually buy a refurbished or new dell XPS-13 that is one or two generations behind the current Intel offering. Runs fedora and ubuntu perfectly and should cost about 1K. I usually get them on ebay:

https://www.ebay.com/itm/325032670333?epid=28035701461&hash=...

There's one with 16GB and a 4K screen. Get yourself a portable external monitor and you should be very productive.

'


👤 ajennings
I bought a Librem 15 before the 14 existed. I was very happy with it (including battery life/suspend) for about a year and used it with Linux as my daily driver. Then hardware started to fail and now it freezes randomly. (I've replaced the memory. Must be the mainboard?)

Maybe I was unlucky. Also, the 14 may be more reliable.

After that, I almost bought a Librem 14, but I took a chance on the Framework. The only real problem is battery life/suspend, but it's annoying enough that I can't bring myself to use it as a daily driver.


👤 SkyMarshal
Play around with laptop builds on https://xoticpc.com/ and see if any configuration there works for you.

Just check the hardware compatibility lists to make sure certain things like the WiFi chips have Linux support.

https://news.ycombinator.com/item?id=31014306

https://www.linuxcompatible.org/


👤 Bancakes
Any device that can build its own kernel is a good SWE device.

However, I'd recommend a DELL or Samsung with a high-res OLED display. Those are gorgeous and have great color and luminance contrast for text.


👤 dark-star
If you really have $2k to spend on a laptop, then a Mac is probably a safe bet. All developers I know that use one are very happy with it, although I don't have one personally so I can't offer first-hand experience.

OTOH, I am more than happy with my Dell laptop. A slightly older Latitude. Everything works out of the box (I run Manjaro on it), even the WWAN, keyboard lights, card reader, etc. And you can get replacement parts (battery, screen, keyboard) for years since those laptops are so common.


👤 dogman144
Dell XPS 13 with Ubuntu is a lower cost alternative to Purism 14 and you get some possibly totally false mental guarantees about quality and linux integration via the Dell base.

The touchpad, at least on my model from a few years back, was horribly sensitive to palm touches. There were some config changes I made that may or may not have done anything, and I don't notice it anymore but definitely type a bit differently.

The other aspect is a 13'' screen is a bit small for dev work.

A purism is next on my list fwiw.


👤 BuckRogers
I don't know about Linux support, as I would use WSL, but I love Samsung laptops that have the S-Pen. It's Wacom EMR tech, which is the best you can get for a stylus and the only place to get it on the PC side that I know of. Other than a standalone Wacom digitizer of course.

I also have a Thinkpad X1 Xtreme and it's solid, but nothing to write home about. If going for that, I'd compare (in person) with the latest Dell stuff. Otherwise, I'd go Samsung for me.


👤 cowlby
I picked up a Dell Inspiron 7000 17" and liked these details: - Large 17" screen with slim design similar in size to many 15". - 2560 x 1600 resolution. 4K is too small, 1920p not enough pixels. - Dedicated Nvidia graphics. - Effective keyboard for coding. - Lower cost than XPS yet seemed more full featured.

Battery life is somewhat lower due to the size and higher performance components. But seemed like a good trade-off in the end for the better coding experience.


👤 unit0x03
I think you're missing an obvious option: Lenovo supports Linux on all Thinkpads, and the AMD models like the T14 are a great bang for your buck, much less than $2000 even with 3y next business day warranty service.

I've been doing dev on recent Thinkpads for the past couple years, and honestly they're the least hassle of any laptop I've used in the past decade. I've run Arch, Ubuntu, whatever. work great, reasonably priced, excellent support.


👤 nithayakumar
Have you considered cloud machines for software dev?

Full disclosure: I'm a co-founder in a business that provides cloud environments for software dev.

One of my cofounders used to code daily from his ipad. I switch between my gaming pc and my mac. The flexibility and peace of mind is unbeatable for me. Plus its great for intensive computing usage since you can scale up and down.

That said, if Linux is your general purpose OS of choice (in addition to programming), than I completely get it :)


👤 llIIllIIllIIl
I've got ThinkPad X1 Carbon (gen 6) since it showed up at Costco (2018 maybe? idk) years ago and didn't have any real issues with it. The only thing that is not working is a fingerprint scanning, but I don't care. The battery never let me down.

I develop on the laptop with vscode and docker. This is intensive computing for me, but I don't do npm installs. Can you unpack what's intensive computing for you?


👤 jackson1442
If you're already planning to use Linux daily, the Framework is a solid choice. I personally sent mine back (because of that "beta" feel), but it was more the software than the hardware- I am a Mac user and expected Linux desktop to just be a bit better than it is today.

The Framework hardware is easily my favorite laptop hardware (aside from Apple, but really they're a different category than Framework).


👤 camdenreslink
I bought a Dell Latitude 7490 refurbished from the Dell Outlet a few years ago for < $1k and it suited my needs. I’m not sure what the newest Latitudes are like but the one I bought had the following qualities:

1. Installed Ubuntu on it, never had any driver issues 2. Keyboard was pretty nice 3. Screen wasn’t very good, although I did appreciate it having a matte finish. Not in the same ballpark as a MacBook screen.


👤 smoyer
I've had great success with Lenovo X1 Carbon laptops running Linux (Debian with XFCE). I've also had good luck with the older Dell XPS laptops. Getting either of these for $2k would require a sale and if you want to run a lot of Docker containers you'll need to pick a beefier model.

My only annoyance, which seems to cross brands, is that none of the newer laptops support the deeper sleep modes.


👤 0xbadcafebee
I highly recommend you just start buying laptops (plural), install different Linux distros on them, see how they work, return them if they have issues. There's just too many weird combinations of chipsets and hardware configurations and power profiles etc etc. You will spend all of your time looking for "good hardware for a good price" and end up with crap Linux support.

👤 tginart
This guy gets it.

Also, recent ThinkPads do not come with good Linux support unless they are explicitly sold with Linux OS. Lenovo has different firmware for Windows vs Linux now. I recently got a Lenovo P15v Gen 2i that does not work with Linux (I ended up returning after a failed installation).

Lenovo has a >4 month backlog on Linux laptops at the moment. So we will have to make do with something else.


👤 andrepd
notebookcheck.net has excellent in-depth review and "top 10" lists in various categories (gaming, office, workstation, etc)

👤 simjnd
Huawei’s MateBooks are really good: great hardware, good specs, and good Linux support (doesn’t ship with it but you can install it)

👤 flashfaffe2
Have you checked frame.work?

They offer fully customisable laptop where each pieces can be replace.

Ps: I've just bought mine and tested it for few days so should take my view with a pinch of salt but so far the laptop is inline with my expectations.

You can check some reviews on YouTube as well.

https://youtu.be/jmgBwMHpP1w


👤 c2h5oh
AMD based Lenovo (5xxx or 6xxx CPUs - best performance per watt, very good open source drivers) from X, T or P series. X will be slimmer, lighter and likely with better screen (for media consumption), T and P will be bulkier but have a bigger battery.

Ignore MSRP on Lenovo websites: discounts ranging from 30 to 50+ percent are active more often than not.


👤 flupke
I've been using the Tuxedo Pulse 15 for quite some time and I'm happy with it.

https://www.tuxedocomputers.com/en/Linux-Hardware/Linux-Note...


👤 nobody10
I have Kubuntu Focus XE. Pros - support replies quickly - I really haven't install any new software other than Discord and Spotify. Everything comes out of the box. - Has all the IOs that I ever need. - Very light, build quality is above average.

Cons - Mouse pad is kind of sensitive - I would trigger it by accident while typing.


👤 Volrath89
I’ve been very satisfied with a Thinkpad E15, AMD Ryzen 7, 32GB of RAM, 1 TB SSD. Costed $1800

Before that I had another thinkpad that served me well for 5 years. It was actually still going strong but I figured out I wanted to upgrade before the coming Taiwan crisis just in case. Now I plan to own this laptop for hopefully a decade


👤 brink
I've been using a Dell XPS 13" 9310 for a year now with Endeavour OS/Gnome. It's perfect, IMO.

👤 mr_spothawk

👤 buzzert
Highly recommend the Librem 14 personally. Pureboot, great set of mainline Linux drivers in PureOS, plus a very easily hackable firmware (I hacked mine to change the keyboard layout/behavior).

The build quality is also surprisingly good, and you’re supporting a special purpose company that fights for the user!


👤 sandreas
I would go for framework.

Maybe if the Lenovo X13s (ARM) is out and reviews are good, that might be an alternative.

When 13 is a bit small, you could go for Lenovo T14s...

But honestly, if you just wanna use this machine for development, a used Lenovo T480s with 24GB RAM and HiDPI display would be more than enough and costs about 500 bucks.


👤 Saphyel
I highly recommend Slimbook everyone I know they tried they loved.

It's built for linux (as others that you mentioned) and they contribute to KDE and others open source projects so as you can expect if you have any issue they will reply to your queries.

On the other hand purism probably is the worst you mentioned.


👤 sorry_outta_gas
I've had good luck with the asus g14, I don't run linux on it anymore since I'm stuck in UE but there's a good ROG discord with a big linux community focused on the machine.. running fedora worked mostly fine out of the box w/ gpu switching

👤 bebna
Battery Life Lipo:

- Run it in by fully charge it 2-3 times, (deplete it with normal use)

- Normal use keep it between 20-80%, write yourself a script or something to stop charging manually/automatically

- Deplete/fully charge it quarterly or twice a year to give the bms a change to balance the cells.


👤 packetlost
I've been very happy with my Dell XPS 13 (a bit small, but my work laptop is also an XPS 15 which is a good size for daily use IMO). I recommend the developer editions for better network driver support (they use an intel one iirc).

👤 jazzyjackson
serious question: what is the practical difference between MacOS and Linux?

Do you have a habit of modifying your wifi drivers and recompiling the source? I am big on open source but have never felt my life was improved chasing dependencies vs just brew install ... I have never had a satisfactory battery + sleep/standby experience on a linux machine, vs a Mac I can leave unplugged for weeks and it wakes back up where I left off, battery still holding charge, so I'm just curious what is worth the tradeoff, especially when your priorities are battery life, computational performance, and hardware longevity (I get a new MacBook every ~5 years)


👤 xmagee
I currently daily-drive a Lenovo Thinkpad X1 Yoga Gen5. 4k touchscreen, 15in, awesome Linux support.

I've tried Fedora and Ubuntu on it, but I use Arch Linux daily on it (EndeavorOS at the moment), and its great for web development.

I think it was ~ $1600 USD when new


👤 kfrzcode

👤 zhdc1
Put 350USD aside and pickup the best Lenovo T series laptop you can find on Ebay.

👤 yread
get an hp elitebook in the 8 series (830, 835, 840, 845) the cheapest one with 400 nit screen and put as much ram and ssd as your budget allows, maintenance is easy nothing is soldered. I spent less than 2k on mine

👤 secperkinsstan
If the intensive computing is GPU use a lambda machine might be a good choice.

👤 AsusToss
I’m running Archlinux on my Dell XPS 9750 and it’s pretty great. The downside is that the onboard GPU doesn’t have Linux drivers, but the CPU graphics work fine for what I’m doing (mostly web development).

👤 Koiwai
I know it's off topic but you should get external monitors, bigger monitors greatly increase productivity.

They're cheap, Like 27 inch 4K *2, cost like $400, don't have to be fancy gaming monitors, I run 3.


👤 freemint
My advice is wait. There is much interesting silicon coming out this year. Wait till the end of the yearish and you will have much better options. Especially if some of your compute can happen on GPUs.

👤 krnlpnc
If choosing to run linux on a laptop the model doesn’t matter very much. You’ll spend a chunk of time solving driver issues and managing power consumption with virtually every laptop out there.

Look at Lenovo and Dell


👤 drusepth
Razer's a bit overpriced (a la Mac) but I really like the build quality and the specs are typically great. My current Razer Blade Stealth was about $2000 and has worked flawlessly for about a year now (and my previous RBS worked flawlessly for about 3 years before I cracked the screen by stepping on it in the night).

Everything works OOTB on Linux. Battery life is around 9 hours or 5-6 with my full stack running and everything always feels snappy (I use 16 workspaces, so I typically have a TON open). Keyboard feels amazing, the chassis is probably the sturdiest one I've ever had (might be metal but doesn't get hot), and I prefer the touchpad over the mac one, which everyone seems to hold as a gold standard for some reason.


👤 surge
Look at System76

https://system76.com/laptops

Personally, I buy refurbed or upgraded Thinkpads from Ebay from years ago and slap Linux on them.


👤 theyeenzbeanz
Don’t have a suggestion but I’d personally avoid ASUS. I’ve had 2 models within the recent few years and they have garbage battery life and run so hot with screaming fans on light loads.

👤 algem
I like the lenovo thinkpads as an alternative to macbook pro.

I find their track pad similar to the macbook pro.

Their performance is good enough and they are pretty durable.

Asus is also nice but i think it’s really hit or miss with them.


👤 baq
Unfortunately Windows with WSL is the best Linux out there in terms of hardware support and driver quality, so if at all possible, I'd recommend checking that out.

👤 boomskats
I have a 2nd gen Thinkpad P1 with an H-series intel chip, 64 gigs of ddr4 memory and 2 NVMe SSDs. And a 4k OLED screen. It is divine, I can't recommend it enough.

👤 jbj
I got a lenovo P15 last year with some of the cheapest specs in that price range.

It has official ubuntu support, and you can get under the hood to add ram/ssd later.


👤 brudgers
The best $2000 laptop is ten used Latitudes.

Laptops are cattle, not pets.


👤 havocsupreme
I know you said you dont want mac, but I recommend apple only for the hardware. If you want linux, you can use Asahi Linux. Its in the beta stages but it allows your to harness mac’s superior hardware to develop on Linux. Apple is proven to make long lasting products that meet all the requirements you’ve list. Recommend M1 in particular, better than most intel and ARM laptops of its generation.

https://github.com/AsahiLinux/m1n1


👤 ParsnipsOfSnail
Bought an XPS 15 9500 last March, ticks these boxes for me. I think these laptops are underrated as Linux machines, frequently overshadowed by ThinkPads.

- Good linux support, only had to manually install one driver.

- Good durability. I'm very careless with my devices, all my laptops have broken at the hinges at least once. This one has held up after multiple hard drops.

- Very quiet, fan noise barely noticeable even under load.

- You can upgrade the memory

- Easy to take apart and service as a user, which is great since I'm going to break something and have to service it eventually. Dell XPSs have always been the best for this IMO, at least of the mainstream laptops I've used.

TLDR: Good combo of linux+repairable+quality+rugged


👤 1337shadow
Only drawback of P14s is battery which you can't upgrade, otherwise great to have an AMD Ryzen with 16 cores and 48 gigs or RAM.

👤 pcdoodle
I'd go for the framework. They're going so over the top that it's wrong to not support that company.

👤 cookiengineer
I got myself a T440p because the 4th generation is the last one with replaceable display, battery, RAM and CPU.

They're quite heavy but that's not an issue for me. Best bang for the buck I ever spent.

Bought it around 2015 in used condition for around 250EUR, then upgraded CPU, RAM, batteries (2x as of now), got a bigger SSD and HDD (512GB+4TB) and got an IPS display and a touchpad of the T480 which fits in there.

I just love that laptop. Superb linux support once you figured out how to setup the synaptics driver configs with synclient.

Oh and it's also the last generation (afaik) that can run coreboot as a BIOS.

Overall I probably spent around 800EUR on it, but considering its lifetime (sold in 2013-today) I say it's definitely worth it. So many "Ultrabooks" and Macbook Pros died on me before, because I always overstressed their GPUs.

There's a German Thinkpad wiki that contains all kinds of quirks and potential problems you can get, it's an amazing resource.

The tldr is you should update the BIOS first and update the firmware of your dockingstation with windows running, and then install linux to be safe. [1]

[1] https://thinkwiki.de/ThinkPad-Modelle

edit: Oh and I used an external m.2 adapter to PCI-e occasionally when I have to do ML related work when I'm not at home on my tower. It kinda works but performance is limited to somewhat PCI-e 4x speed even when it says 8x mode is being used.


👤 seltzered_
see this thread from a couple days ago: https://news.ycombinator.com/item?id=31074881 , it was also about desiring linux support.

👤 windex
I got an old X series thinkpad for 120USD. upgraded ram, and HDD to SSD. Does its work.

👤 mise_en_place
I'd say get an M1 mbp and use the shell script to install Asahi Linux on it.

👤 Hippocrates
M1 MacBook Air and use a linux VM, docker container or remote in to a linux machine. You can't beat the hardware for the price even with the extra hassle of having to work inside a Guest OS for whatever reason. Don't torture yourself with some Libre Laptop hardware just for an OS.

👤 vmoore
I'm gonna re-post this by @Tommy_Tran on Reddit.

This is not me, but the comment was too good not to share it again on HN.

This is from the self-post here, titled `Is Linux more private and secure than Mac OS?` https://old.reddit.com/r/privacy/comments/u6ws24/is_linux_mo...

Worth considering security when about to buy a daily-driver laptop!

-----------------

Linux is not more secure than macOS. Infact, it is not even remotely nearly as secure as macOS.

Linux for the most part lacks access control for apps. Flatpak and portal reduce some of this problem, but flatpak lacks granular control and no one is enforcing the usage of portals. As an example, controlling audio recording permission with Flatpak is a mess, as most things will just use the PulseAudio socket directly and you cannot deny them audio recording permission. You can revoke the PulseAudio socket, but that will deny both audio in and out. And this is only limited to apps which you install via Flatpak - any apps that you install via your package managers are not restricted whatsoever unless you spend hours and hours making an SELinux policy or AppArmor/Bubblewrap profile for each of them.

The X11 server on Linux is also a huge problem. Any X11 window can snoop on any other X11 window and keylog + screen record you. Nested X11 is not great for performance at all and its hard to enforce it system wide. Wayland solves this problem, but not all apps work with it yet, and XWayland windows can still snoop on each other.

None of the issues I described above exist on macOS. Unless you give an app elevated privileges, they all have to play by the rules with the permission system.

Linux also lacks the concept of verified boot or system integrity verification. In fact, most distros don't even do UEFI Secure Boot right - the verification ends at the kernel and the initrd is left unverified, unencrypted and vulnerable to evil maid attacks. There is no protection against persistent malware whatsoever too, even if you manage to protect the initrd, because there is no verification that extends to /usr, /bin, /sbin, and various other directories. macOS on the other hand has proper verified boot from the firmware to the system volume, protecting it from both evil maid attacks and persistent malware. Beyond verified boot, it also has system integrity protection, limiting what the root user can do.

There are also various miscellaneous things that macOS has such as system-wide umask setting (as opposed to just the shell), app signature verification, and so on.

Telemetry on macOS, for the mot part, is optional. Unless someone can prove otherwise (by capturing it on the network or something), any claim about invasive telemetry will not hold. Also, remember that being open source doesn't imply being trustworthy. You are still placing complete trust in whoever distributing the compiled version of your software (which will be your OS vendor most of the time if you use a traditional Linux desktop distribution) to not add nasty code in there and screw you over.

Some of Apple's apps do have mandatory telemetry or lack E2EE sync, but that is about it - you can simply not use them. One annoying aspect about macOS is that they really want you to make an apple account to do a major macOS version upgrade via the App Store (though you can still obtain the installer via their CDN if you know where to look) and that they collect hardware IDs.

In short, macOS has superior security when compared to Linux, and privacy wise it is still a great option as it has great protection against the third party software that you install. It is not great for threat models where you require anonymity, but most people don't have such threat models to begin with.

Some people will say Linux is targeted less and is therefore safer, but that is simply not true. Irrelevance != security. ReactOS is even less targeted than Linux, macOS or Windows because no one uses it, does that make it a secure operating system? And remember, malware for Linux does exist, and it's not hard to make one either. The security model is so bad that it's basically "if you execute bad code, you are screwed". There is not even a need for an OS exploit to compromise your system if the app you are running is malicious. The OS itself doesn't protect you from anything.

And before anyone jumping in accusing me of being an Apple shill - I am a Linux system administrator, and most of the systems I use daily (both on my servers and personal laptop) are Red Hat systems, not Apple ones. As much as I want to say that Linux desktop is better than macOS - that is simply not the reality, I'd be lying to you if I say so.


👤 pfooti
dell xps laptops are (a) pretty nice and (b) do ship in some models with ubuntu as the main OS.

personally, i use an xps15/windows/WSL, mainly because i also use the laptop for video games and so on.


👤 Darmody
Check the Slimbook Executive. I think it's the coolest Slimbook.

👤 threeaccents
System76 makes some awesome laptops. Linux as a first class citizen.

👤 dsego
Thinkpad T series maybe, I have a t480s, it's a workhorse.

👤 egberts1
A good laptop is one without the UEFI.

Un-socketable, solder-on BIOS chip.


👤 z3ncyberpunk
Thinkpad X1 or Extreme runs Pop!_OS flawlessly

👤 bobobob420
dell lattitude. getting a framework laptop when you need something proper and reliable is how you screw yourself.

👤 dhdhhdd
Lenovo? T495/X1 carbon/etc.?

👤 kfrzcode
What does "a bit beta" mean?

👤 xwdv
Thinkpad T480s. Your search is over.

👤 mosselman
A MacBook with M1 processor. Air, Pro, I don't know. Just max it out with RAM or storage or whatever until you reach 2000

👤 altitudinous
Whatever laptop you already own.

👤 tommyage
www.tuxedocomputers.com I never had hand on them yet, but they appear very promising.

👤 sethgoodluck
tl;dr: Find a used T480s for like $500. Upgrade its RAM and replace its battery if you need. Install PopOS and Regolith PPA. You'll be a happy camper.

---- MORE: Librems looked pretty cool. I might get one next.

But I've been running my T480s since 2018 and it is still going strong, I don't imagine I'll replace it unless I drop it on hard ground... wait I've done that. or spill coffee on it... wait I did that too. Did I mention they were durable as heck?

For software: I run PopOS for ubuntu-easy software and compatbility with a Regolith PPA because i3 window managers are amazing. Since its a thinkpad, you can swap out and replace most parts easily including the battery when it eventually wears out (literally takes <10 minutes).


👤 dqpb
Refurbished Dell XPS

👤 nextlevelwizard
MacBook Air M1 works wonderfully for me

👤 theodric
Frame.work

👤 kache_
lenovo. slap linux on it

👤 Doubtme
2022 12th gen intel

Asus rog strix

You'll thank me later


👤 donnythecroc
Msi

👤 gameswithgo
Framework laptop. I think the concerns about it being beta are unfounded, the few quirks it has are also had by Lenovo/Dell etc but you don’t have a discerning userbase talking about a single model so much.

👤 Schopenhauer01
Get the latest thinkpad in X series or X1C. Might not be the best choice, but it still works. Rugged, good keyboard.

👤 bdlowery
“Battery life is important to me”

You’ll only find that with a MacBook. All other laptops have terrible battery life. But since you don’t want a MacBook… looks like your shit out of luck.


👤 rbanffy
Have you thought about a 16G M1 Mac? They are in that range and are incredibly well built. And MacOS is a fine BSD.

👤 dom96
> 2. Linux support: I use Linux as my OS of choice and I have no intention of using Windows/MacOS

If there is any leeway here, I would seriously recommend switching. You cannot beat the M1 MacBooks and macOS is close enough to Linux anyway.