this post was submitted on 03 Jul 2023
36 points (95.0% liked)

Linux

48721 readers
2199 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I want to know your opinions on the best distro that is convenient for laptops. Main reason is I want to really optimize hardware performance and more specifically battery life for my University classes. I also want to try a tiling manager as they seem perfect for laptops.

Things of note:

  • Convenience/Performance is key
  • My laptop is a Thinkpad E15 w/ 16 gb ram
  • On my home desktop I run Archlinux w/ Open box & no DE (I've been using Arch for years but haven't used another distro since Ubuntu in highschool)
  • I will likely dual boot with Windows 10 for Office
  • I want to run a tiling manager
  • I don't video game
  • I wont be using a mouse
  • I don't necessarily want to use Arch, want to try something new that I don't have to rely on AUR updates for certain software
top 50 comments
sorted by: hot top controversial new old
[–] demesisx 11 points 2 years ago* (last edited 2 years ago) (5 children)

🧌 NixOS 🧌

I use xmonad/polybar/rofi/alacritty/fish with Home Manager and flakes. You could just use my whole config and have it up and running in a day, deleting lines and adding others. Fork it and modify it to meet your preferences (as I did when I forked this amazingly slick config). I even made a custom typeface to add my favorite crypto logos to my Polybar.

[–] [email protected] 3 points 2 years ago (1 children)

this really makes nixOs so good because I can just make others do the hard work of configing it for me and use it 😂

[–] demesisx 5 points 2 years ago

Unless you want to run a stake pool on Cardano, you’d have to fork and modify my config.

[–] Jean_Lurk_Picard 3 points 2 years ago (1 children)

Wow these seems really cool, good job and thanks for your contribution! I am gonna check it out!

[–] demesisx 4 points 2 years ago

Glad to help! I’m merely standing on the shoulders of the giants before me.

[–] [email protected] 2 points 2 years ago

+1 for NixOS

I'm a distro hopping junkie and NixOS has been keeping me on their OS for 8 months now. Highly recommend it.

[–] [email protected] 2 points 1 year ago

YESS!!! I just switched from vanillaOS to Nix and its been a learning curve but if you screw up you just go back a generation and rebuild. And I haven't had any package manager BS like ubuntu.

[–] [email protected] 2 points 2 years ago (1 children)

Also running NixOS on my laptop. It took longer to configure than most distros since I had to learn more, but now that I understand the ecosystem better I feel like I can tinker with it so much faster that I'd be able to otherwise.

Definitely a distro for more developer types who are fine figuring stuff out in their own, but if it works for you then it really works for you.

[–] demesisx 2 points 2 years ago

I absolutely adore it. Today, I added a simple bash script to one of my config options that runs just before my nix flake update command that gets the sha256 hash for the latest release of the Cardano-node then writes that hash into my flake.nix file using sed. Then, when I do a flake update that little hash update (that I used to manually do) is also built in.

[–] [email protected] 10 points 2 years ago

My understanding is that it's not really the disrto, but the software running on it that'd effect battery life and performance. Both Debian and Arch can come pretty bare bones on a blank install (Ubuntu and derivatives tend to come with a fair bit of stuff bundled out of the box).

I'd personally reccomend trying a Debian installation (I'd likely say use stable, but testing or sid are also options if you need quicker updates and don't care for flatpak/snap/appimage/distrobox). The installer plays nice with Windows, and you can skip installing a desktop during installation then CLI install a tiling window manager to really minimize 'bloat'.

[–] [email protected] 9 points 2 years ago

Add tlp package for battery life. And any major distro should be fine really

[–] mrpibb 8 points 2 years ago (3 children)

Do you really need to dual boot for office?

I’m doing fine compatibility wise with the OnlyOffice flatpak. If you have a school account with Microsoft perhaps the PWA for Word, etc. will meet your needs.

For a laptop distro with a good tiling DE out of the box you might enjoy Pop!_OS.

[–] [email protected] 4 points 2 years ago (1 children)

File compatible is one thing, but I just can't get over the difference in shortcut keys/workflow.

Plus, creating and editing charts is still miles easier in excel.

