Friend has an old laptop with windows 10 that he doesn’t use because too slow and freezing all the time. Wants to revive it to leave at his lab in grad school for browsing the internet and editing stuff on google docs so he doesn’t have to carry his newer laptop everyday.
I suggested Linux but I myself always used Debian and I am not sure it will run decently with such low specs. Was thinking maybe Debian 11 with xfce or something? Any better options?
To be honest, I wouldn’t on a 2Gb laptop. It’ll run Linux just fine but the minute you use a browser or office suite you’ll have memory problems.
Unfortunately, modern web browsers are horrible pigs. No matter what distro you put on this thing, interacting with webpages will be s-l-o-w. (I have a similar laptop—2 GB RAM, Athlon64x2 CPU—running Gentoo, and while it’s functional in its primary job of “larger-screen video iPod for 720p or less”, starting a browser takes a while.) The niche your friend wants to make this machine fill is about the worst one possible for it.
Your biggest problem is the amount of RAM, not the cpu. Some Linux distros would fit nicely on 2gb with a few native apps open, but the moment you’d want to browse the web, all hell will break loose, as each tab will take hundreds of megs each (youtube takes between 600 and 1200 mb of ram). FYI, even if chrome/ium is hated in these parts, it uses less ram than firefox (there’s also a setting to use even less ram).
I’d suggest you use either Alpine Linux with xfce (240 MB of RAM on a cold boot), or even better, Q4OS with the Trinity Desktop (fork of KDE), 350 MB of RAM. The advantage of Q4OS is that it’s a debian, so it can run lots of .deb files made for debian. Alpine is cool and all, but it has bugs on the desktop (some of its package management has dependency problems).
A tip: to save ram, don’t use background images, only a single color. You can save up to 50 MB of RAM that way, depending on the image you’d be using.
VoidLinux
It is probably the best solution to the low memory problem, but it is also the least common and may be the most difficult.
There is a xfce live edition and a good wiki. Not having systemd is a great thing for these old specs in my experience.
Is dbus still available on non-systemd?
Yes, you have to enable the service, this is for voidlinux (runit): https://docs.voidlinux.org/config/session-management.html
Puppy would fly on there, or even DSL 2024. Heck, both those distros would fly even on a Pentium 4 of all things.
But web browsers and video players are going to be painful with any distro.