惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
阮一峰的网络日志
阮一峰的网络日志
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
P
Palo Alto Networks Blog
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cisco Talos Blog
Cisco Talos Blog
L
Lohrmann on Cybersecurity
AWS News Blog
AWS News Blog
J
Java Code Geeks
博客园_首页
Scott Helme
Scott Helme
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
T
The Exploit Database - CXSecurity.com
Security Latest
Security Latest
V
Visual Studio Blog
Cloudbric
Cloudbric
Jina AI
Jina AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
S
SegmentFault 最新的问题
The Last Watchdog
The Last Watchdog
SecWiki News
SecWiki News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
W
WeLiveSecurity
K
Kaspersky official blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hacker News: Ask HN
Hacker News: Ask HN
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
量子位
Google Online Security Blog
Google Online Security Blog
博客园 - Franky
Simon Willison's Weblog
Simon Willison's Weblog
博客园 - 三生石上(FineUI控件)
Recent Commits to openclaw:main
Recent Commits to openclaw:main

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
Linux on Older Hardware: The Complete Revival Guide (2026)
https://www.facebook.com/fosslinux/ · 2026-06-25 · via Hacker News

Liam’s Desktop UX Brief: I have been reviving old hardware with Linux for the better part of a decade. The machines Windows 11 left behind are not trash. They are waiting for the right operating system. In this guide, I walk you through distro selection, RAM tuning, SSD upgrades, and browser optimization based on real testing, not guesswork.

Why Your Old PC Is Not Dead Yet (2026)

Every year, roughly 62 million metric tons of electronic waste get dumped worldwide. That number keeps climbing, and a surprising chunk of it is perfectly functional hardware that Microsoft simply decided not to support anymore. Windows 11 requires TPM 2.0, Secure Boot, and relatively modern CPUs. Machines from 2014 to 2019 that still run perfectly fine got left out in the cold.

Here is the thing: those machines are not slow because they are old. They are slow because Windows got heavier while the hardware stayed the same. Linux does not have that problem. A fresh Ubuntu install with Xfce uses roughly 650MB of RAM at idle. Windows 11 uses 3 to 4GB before you even open a browser. The math is not complicated.

Three major releases in 2026 prove that lightweight Linux is not a niche interest. BunsenLabs Carbon shipped in February on Debian 13, though it dropped i386 support, which matters if you are working with truly ancient hardware. Xubuntu 26.04 LTS arrived in April with Xfce 4.20 and three years of support. Linux Lite 8.0 landed in June with custom performance kernels, a built-in gaming stack, and a local AI assistant. The ecosystem is active, and it wants your old machine.


Assessing Your Hardware Before Choosing a Distro (2026)

Before you download anything, you need to know what you are working with. I run three commands on every old machine I touch. They tell me everything I need to know about whether the hardware is worth reviving and which direction to go.

fosslinux@ubuntu:~$ free -h
               total        used        free      shared  buff/cache   available
Mem:           3.3Gi       2.1Gi       158Mi       672Ki       1.4Gi       1.2Gi
Swap:          3.8Gi       1.5Gi       2.2Gi
fosslinux@ubuntu:~$ lscpu | head -10
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
CPU(s):                                  4
Model name:                              Intel(R) Core(TM) Ultra 9 285
fosslinux@ubuntu:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0   100G  0 disk 
sda2     8:2    0   100G  0 part /

Here is how I interpret those numbers. If you have less than 2GB of RAM, you need the lightest distro available. Between 2 and 4GB opens up most lightweight options. Above 4GB, you can run practically anything. For CPU architecture, 32-bit only means your options are severely limited in 2026. Most modern distros have dropped 32-bit support entirely. BunsenLabs Carbon is one of the few that still offers i386 media, but even that is gone now.

Storage matters more than people think. If you are still running a mechanical hard drive, the single biggest upgrade you can make is switching to an SSD. I cover that in detail later in this guide.

Pro Tip: Before installing anything, boot from a live USB and run those three commands. Live environments give you an honest picture of how the hardware performs without committing to an install. If the live session feels sluggish, the installed version will not magically be faster.


Choosing the Right Lightweight Distro (2026)

I have tested dozens of lightweight distros over the years. The ones that survive are the ones that balance resource usage with actual usability. Here is my tier system based on real-world testing.

Tier 1: Under 2GB RAM