[–] mrpibb 2 points 2 years ago

I've been switching my Excel tasks over to Python using Pandas and Matplotlib. Most of my data is .csv and OnlyOffice seems to handle large files just fine. LibreOffice Calc gives me issues with large files.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

True, office compatibility is great nowadays on Linux. I use libreoffice and have yet to run into any issues. Unless your employer/class specifically requires something exclusive to Microsoft Office, than it's not worth the effort to dual-boot for it.

[–] [email protected] 1 points 2 years ago

You really don't. Libreoffice does most things just fine. If you have weird files in your org, run windows in a vm.

[–] Puzzlehead 5 points 2 years ago
[–] [email protected] 5 points 2 years ago (3 children)

specifically battery life for my University classes

try undervolting your CPU/GPU. That was the first thing I did when I got my thinkpad and it improved the thermals and battery life significantly.

[–] flontlocs 2 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago

I would use one of the tools listed in the archwiki; I have an intel chip so I've never used any myself.

Once you find a tool that can undervolt, usually the recommendation is to lower the voltage incrementally until you see unstable behavior and crashes, than raise it back to the last good voltage, then run a stress-test to verify.

load more comments (2 replies)
[–] [email protected] 4 points 2 years ago

Why not something like Debian Testing?

[–] [email protected] 4 points 2 years ago

If you absolutely must use MS Office, and don't want to use any of the alternatives like LibreOffice that use the exact same file types, why not just run MS Office with Bottles? If that's the only reason for a dual boot, you probably don't need to dual boot.

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

Debian is solid. You probably don't want to have to fuck around on a laptop that you're using primarily for getting shit done. Flatpaks can handle most of the extra shit you'd want to use. That said, I used to be an Arch guy for years too, and if you're comfortable with it, it's fine to use, but you'll run into the same kind of annoyances. Not true breakage usually, but eventually I got tired of having new surprise bugs in shit that was working fine before.

Also I can't be sure, but I suspect Wayland is probably better on energy draw since it should be more efficient. Maybe try sway for your twm?

[–] [email protected] 2 points 2 years ago

Not true breakage usually, but eventually I got tired of having new surprise bugs in shit that was working fine before.

yep, considering switching to nixos for this reason.

[–] Smokeydope 3 points 2 years ago

Try the 'tlp' command on whatever distro you end up with. It really help with battery optimization. I'm a big Linux mint fan all of my laptops have always had it never had any compatability or driver issues with mint. Something I would maybe recommend is buying some external thinkpad batteries for the laptop off the internet. Else you can buy a big rechargeable car jumper batter pack with 12vdc car output and a car plug charger for laptop.

[–] [email protected] 3 points 2 years ago

OpenSUSE Tumbleweed FTW. I've got an old T530 (2012) who's been happily on Tumbleweed since 2019.

Nowadays I use vanilla Gnome but had a very good experience with Awesome on the same setup. You may want to check the default Sway setup too.

[–] [email protected] 2 points 2 years ago (1 children)

Fedora and Debian are good choices. I've been using Fedora for more than 7 years and it's still going. Very stable like Debian yet up-to-date packages.

[–] [email protected] 2 points 2 years ago

I've been running Debian for about 7 years as well, never an issue.* I use it for browsing, photo/video editing, coding, gaming with Steam with no complaints. Fedora has always been tempting for it's more up to date packages but Debian's usually have all the features I need.

*I have had self-induced issues by installing .debs from strange places but never with the default repos or even 3rd party repos.

[–] [email protected] 2 points 2 years ago

I've been using Fedora on my Dell XPS and it's been great. Opensuse Tumbleweed was also fantastic.

[–] [email protected] 2 points 2 years ago

I liked using fedora Sway spin on my Dell XPS 13. Sway because it let's you utilise the screen space well and fedora spin because it came working out of the box, you can use it in any distro really.

[–] [email protected] 2 points 2 years ago

