I don’t mind it, but I don’t really use it for any of its features. I use i3 over Unity, I think Snaps (and flatpaks, appimages, etc) are dumb as shit.l, and don’t even get me started on how garbage Nautilus is - drives me nuts trying to type a filename in to jump to it only to have Nautilus run a search instead… No idea who thought that was a good idea, but they need to fix that crap already.
I’d probably get by just fine with a full Debian setup tbh.
In first you need understand what type of suspend you use:
Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine’s state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine’s state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine’s state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine’s state has not been lost.
I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.
<span style="color:#323232;">[s2idle] shallow deep
</span>
check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.
If you don’t see anything you can swap sleep mode to Suspend to disk. That slow but don’t use any power. Or try fix sleep status.
You don’t have to use Snap (except for LXC, I think?). It’s not enabled by default, but you can enable Flatpak and everything will work fine. Flatpak has Firefox and Chrome and all the other applications thst Canonical foolishly moved from their apt repos to their Snap repos.
There are some frustrating things about Snaps (loading all of them at boot time rather than at runtime, for quicker app start but slower boot, for example, and that stupid snap folder that can’t be moved) but honestly I don’t really see what the fuss is about as an end user. Nobody sets up a purely Snap based system anyway.
The problem with Snap is an ideological one. If you don’t care who runs your software store and if you don’t care about having the ability to add more software stores then the default, you’ll be fine with Snap. If you’re ideologically driven towards Linux, you’ll probably dislike the way Snap is set up.
Like it or not, Ubuntu is still one of the best supported distros out there. If you want drivers from any manufacturer, you get to pick between drivers tested for Ubuntu or Fedora. Every other distro repackages those drivers using their own scripts and compatibility layers because nobody over at Intel is going to spend company time specifically getting Garuda to work when its customers don’t sell hardware with it preinstalled.
Software like Discord and VS Code having the “.deb, maybe .rpm, or you figure it out yourself” approach of official distribution is pretty standard, I’d say, for better or for worse. It also helps that a lot of entry level Linux questions and answers online are about Ubuntu. Askubuntu may not be as vast and up to date as the Arch wiki, but at least the askubuntu people aren’t going to tell you off for not knowing advanced Linux stuff.
There are upsides and downsides to any Linux distro. You’re not “supposed” to think anything, try it out, keep an open mind, and pick what works for you.
I also used it and dropped it years ago because it tended to break a lot in updates.
That, their poor kde support, their constant reinventing the wheel (poorly) drove me away.
Now I run opensuse as a rolling distro that’s always up to date and just never breaks even when there are 6000 packages to update. It’s boring and safe.
I have read this about the expansion cards and only use 2c and 2A. A bit stupid considering you can hack the hdmi port into suspending on its own… Did not expect this from fw.
That is almost equivalent to 1h of browsing in Linux! :D \s Other expension cards are drawing about 1W of power, even without use! That’s crazy much I think…
Kinda true though. I wish Framework would focus on power usage a bit. As much as I love the concept and laptop the battery life is not one of its strong points. I’ve done a lot of tuning and squeeze about 6-7 hrs out at ~40% screen brightness.
Most phones have no mainline Linux support, and require something like ubports, which can use an unholy hack to run Linux userspace based on Android drivers and kernel. I think this one can be installed to just about any Android phone (worst case you can use the generic GSI image, which should work but be slow). Personally, I’ve never once bricked a phone by flashing it, and I’ve been doing it since ~2015 (don’t remember the year, but it was a Lenovo S660).
OnePlus 6 is a 5 year old phone with a SoC that has comparatively high development velocity (SDM845), which is why it’s finally getting close to full mainline support for basic features like calls/SMS/camera/sensors (still not fully there, and yes sensors are needed, they make stuff like autorotate and turning touchscreen off when you put your phone to your ear during a call work). If you want to tinker with Linux, I recommend a Pinephone; though Mobian did mention how frustrating its ecosystem is in their blog. Maybe Pinephone Pro or Librem are better, but they’re way way way more expensive. If you want a daily driver, I recommend a OnePlus 6/6T as explained in the article, or some other SDM845 phone, and maybe don’t DIY if you don’t have the basic experience in working with ARM SBCs and Android ROMs like me lol.
postmarketOS is probably the smoothest experience you’ll get on a wide range of devices, and I highly recommend it. Most other mobile Linux distros are often more or less piggy backing off their work (though of course other distros create cool stuff too).
Snaps are centralised packaging, a’la Apple App Store or Google Play. Now if someone forked snapd, added third party repo and made It so you could select which repo is the main one, that’d be a start.
But as long as Canonical commits to a centralised form of distribution with no third party support I’m going to advise desktop users to stay away from Ubuntu.
They have the ability to arbitrarily push out Snap updates.
That’s right! Your production server is getting patched without your knowledge or consent. Thankfully they magnanimously decided to let admins delay it by a few weeks.
Linux is about control. I decide what my machine does. When it updates. What it updates. The feedback from Canonical regarding Snaps was so tone dead and condescending it made Steve Balmer look sane. It boiled down to, don’t worry your pretty little head off. We know what’s best.
strictly speaking, NixOS doesn’t have repositories.
NixOS has “derivations” (rules are written in the Nix language to generate a script that builds a package, which is called a derivation - yes, everything is built from source to the extent possible/reasonable) and “platforms” (the system that builds the derivation OR the system the derivation is built for). A “platform” is e.g. the CPU architecture, the libc used, the target kernel (there’s most support for Linux and Darwin, which is the macOS kernel, but e.g. FreeBSD is supported to some extent too). The derivation code may well be shared across platforms, though often platform-specific workarounds are required.
Of course, different platforms have different support. Some platforms have derivations from nixpkgs (the NixOS git repo) regularly built for them and put into the official binary cache (which stores the derivation outputs, i.e. ready-built packages for a certain set of inputs, which generally match what you would’ve built from source because Nix strives for reproducibility, you’re still free to override a package’s inputs and build it from source). linux-aarch64 is one of such platforms. Other platforms may only have a small set of core packages like gcc built for them, or simply require building absolutely everything from source.
The reason nixpkgs is not a repository (though I guess you could call it one) is because it only provides rules to build a package, but not the package itself. Some derivations (e.g. for Gog games) even require you to add some non-redistributable files to the Nix store manually. The derivations may or may not build correctly for each platform they’re supposed to work on.
The reason the binary cache is not a repository is because it’s just a cache for nixpkgs - it stores every derivation’s output (if the build doesn’t fail), even if that derivation is one that downloads a package’s source code (yes, that’s a derivation too), even if the derivation is from many years ago (which has historical value, as you can revert nixpkgs to an old version and still be able to download prebuilt versions of packages).
Together, they form something like a repository, but it’s still way too different. For example, unlike on Arch, I can stay on the same nixpkgs version for a long time without updating, which I really prefer because I have to build 3 kernels on each update, since I’m syncing the nixpkgs version of my 4 NixOS devices, only 1 of which doesn’t require a custom kernel config. Or I can always revert back to an older version of nixpkgs if a new one breaks something and it will still work. Or I can fork nixpkgs and change some stuff, and the stuff with changed inputs will have to be rebuilt locally, with stuff that didn’t change still available from the binary cache.
yes, if that AUR was in a centralized git repository, and kept track of inter-package compatibility, and centrally cached prebuilt versions of the packages for every single update, and you could also easily modify any of the packages, and there was a way to autogenerate build scripts, and and and…
Framework has a guide for you. You’ll need to disable either power-profiles-daemon or TLP depending on what CPU you have.
As for hibernation: TL;DR: it’s a mess. Fedora doesn’t support it out of the box. You can make it work with some elbow grease.
However, you shouldn’t need hibernation if your laptop goes to sleep like it should. If you can’t get it to sleep right, or still really want hibernation, here are some pointers:
many Linux distros don’t consider hibernation to be a stable feature. The default Fedora setup doesn’t even come with a swap partition by default, which makes hibernation impossible. You’ll need to allocate some swap space before you can hibernate your computer.
make sure your swap partition is encrypted if the rest of your laptop is encrypted as well. If you use a swap file, you can make this work, too, but it’ll be slightly more complicated
make sure your swap partition is big enough (at least RAM size + the amount of swap in use at the point of hibernation)
if you don’t have a partition for swap and don’t want to create one, or if you want to keep using zram (compressed memory, enabled by default on Fedora, probably recommended to keep enabled), then this guide and its comments will tell you how to get a swap file to work. Make sure you read the update with more details too, and there’s also a comment further down specifically about Intel Framework laptops (need to disable a certain Intel driver that breaks hibernation).
disable secure boot in your BIOS. Linux doesn’t support the security features that Windows has to validate the state of boot SECURITY (even with custom secure boot keys), so when you’re running in secure boot mode (and the kernel is in lockdown mode), the Linux kernel disables hibernation. Alternatively, there are guides that’ll show you how to patch that check out, but that involves compiling your own kernel and that’s not worth the effort IMO.
configure your laptop for suspend-then-hibernate for best performance. I believe hybrid-sleep will also work. The Github gist I linked has details
you will probably need to enter your password when resuming from hibernation. This is a security feature. You can configure your laptop to use the TPM to decrypt the disk, skipping the encryption password entirely, it you don’t mind thieves having the ability to access your data when they steal the laptop.
You may be wondering why this is so complicated. A big reason is that Linux wants to be secure, but hibernation comes with unique security challenges. Linux also wants to be fast and efficient (by compressing RAM rather than writing it to disk) but that messes with the presumptions the hibernation system makes. Fedora dorky sorry hibernation out of the box, but they’re working on it, albeit not as fast as you might hope: pagure.io/fedora-workstation/issue/121
I wouldn’t call it hate, more like disapprobation with Canonical’s choices. No one have to use Ubuntu, we have tons of distro to choose. If someone wants LTS, you can always go pure Debian way, it’s not hard to install as it’s used to be (for beginners), or there is Linux Mint Debian Edition. You can easily use flatpaks with these and keep your software up-to-date.
linux
Newest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.