When you are working with less than 2GB, every megabyte counts. These distros are designed for exactly that scenario.

antiX is my top pick for truly constrained hardware. It runs on systemd-free Debian Stable, uses around 256MB at idle, and includes a full desktop experience. The trade-off is a less polished interface compared to Ubuntu-based options. If you need something even lighter, Puppy Linux runs entirely in RAM and can resurrect machines that most distros would reject. The learning curve is steeper, but the performance is unmatched.

BunsenLabs Carbon deserves a mention here. It uses Openbox, an ultra-light window manager, and sits on Debian 13. The desktop is minimalist but highly configurable. The catch: BunsenLabs dropped i386 support with Carbon, so truly old 32-bit machines cannot run it anymore.

Tier 2: 2 to 4GB RAM

This is the sweet spot for most revival projects. You have enough headroom for a proper desktop environment without worrying about every background process.

Lubuntu 26.04 LTS uses LXQt and consumes around 480MB at idle. It is the lightest Ubuntu-based option with full LTS support until 2029. If you want something with more polish, Linux Lite 8.0 ships XFCE with custom performance kernels, a built-in gaming stack, and utilities like Lite Software and Lite Kernel Manager. It uses about 650MB at idle, which is more than Lubuntu, but the extra tools make it a better out-of-the-box experience for most people.

I tested both on a 2014 ThinkPad T440s. Lubuntu felt faster on raw boot time and idle memory. Linux Lite felt snappier during active use because of the BORE scheduler, which prioritizes interactive responsiveness over idle efficiency. For a daily driver, I prefer Linux Lite. For a machine with 2GB or less, Lubuntu is the practical choice.

For a detailed head-to-head comparison, check out my Linux Lite vs Lubuntu (2026) comparison.

Tier 3: 4 to 8GB RAM

With 4GB or more, you can run any lightweight distro comfortably. Xubuntu 26.04 LTS gives you Xfce 4.20 with Ubuntu’s full package ecosystem. Linux Mint Xfce adds a more Windows-like interface with its Cinnamon-inspired layout. Both are excellent choices, and the decision comes down to personal preference rather than hardware constraints.

For a full breakdown of lightweight options, I maintain a regularly updated list in my 10 Best Lightweight Distros 2026 guide.


Desktop Environment Showdown: LXQt vs Xfce vs MATE (2026)

The desktop environment is what you actually interact with every day. It matters more than the underlying distro for daily comfort. I have spent hundreds of hours with all three of these, and here is my honest take.

Feature LXQt Xfce MATE
RAM at idle ~480MB ~650MB ~580MB
Customization depth Limited Extensive Moderate
Windows-like feel XP era Windows 10 Windows 7
Best for Minimalists Tinkerers Traditional users

I prefer Xfce because of the customization depth. When I want to tweak panel positions, add widgets, or change window behavior, Xfce gives me more options without editing config files. LXQt is faster to configure if you just want a simple taskbar, but it hits a ceiling when you start pushing for a personalized setup. MATE sits in the middle: more polished than LXQt, less configurable than Xfce.

The performance gap between LXQt and Xfce is real but smaller than it used to be. On my test machine, LXQt used about 50 to 80MB less RAM at idle. For machines with 2GB of RAM, that difference matters. For machines with 4GB or more, it is negligible. Pick the one that feels right when you test it from a live USB.

Insight: zram compresses memory contents in RAM instead of writing them to disk. On old hard drives, this eliminates the massive performance penalty of swap hitting a mechanical platter. A machine with 4GB RAM and zram configured can feel like it has 6 to 8GB because compressed memory is still faster than disk-based swap.


RAM Optimization: zram, Swappiness, and Service Trimming (2026)

Once you pick a distro, the next step is squeezing every drop of performance out of your hardware. These three techniques work on any Linux distribution and make a measurable difference on old machines.

Setting Up zram

zram creates a compressed swap device in your RAM. Instead of writing memory contents to a slow hard drive, Linux compresses them and keeps them in memory. The trade-off is a small CPU cost for compression, but on any machine made in the last 15 years, that cost is negligible compared to the disk I/O savings.

fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S apt-get update
[sudo] password for fosslinux: 
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
...
fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S apt-get install -y zram-tools
Reading package lists... Done
Building dependency tree... Done
zram-tools is already the newest version (0.99.1-4build3).