You can try using Linux Mint (it's Ubuntu like but pretty stable with regular updates) it's pretty light weight and you can disable gui

[–] [email protected] 2 points 2 years ago (1 children)

In terms of optimization, Gentoo is the best you're gonna get, but the word "convenience" makes me hesitant to recommend it to you.

Arch is minimal, and has many resources/guides on battery optimization (Especially for ThinkPads), but if you'd like to learn something else, Void is the way to go.

If you're looking for a tiling WM, I can wholeheartedly recommend bspwm. Lots of control and customization, but pretty easy to configure when you understand it. Just know, it might be a hard change going from stacking to tiling.

[–] Jean_Lurk_Picard 1 points 2 years ago (1 children)

Hmm I'll check out the battery optimization guides. I understand Gentoo is probably the best for overall optimization but I'm not advanced enough to use it.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

If you can set up and maintain an Arch installation, you can probably figure out Gentoo. It wasn't too bad when I did it. It's just not very convenient. in order to properly optimize, you have to set your use flags for each package. Not only that, but packages are compiled from source, rather than installed as pre-compiled binaries. So basically, you have to configure each package and updates take much longer.

[–] [email protected] 2 points 2 years ago

The one you like.

[–] [email protected] 2 points 2 years ago

I don't necessarily want to use Arch, want to try something new that I don't have to rely on AUR updates for certain software

That's literally the only relevant criterion. Search flathub for those packages, if they're not up there, search the repos of every major distro.

[–] Raphael 2 points 2 years ago (1 children)

Yes, the best distro I always recommend is Fedora Silverblue, especially the KDE version: Fedora Kinoite. I hate this naming scheme though.

Sadly Fedora is controlled by Red Hat and it may get killed off soon.

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago

following for the answers. I'm currently using Ubuntu on my Dell XPS 9330 and after 6 months as my daily driver I'm ready for something new.

[–] [email protected] 1 points 2 years ago

Popos. Surprised no one has said it.

[–] solidgrue 1 points 2 years ago

Mint LMDE (Linux Mint Debian Edition) is pretty good for laptops & convertibles, but it does lean into the Desktop environment pretty hard.

If you're among rhe Unafraid, Debian Sid.is a common laptop/convertible stack, but I wouldn't ever accuse of it "just working."

[–] [email protected] 1 points 2 years ago

fedora or nobara with gnome de and that's it. I don't think you need to look for any other distro. You can if you want to but you won't go wrong with this. I tried linux mint, and I had two problems in it. a) no 1 to 1 gestures b) some packages were outdated. Then there's arch and opensuse where in both cases I got black screen with nvidia drivers.

fedora is the balance between stability and newer packages. And It's the distro I've been using for 3 years now. I sometimes try this and that but in the end, jump back to fedora always. If yast was a bit more user friendly, I'd consider opensuse

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

Arch is a barebones distro so it makes sense that you have one of the best battery life.

My old 2012 dell laptop is running Arch and so far : the battery which has been used extensively boasts ~2:30 of uptime (on KDE, no less!) compared to Win10 which has only ~1:25 or Fedora which gives me a meager ~1:15.

I cannot tell for OpenSuse because for whatever reason I can't even boot it on this PC. It was my main go-to distro before 2012.

Debian is also solid. I get almost ~2h of uptime.

I have also used Zorin OS which is nice but rather slow on older hardwares.

So overall go for Arch (again), Debian or take a wild guess at NixOS.

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago (1 children)

I guess you can run fedora if you want full features of a laptop. Im currently running LMDE5, is rock solid for me this past 2+ years, upgraded seamlessly from LMDE4. I guess LMDE6 will be released soon after LM 21.2 is released. I do think that at the end of the day , whatever you choose, you can change your desktop environment so it suites you.

[–] [email protected] 3 points 2 years ago* (last edited 1 year ago)

If you do use any debian distro, nala is a great way to update your packages.

[–] coolmojo 1 points 2 years ago

If you are familiar with Arch, you can use arch on your laptop. You can consider Garuda Linux which is arch with a graphical installer, preconfigured DE and WM plus confirmation and maintenance tools. They also have a PacMan repository called Chaotic-AUR: a repository with huge selection of precompiled air packages. They have - among others - Wayfire, Sway, i3WM and Qtile editions. You can try them out from a live usb and see what you think.

load more comments
view more: next ›