After installation, the configuration lives at /etc/default/zramswap. The default settings work well for most machines, but you can tune the algorithm and size if needed. On Ubuntu, zram-tools uses lzo-rle compression by default, which offers the best balance of speed and compression ratio.

Tuning Swappiness

Swappiness controls how aggressively Linux moves memory contents to swap. The default value of 60 works fine for most machines, but old hard drives benefit from lowering it. When swap lives on a mechanical disk, every swap operation takes milliseconds instead of nanoseconds.

fosslinux@ubuntu:~$ cat /proc/sys/vm/swappiness
60
fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S sysctl vm.swappiness=10
vm.swappiness = 10
fosslinux@ubuntu:~$ echo "vm.swappiness=10" | sudo -S tee -a /etc/sysctl.conf
vm.swappiness=10

For machines with SSDs, I leave swappiness at 60. The SSD is fast enough that swap operations do not create a noticeable penalty. For old hard drives, 10 to 20 is the sweet spot. You still get swap when you need it, but the system fights harder to keep everything in RAM.

Disabling Unnecessary Services

Every running service consumes memory and CPU cycles. On a fresh Ubuntu install, several services run by default that you may not need.

fosslinux@ubuntu:~$ systemctl is-enabled bluetooth
enabled
fosslinux@ubuntu:~$ systemctl is-enabled cups
enabled
fosslinux@ubuntu:~$ systemctl is-enabled avahi-daemon
enabled

If you do not use Bluetooth, disable it. If you do not have a printer, CUPS is wasting resources. If you do not need mDNS service discovery, Avahi can go. Each one you disable frees up a small amount of memory, and on constrained hardware, those small amounts add up.

fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S systemctl disable bluetooth
Synchronizing state of bluetooth.service with SysV service script...
...
fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S systemctl disable cups
Synchronizing state of cups.service with SysV service script...

I cover more Ubuntu-specific tuning in my How to Speed Up Ubuntu 24.04 LTS guide. For a deeper dive into swappiness mechanics, Brandon Jones wrote an excellent explainer on swappiness in Linux.

Why It Matters: Extending an old PC’s life by two to three years with Linux keeps it out of a landfill. That single machine represents roughly 30 to 50 kilograms of electronic waste, including plastics, metals, and rare earth elements that require enormous energy to extract. Reviving hardware is the most direct form of environmental action most people can take.


The SSD Upgrade: Is It Worth It on Old Hardware? (2026)

If your old machine still runs a mechanical hard drive, an SSD upgrade is the single most impactful change you can make. I have timed boot sequences on the same hardware with HDD and SSD, and the difference is dramatic.

A typical old laptop with a mechanical drive boots Ubuntu in 45 to 60 seconds. The same machine with a SATA SSD boots in 12 to 18 seconds. Application launch times drop from 5 to 8 seconds down to under 2 seconds. The entire system feels like a different machine, and the upgrade usually costs less than 30 dollars for a 256GB SATA drive.

The process is straightforward. Clone your existing drive with dd or Clonezilla, swap the physical drive, and you are done. After the clone, make sure TRIM is enabled so the SSD maintains its performance over time.

fosslinux@ubuntu:~$ systemctl is-enabled fstrim.timer
enabled
fosslinux@ubuntu:~$ echo 'fosslinux' | sudo -S fstrim -av
/boot/efi: 512 MiB (534773760 bytes) trimmed on /dev/sda1
/: 67.4 GiB (72393039872 bytes) trimmed on /dev/sda2

The fstrim.timer runs weekly by default on Ubuntu, which is sufficient for most users. If you want manual control, you can run sudo fstrim -av whenever you like. For a comprehensive guide on TRIM and SSD optimization, check out Arjun’s fstrim guide.

When is the SSD upgrade NOT worth it? If the machine has a failing SATA controller, if the RAM is less than 2GB and cannot be upgraded, or if the CPU is 32-bit only with no 64-bit support. In those cases, the hardware has hit its natural limit, and a software-only approach is more practical.


Browser Optimization for Constrained Hardware (2026)

The browser is the hungriest application on most Linux desktops. Firefox with ten tabs open can easily consume 2 to 3GB of RAM. On a machine with 4GB total, that leaves almost nothing for the operating system. A few configuration changes make a meaningful difference.

Open Firefox and type about:config in the address bar. Accept the risk warning, then search for and modify these settings:

browser.cache.disk.enable: Set to false. This disables the disk cache, which is unnecessary if you have an SSD (RAM cache is fast enough) and actively harmful on old hard drives (constant small writes degrade performance).

browser.sessionhistory.max_entries: Reduce from 50 to 15. This limits the number of pages Firefox remembers in each tab’s history, reducing memory consumption without affecting normal browsing.

browser.sessionstore.interval: Increase from 15000 to 60000. This reduces how often Firefox saves session data, cutting disk writes on old hard drives.

Beyond Firefox configuration, install uBlock Origin. It is not optional on old hardware. Ad-heavy websites consume significant CPU and memory for tracking scripts you never asked for. uBlock Origin blocks those scripts before they load, which can reduce page memory usage by 30 to 50 percent on ad-heavy sites.

If Firefox still feels heavy, consider Falkon or Pale Moon. Both are lighter than Firefox but lack the extension ecosystem. For a full comparison of lightweight browsers, see my lightweight browsers guide.

Worth Knowing: BunsenLabs Carbon dropped i386 support in its February 2026 release. If you are reviving a truly old 32-bit machine, you will need to use an older BunsenLabs release (Beryllium or earlier) or switch to a distro that still supports 32-bit, like Debian 12 with non-free firmware.


Repurposing as a Home Server (2026)

Sometimes the best use for old hardware is not as a desktop at all. If the machine is too slow for daily desktop use but still functional, turning it into a home server gives it a second life with minimal resource demands.

A file server running Ubuntu Server or Debian Minimal can serve your home network with less than 512MB of RAM. A Pi-hole DNS server needs even less. A media server running Jellyfin can stream to your other devices without breaking a sweat on modest hardware. The key insight is that server workloads are typically bursty: the machine sits idle most of the time and only works hard when someone requests something.

If you want to go this route, I recommend Ubuntu Server 26.04 LTS or Debian 12 Minimal. Both are lightweight, stable, and supported for years. For a breakdown of the best server distros for home use, check out John’s Top 5 Linux Server Distros guide.

The transition from desktop to server also teaches you Linux administration skills that are valuable in professional environments. You learn networking, service management, security hardening, and automation. Old hardware becomes a practice lab.


When to Give Up: The Honest Failure Criteria

Not every old machine is worth reviving. I have learned this the hard way, and knowing when to stop saves you time and frustration.

The hard floor: If the machine is 32-bit only with less than 1GB of RAM, you are looking at a very narrow set of options. Puppy Linux and a few Debian derivatives can run, but the experience will be painful for anything beyond basic text editing. At that point, the hardware has reached its natural limit.

Failing hardware indicators: Run a SMART check on the hard drive with sudo smartctl -a /dev/sda. If you see reallocated sectors, pending sectors, or uncorrectable errors, the drive is dying. Replace it or recycle the machine. RAM errors are another red flag. If memtest86+ throws errors, the memory modules are failing and no software fix will help.

Thermal problems: Old laptops with clogged fans and dried thermal paste will throttle constantly. If the CPU hits 90 degrees Celsius under light load, the machine needs physical maintenance before any software optimization will help. Clean the fans, replace the thermal paste, and try again. If that does not help, the cooling system may be physically damaged.

The honest assessment: If the machine cannot run a lightweight Linux desktop at a usable speed after you have applied the optimizations in this guide, it is time to recycle it responsibly. Most municipalities have e-waste collection programs. Do not throw it in the trash. The components contain recyclable metals and toxic materials that need proper handling.


Conclusion

Reviving old hardware with Linux is not just possible. It is practical, sustainable, and often results in a machine that feels faster than it did when it was new. The key is matching the distro to your hardware tier, optimizing RAM usage with zram and service trimming, and being honest about when hardware has reached its limit.

If you have 4GB or more RAM, Linux Lite 8.0 or Xubuntu 26.04 will give you a polished daily driver experience. Between 2 and 4GB, Lubuntu 26.04 LTS is the practical choice. Under 2GB, antiX or BunsenLabs are your best bets, assuming the hardware is 64-bit. An SSD upgrade transforms any old machine, and browser optimization prevents Firefox from eating all your available memory.

The e-waste crisis is real, and every machine we keep running is one less piece of hardware in a landfill. Your old PC is not dead. It just needs the right operating system.