Schykle's Blog

The consistently inconsistent ramblings of a technically inclined madman.

A modern OS deserves a modern filesystem

In my recent exploration of Pop!_OS 26.04, I made note that I’d really love to see the folks at System76 adopt BTRFS in place of Ext4. A copy-on-write filesystem with compression and snapshotting makes perfect sense for an operating system designed for getting work done. Luckily for us, we can do a tiny bit of hacking to convert a fresh install of Pop!_OS from Ext4 to BTRFS while maintaining encryption!

Image

Installing Pop!_OS

The first step in the process will be performing a fresh install of Pop!_OS. Technically you can do this with an existing installation and the steps will be very similar, but I’d prefer to do this clean. My guide is based on adapting official documentation and manpages to the specifics of Pop!_OS. Feel free to adapt my instructions to fit your particular needs!

Image

When you boot into the Pop!_OS live session via USB, the first thing that should Pop!_up is the installer (was that funny? I thought it was funny). This is the easy part. Proceed through the installation as you typically would, setting your language/keyboard settings, selecting a clean install, and making sure to enable encryption (which is selected by default, so if you’re turning it off... BAD!).

Once the installation completes, we can move on to the filesystem conversion!

Converting ext4 to btrfs

Rather than pressing that shut down or restart button in the completed installer, open up the Disks application and navigate to your drive. For me, it’s a 512GB Kioxia drive. The largest partition/volume on this drive will be a LUKS encrypted root partition. It’ll be locked and you can unlock it by selecting it and pressing the little padlock icon on the bottom left of the Volumes section. The password will be the same one you used during the install, either the same as your login password, or a custom one if you chose to use a separate password.

Image

Once the system unlocks/decrypts that drive, you’ll have access to the contents within, which will be an ext4 partition that needs to be converted. The first step will be to make sure the filesystem is clean. Open up a terminal and proceed with the following:

sudo su
fsck -fvy /dev/mapper/data-root

Next up, the filesystem conversion itself.

btrfs-convert /dev/mapper/data-root

This may take some time, but once it’s complete, it’ll provide you with an important piece of information you need for some steps later on. In the output, the UUID for our new (target) filesystem. Copy just the target UUID to your clipboard.

Now that you’ve converted the filesystem, it’s time to clean it up just a bit. It’s time to mount it with the following (I’ve chosen to enable ZSTD compression as I’ll touch on later):

mount -o compress=zstd:6 /dev/mapper/data-root /mnt

The next step is to delete the snapshot it created when converting from ext4 to btrfs.

btrfs subvolume delete /mnt/ext2_saved

Now it’s time to defragment the filesystem. An optional but sensible step and will ensure the data on disk makes use of ZSTD compression.

btrfs filesystem defrag -v -r -f /mnt

Lastly, “balancing” the filesystem, which essentially compacts data to make use of potential free space that comes from inconsistent block sizes. Most of the time, just a run on metadata is done, but I always prefer to do a full balance as it’s relatively fast on modern hardware with just a single drive/volume. If you were running this on multiple terabytes of data and disks, pass -m.

btrfs balance start /mnt --full-balance

OKAY OKAY... we’re almost done, I promise.

Updating FSTAB and pointing the right fingers

Now that the root filesystem has been converted to BTRFS and cleaned up properly, we need to update the fstab and the bootloader to reflect the changes so your system spins up with the right information.

The first step, modify the fstab on the installed system.

nano /mnt/etc/fstab

That file will probably look something like this...

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system>  <mount point>  <type>  <options>  <dump>  <pass>
PARTUUID=6ce4c755-19e7-4186-888e-08e94bf23a97  /boot/efi  vfat  umask=0077  0  0
PARTUUID=a3b707a3-2bf1-4151-aca2-2e10ea039680  /recovery  vfat  umask=0077  0  0
UUID=8b2ba665-8bb8-4237-ac34-021bf6ae0477  /  ext4  noatime,errors=remount-ro  0  1
/swapfile  none  swap  sw,pri=10  0  0

You may notice a familiar line... UUID=. That’s what we’re fixing. Remember that line we copied earlier? That’s the proper UUID we need to put in that space. We also need to make sure we change ext4 to btrfs. I generally also remove noatime and I tend to add compress=zstd:6 (most systems default to 1, but I prefer 6) so we can benefit from BTRFS compression! I also removed errors=remount-ro as BTRFS automatically switches readonly upon encountering errors. Here’s an example of what my corrected fstab looks like:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system>  <mount point>  <type>  <options>  <dump>  <pass>
PARTUUID=6ce4c755-19e7-4186-888e-08e94bf23a97  /boot/efi  vfat  umask=0077  0  0
PARTUUID=a3b707a3-2bf1-4151-aca2-2e10ea039680  /recovery  vfat  umask=0077  0  0
UUID=4800fb71-c03d-4925-96b2-f5bbd28c6a6f  /  btrfs  compress=zstd:6  0  0
/swapfile  none  swap  sw,pri=10  0  0

Next up, let’s make sure the bootloader does what it’s supposed to. For this step, we need to mount the boot partition, chroot into the installed system, and make sure the appropriate BTRFS commands exist! I’ll walk you through it, but essentially what we’re going to do is remount the partition with all the right settings applied, make sure the appropriate system directories get mounted within that space, and then chroot in.

Your boot partition should be a ~4GB FAT partition at the font of your filesystem. The easiest way to locate it is by just selecting it in GNOME Disks and taking note of which “Device” it is. For me, it’s /dev/nvme0n1p1 (this may vary if you use SATA SSDs or HDDs and can look like /dev/sda1, for example). This is what I mounted at /mnt/boot/efi.

cd / && umount /mnt
mount -o compress=zstd:6 /dev/mapper/data-root /mnt
mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do mount -B "$i" "/mnt/$i"; done
chroot /mnt
mount -t efivarfs efivarfs /sys/firmware/efi/efivars

Now that we’re chrooted into the system, we need to install the btrfs-progs package. Make sure you’re connected to the internet, and then run the following:

apt update && apt install btrfs-progs

This will typically update the initramfs but I like to be certain, so from there, we’ll run a command to do exactly that. We’ll also then trigger kernelstub which should sync everything up and update your bootloader.

update-initramfs -c -k all
kernelstub

Aaaaaand, bada-bing, bada-boom!

Booting into the new system

From there, it’s time to experience greatness! Exit the terminal and reboot your system. It should reboot as it would during a standard installation, and when you enter your decryption password upon boot, things should work as if nothing ever happened. The only difference being that you’re now really cool because you use BTRFS!

Thanks for coming along on this little journey! It’s the result of multiple trial-and-error experiences, reading documentation I barely understood, and overall just a fantastic learning experience. I hope it helps anyone who wants something similar!

Documentation referenced for this guide:

System76 Kernelstub Documentation Arch Linux BTRFS manpage Red Hat fstab introduction Debian initramfs-tools manpage Arch Linux chroot manpage

Discuss...

Making use of Toolbox and keeping OSTree clean

Since I've started using Linux again, I've come back to some of my favorite tools for connecting and syncing all of my work across my devices. One of those tools is Syncthing, which is by far the best blend of simple and powerful when it comes to keeping everything copied over to the machines I need them on. Rather than installing Syncthing to the core system using rpm-ostree however, I've chosen to install Syncthing via Toolbox and create a systemd service which allows it to always run in the background, requiring no manual intervention between reboots and logins!

Image

Installing the Toolbox container and Syncthing package

The first thing you'll need to do before you can configure the Syncthing service is get it properly installed via Toolbox! To do this, open up your terminal and proceed with the following command:

toolbox create -y && toolbox enter

After a quick download of the Toolbox image, you should be tossed into your container! From here, we're going to update its packages and install Syncthing. You can do so with the following command:

sudo dnf upgrade -y && sudo dnf install syncthing -y

Creating the necessary launch script and systemd service file

You'll need to create a script somewhere that can be called to launch Syncthing. You can place this almost anywhere, but generally I think it's good to have a directory in your home folder that's just dedicated to your scripts. For me, it's ~/Scripts, but the where is genuinely up to personal preference (but my way is obviously the best way).

Inside this script, you'll need very little, just a shebang (#!) and one command. It should look as follows:

#!/bin/bash

toolbox run syncthing

Save this file wherever you please and call it something reasonable like syncthing.sh make sure it's executable! You can do this with chmod +x /path/to/syncthing.sh

The next step will be to create a systemd service file. We're going to create a user service, not a system service. This will be responsible for triggering the start of the Syncthing app we've just installed in Toolbox.

You'll need to create the systemd user service directory as it does not exist by default which you can do with the following command:

mkdir -p ~/.config/systemd/user

Inside of this folder, you'll create a service file (text file) named syncthing.service, which should contain something that looks like this:

[Unit]
Description=Start syncthing on login.

[Service]
Type=simple
ExecStart=/home/schykle/Scripts/syncthing.sh

[Install]
WantedBy=default.target

The only thing you should need to change is the path to your Syncthing script. Mine is /home/schykle/Scripts/syncthing.sh, but depending on where you've placed that file earlier, you'll just need to make sure you edit it to match.

Enabling and starting the service

Now that all the core components are in place, there's just one more thing to do... Turn it on!

To enable and start the service you've just created, you'll use the following command:

systemctl enable --now --user syncthing.service

This should simultaneously enable the service on your system as a user service as well as start it for your current session.

Ta-da! That's all, folks!

Syncthing should now be running. I'm no expert on advanced Syncthing configs, so I use the web UI for everything. It almost always runs at 127.0.0.1, but the port may vary. I find the easiest way to figure out which port it's at is to just run toolbox run syncthing in the terminal and see what it spits out at you. For me, it's 127.0.0.1:8384. Simply navigating to that address in the browser lets me access the web UI to configure connected devices, shared folders, etc.

Overall, it's a relatively simple process, but the benefit of doing it this way as opposed to just layering packages is that you reduce the complexity of your core OS. Syncthing isn't really an OS component, and the less you can have interacting with your package tree, the better. This reduces the possibility of dependency conflicts, speeds up the downloading and building of updates in the background, and allows you to keep things nice and tidy inside of a container, instead.

Thanks for reading! Keep calm and sync on!

Vince, if you're reading this, I haven't forgotten about shims! Shim sham! Shimmy!

Discuss...

Exploring Pop!_OS 26.04 and the COSMIC Desktop

It's not very often we get new desktop environments, and even less often that we get one that isn't a fork of an existing desktop. System76 announced COSMIC back in 2021 after running into limitations building their system on top of GNOME via extensions. In 2024, the first alpha releases were sent out, and in 2025, the first release of Pop!_OS featuring COSMIC was out. I tinkered with it a tiny bit, but never really gave it a proper go. I'm a GNOME user at heart, and in general I don't tend to try new desktops the way I once used to. Pop!_OS may just change that!

Image

Installation and minor gripes

When I first booted into the live USB, I did run into a couple of issues as I had forgotten to disable Secure Boot. This is something I'd really like to see support for in the future, but for the purposes of this exercise, is merely a sidenote. Once I got to the desktop, I was greeted by a very familiar installer! The same one I used a few years back to install Pop!_OS when COSMIC was based on GNOME. As it was then, it was extremely fast, straightforward, and most importantly... encrypted by default. My only real complaint about the installer is that it still installs with Ext4 as the root filesystem. BTRFS is mature enough at this point and provides more than enough benefit to be used for root, and in the future it'd be great to see this get changed! Aside from that, the installation was so unbelievably fast that I spent very little time looking at the live system or installer. On to the real deal!

Logging in

One thing I noticed when I rebooted after installation was how incredibly quickly I went from my laptop's splash screen to the login screen. On every system I've used in the past month, it has taken a moment to be able to enter my decryption key and properly start the boot process, but that happened almost instantaneously here and I still don't understand why, but I love it. After entering my decryption key, the boot process was wicked quick, which if I recall correctly, is likely due to the use of systemd-boot rather than GRUB. Cleaner. Faster. Better.

The same goes for the login screen. I was able to start typing in my password without having to click into the text box manually, which means the folks at System76 are working hard to squash bugs, as I do recall this being a quirk in the past.

After I logged in, I was greeted by a welcome screen where I could connect to WiFi, select my region (for timezone purposes), and even gave me a couple of tips for navigating COSMIC. I feel comfortable with the balance they've struck with how much is in that welcome screen. There's not too much packed in to make it feel tedious, but just enough to feel like I've got the basics configured. Great stuff.

What's in the box

By default, there's a relatively slim selection of apps/software installed and I very much appreciate this. A focused experience is usually a good sign. I'd love to see some work done on cleaning up extraneous menu entries that probably shouldn't be there, like multiple fcitx options, one or two of which can't be removed without deleting the entire desktop environment. The same applies to the language selector. Ultimately, these should be sections within the Settings app, not standalone entries in the apps list. Aside from that, the selection of COSMIC apps is just about complete, with a terminal, software store, image viewer, media viewer, file manager, and system monitor (my personal favorite).

There are some really thoughtful features baked into the COSMIC apps, and I quite like that overall, they've been designed to be functional. Definitely a 'do one thing and do it well' approach, at least from my experience.

I've also discovered one of my favorite features that I use on macOS quite often is actually something that has been built into COSMIC Files! When a file is selected, pressing Space previews the file without actually opening it and starting up another window/process. I can see what a photo looks like without opening it, allowing me to make sure I pick the right version of a thumbnail or an edited photo without having multiple windows sprawl across my desktop...

Image

Oh wait... there is no sprawl. Because I've tiled my desktop!

The best windows are tiled

By default, Pop!_OS will launch new windows in the same way you're probably used to in most desktop environments. I believe this is an intentional choice, making the desktop more familiar/approachable to most people who don't generally use tiled desktops. With just a flip of a toggle though, all your float are belong to tile. Open a window and watch it scale to make full use of your workspace. Open another window and watch them both scale to share that space evenly. Open another window? Yet another split.

What's awesome about this is that I haven't had to deal with having windows on top of each other, cluttering up my visible space with files and tasks I can't even see without shuffling through the pile. Instead, I can just slide between items I can actually see, never losing sight of what I have on each workspace. Unlike other tiling systems I've used in the past, COSMIC doesn't restrict me from choosing, even on a per-window basis! I can choose to float a single window on top of a tiled workspace, which can be handy if there's one thing I want to do that is always visible, like a terminal process I need to keep an eye on while I work on other things. Just pressing Ctrl+G will toggle a window between floating and tiling. COSMIC handles the switch between the two modes remarkably well.

Image

Getting apps

There's no use in an operating system without apps! (remember Windows mobile?). Pop!_OS has the COSMIC Store, a really nicely done app store with the ability to install apps from Flatpak as well as the core OS repositories (Ubuntu and Pop!_OS repos). With few exceptions, it seems most things come from Flatpak, which is generally the right choice, as it keeps dependency trees cleaner and reduces the risk of things breaking during updates down the line.

Image

COSMIC Store has a bit of work to do on the smoothness of UI interactions, it can feel a bit jittery/janky (pressing Ctrl+F to search for apps when you've already got an existing query doesn't highlight the existing one, meaning you have to clear the text field manually before typing), but the functionality is there. Installing apps is lightning fast, and I've been able to rapidly queue app installs without any hitches whatsoever. Selecting an app from the list or query is instant. No waiting, weird page reloads, etc. It just works and it's great!

There's a little subsection of the store labeled “Made for COSMIC” and it features apps that seem to explicitly target COSMIC, like “Camera”, which I've installed to be able to make use of the webcam on my laptop. At the time of writing, there's just under 30 apps in this section and I'm sure it'll continue to grow!

Stability and reliability

Overall, I've had a fantastic time with Pop!_OS on my laptop. I've only been running it for a few days now, but I was genuinely expecting things to break. New desktops are always prone to unusual hitches and strange crashes but I haven't had a single session crash even when spamming window management hotkeys and opening a slurry of apps on the same workspace. I've even spent a little bit of time testing Chrome and Firefox back-to-back to see if I notice any performance differences, which meant having nine windows (four Chrome and four Firefox with a System Monitor window) tiled on one workspace running a Jetstream benchmark to observe differences in multi-core usage. COSMIC handled this perfectly fine and didn't slow down a single bit even when switching to other workspaces and spawning new windows in the middle of this.

Image

As I continue to use Pop!_OS and do more with it, I'm excited to see how it holds up. I can't say I'm in any way worried about stability at this point, which is very impressive, because there are desktops that have been around for many years which I am certainly less confident in. Very, very impressive to be at this stage so early on in its life.

An exciting future

So far my experience has been fairly positive. I know that COSMIC is being actively developed, meaning new features and fixes will happen all the time. Despite little papercuts here and there, nothing has been a real hindrance because the core desktop experience has been so well-done. Almost every feature I think I need is present, the only bugs I've run into are relatively minor (mostly quirks with animations or text fields, notifications looking bad, etc.) but nothing that actually impacts the quality of using the desktop to get things done.

Pop!_OS implements COSMIC as a “rolling” desktop, meaning I won't have to worry about it getting stale over time as I tend to expect from most Ubuntu-based distributions. I get all the benefits of the Ubuntu LTS base with the goodies of System76's work on faster kernel and graphics stack rollouts. It's a beautiful blend, and probably the first time I've been genuinely excited and interested in trying a new distribution and desktop since I switched to Silverblue for most things some number of years ago.

Massive thanks to the System76 folks for their hard work on COSMIC. Looking forward to what comes down the pipe next!

Discuss...

Addressing double standards and unrealistic expectations

Image

A few weeks ago I had shuffled between a few laptops trying to find one that I really liked. I spent a lot of time dealing with issues that I don’t think most people ever really have to consider, but I also ran into issues I think people just accept because it’s the default computing experience. Linux is ugly but Windows may be uglier.

My own failures

I’m no saint. I have a long history of being obsessive over the very specific way my apps, desktop, and underlying system are built and installed. When things are great they’re really great. The level of control I have when running Linux has made me feel like I can really push the boundaries and eventually get a Perfect™️ system. Unfortunately, the fact that it’s so flexible and that there are so many options has also allowed me to very quickly give up the moment I run into an issue. Strange issues with how one app is working that I can’t quite figure out? Nuke and pave. New install of another distribution. I see another distribution implement the boot loader in a way I like better? Nuke and pave. New install of yet another distribution... Obviously, this isn’t healthy, and I’ve been thinking a lot about this and how it differs from how most people use their computers, but also how there are core similarities that perhaps give Linux a bad rap.

Accepting slop

The other side of this coin is on the Windows side of things. Every time I’ve booted up a new machine, I am very quickly infuriated by the absolute drag that is the Windows initial setup. Multiple reboots, the insistence on using a Microsoft account, having multiple subscription services beg for my money and vaguely suggesting that my data could be lost if I choose not to use OneDrive, and then partner prompts for McAfee or OEM data collection... the list goes on. This is the Windows experience. This is the experience every single person goes through when buying a new PC. I haven’t even mentioned the part where updates after you set up the machine take anywhere from three to seven reboots to eventually completely finish.

If I experienced even half of this during my first run on a fresh Linux install, I’d genuinely just wipe the drive and move on. Despite my own issues with being far too willing to just throw things away, I think this is a completely valid reaction. What’s interesting to me is that Windows users don’t do something similar. Obviously the reasons are nuanced and complex, but boil down to just a few key factors:

1) There are no other options. Windows isn’t an ecosystem of distributions with different implementation details, it’s just one thing. 2) Most users don’t know just how bad it actually is. They have nothing to compare it against. 3) Most users are not inclined to do something about it. Whether it be lack of technical experience, knowledge, and the association of the computer as a thing that includes the software, rather than just the hardware itself.

Okay, so why not just wipe the drive and do a clean Windows install from an ISO. It’s easy enough to download and write to a flash drive...

The double standard

This is where things get quite interesting to me. I’ve done the ‘install Windows from an ISO’ thing so, so, so many times. One thing I’ve learned by doing this is that the driver situation on Windows is quite dire. Booting into any modern machine with a fresh ISO often leaves me with something (or many things) missing. Not having any network drivers is the most common. Intel, MediaTek, Broadcom... all the same. Sometimes they are present, but then my touchpad drivers don’t exist. Alright, I can just use the keyboard. Oh! There’s no driver for my... SSD? What?

This very specific experience was an eye-opener for me regarding the perception that folks have of Linux based on (often outdated) experiences with a missing device driver when installing Linux. When someone writes a Linux ISO to a flash drive and gives it a shot, missing Wi-Fi drivers is usually an instant mark of failure. No consideration is given to troubleshooting because on Windows, that just wasn’t necessary. Because people turn on their PCs with the drivers that came pre-installed by the OEM, they have no clue that the same exact issues are present on Windows, if not worse. The only difference is that they didn’t do the installation themselves.

Ogres have layers

The conclusion that I’ve come to is that there is a direct connection to the unfair expectations that are thrust upon Linux distributions when folks try it out and the overall pressure that Linux distributions and Linux software are under by the general user base. Aside from the reality of passionate people exhibiting passionate expression, I think Linux being seen as a safe haven or a revival for peoples’ machines is also responsible for the harsh criticism it receives for minor issues. It apparently takes so much to push users to the point of actually trying another operating system (otherwise why would they continue to deal with the hellscape that is Microsoft’s equivalent to an eBay storefront for their services that they’ve disguised as an OS), that when they attempt to try something they assume will fix things, any issue is a sign that things must not actually be any better and it’s easier to give up than to trod on.

This extends so much deeper than just the initial experience. It cascades onto desktop software. Issues with an app? Typical Linux experience. Issues with the desktop? Typical Linux experience. The pressure on Linux is higher because the expectations of it being perfect generally ignore the fact that Windows is inherently flawed in both similar and different ways.

None of this matters... BUT!

All this is just to say that I recognize how much harsher I personally have been on Linux at times because my expectation is that things should be so much more perfect than they are. I also recognize that I’m not alone and the unrealistic expectations that others set are also quite weighty and paint an unfair picture of the Linux desktop.

My goal here is ultimately just reasoning through all of this because the reality of most situations is that the grass is only green if you water it. The thousands upon thousands of contributors working on Linux software from the kernel to the desktop to services and apps are all watering that grass. A massive community of people passionate about building great software and this is an incredible contrast to the Windows ecosystem which has continued to be stuffed by Microsoft. The difference is that people just don’t know any better.

I hope that comes as some form of comfort to those of you who are working on and/or enjoying the wonderful things we have here on Linux. There’s always room to improve and none of it is perfect, but the pressure and the expectations are often unrealistic and extreme. The work you’re doing is incredibly valuable to so many people.

Much love!

side note: in case anyone is looking for shims, I’ve included this footnote to mention them. Shim. Shim sham. Shimmy!

Discuss...

Image

Easier and harder than you'd expect!

A number of years back, I had written a guide of sorts for a clean Fedora Silverblue install on the then-current generation Dell XPS 13. I covered the basic installation steps I took, packages I stripped and/or layered, Flatpak repositories, and some fixes for driver issues. Now, I’m doing the same for the current generation XPS 13, and it seems not much has changed! Installation is easier than it’s ever been and honestly not the important part. That being said, let’s dig in…

Installation

Prerequisites

There’s a few important steps we want to do before popping in that USB stick and proceeding with the installation. The first, clearing the internal SSD and configuring the appropriate Secure Boot settings. By default, the XPS 13 ships Windows 11 and only accepts Windows’ Secure Boot keys. I use the secure erase function via the system UEFI menu. This ensures that there’s no data on the internal SSD, though this isn’t strictly necessary, it makes it easy not to worry about potential errors when the installer tries to read partitions on the drive.

As for the Secure Boot settings, enable “custom settings” in the UEFI and enable “Microsoft UEFI CA”. This will allow the system to recognize the shim that Fedora will provide/use. I spent a looong time troubleshooting this, and some distributions will just not work at all, but Fedora seems to have the shim shams to whim wham!

The installation

Plug that USB drive into the system and power it on. It should boot into the right device as there’s no longer an operating system on the internal SSD. Alternatively, you can always smack the F12 button to get to the boot device menu! Select “Install Fedora 45” at the top, and hit Enter. After a few moments, the system should eventually boot into the new web-based installer. It’s nice, clean, and fairly self-explanatory. Most of it is just a matter of hitting next/continue until it’s done. The only settings I really advice paying attention to are the disk encryption option (ENCRYPT YOUR INSTALL, THERE IS ZERO REASON YOU SHOULD BE SKIPPING THIS!) and setting the system hostname, which by default just tries to guess based on what your network assigns to it. Continue until the last step, wait until the system finishes installation, and hit that beautiful blue “Reboot” button!

The actually interesting and opinionated part!

Creating an account and installing updates

The first thing you should be greeted with is a popup window that allows you to choose some basic system settings including creating a user account and setting a password. This is all fairly straightforward and I can’t really tell you what your username should be, but I’m partial to ‘schykle’ for pretty obvious reasons!

From there, you’ll be tossed into your actual GNOME session! Skip the tour because you’re clearly too cool for that, and open up GNOME Software. Ignore the popup to install additional third-party repositories and head straight for that Updates tab.

By now, the system should already be processing an update in the background. In this instance, you really do just have to wait a bit. You should eventually see two categories for updates. One is going to be a Secure Boot database update, and the other is going to be updates for your operating system and its components. Do both! Then use the restart and install/restart and update option to reboot your system.

Yoinking out Fedora Flatpaks and Firefox

There’s a lot of heavy opinions about Fedora including and defaulting to their own Flatpak builds with Silverblue. We can skip the details there because my opinions have already been documented! Pop open a terminal and let’s clean it up. Here’s what I typically do to resolve this and remove the existing filtered Flathub repo:

rpm-ostree override remove firefox firefox-langpacks fedora-flathub-remote && flatpak uninstall org.fedoraproject.MediaWriter org.gnome.Calculator org.gnome.Calendar org.gnome.Characters org.gnome.Connections org.gnome.Contacts org.gnome.Decibels org.gnome.Extensions org.gnome.Logs org.gnome.Loupe org.gnome.Maps org.gnome.Papers org.gnome.Snapshot org.gnome.TextEditor org.gnome.Weather org.gnome.baobab org.gnome.clocks org.gnome.font-viewer && flatpak remote-delete flathub

From there, restart your system!

In the past, I used to just remove the Fedora Flatpak repository entirely, but there are some provided libraries and resources that are worth keeping it for, even if we’re going to install all of our actual apps using Flathub.

Other extraneous packages I remove...

If you’d like, there’s a few other things I remove as someone who does not use GNOME extensions or the classic session. I also remove the Fedora Bookmarks package, among a couple of other things. Similar to the initial section of the previous command block, these would be removed with rpm-ostree override remove.

Packages I remove:

fedora-bookmarks fedora-chromium-config fedora-chromium-config-gnome gnome-shell-extension-apps-menu gnome-classic-session gnome-shell-extension-window-list gnome-shell-extension-common gnome-shell-extension-places-menu gnome-shell-extension-launch-new-instance gnome-shell-extension-background-logo gnome-system-monitor gnome-tour yelp

My reasoning for removing the GNOME System Monitor and Yelp are that I prefer the Resources Flatpak instead of GNOME System Monitor, and I never really use the Yelp/Help application.

Re-adding the real Flathub

Pop open a terminal and run this command to re-add the Flathub repository:

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

From there, Flathub should now be available in GNOME Software, and when you search for apps to install, whether it be Firefox, Calculator, etc., you’ll have the option between the Fedora Linux Flatpak repository or the Flathub repository. It is almost always beneficial to just use the Flathub repository.

Should you decide you actually don’t care for the Fedora repo at all and want to remove it so Software always uses Flathub, run this command:

flatpak remote-delete fedora

This will remove the Fedora Flatpak repository and any of the packages installed from it.

Uh-oh! My system keeps hanging!

Driver issues with Intel Xe graphics? I’ve got you.

One of the fixes I’ve had to apply to my system is disabling a couple of power saving features for the display. Namely, self refresh and panel powersaving state. To do this, you need to enable a couple of boot arguments using our old friend, rpm-ostree! Pop open a terminal and enter the following:

rpm-ostree kargs --append="xe.enable_dc=0" --append="xe.enable_psr=0"

From there, reboot your system and enjoy stability!

Some tweaks I recommend!

Shutdown on lid close

One of my favorite tweaks is setting my laptop to shut down when I close the lid. I do this for two main reasons. The first is just the peace of mind that when I close my laptop, it’s in a state where it’s most secure: powered off and encrypted. The second is that I’m far less likely to have closed it and forgotten it in sleep mode for extended periods of time. There’s very few instances where what I’m doing can’t be easily picked back up by opening closed tabs, or just whatever apps I typically use anyway. Here’s how to do it!

Edit or create the file /etc/systemd/logind.conf using nano (because it’s the best), and ensure the following contents are present:

[Login]
HandleLidSwitch=poweroff
HandleLidSwitchDocked=ignore
HandleLidSwitchExternalPower=poweroff
LidSwitchIgnoreInhibited=no

Save the file and restart. These settings mean that if the lid is closed when on battery or plugged in, it will shut down. However, when docked, it will not, in case you’re plugged into external displays and accessories where you’d likely not want it to be open while using it! It also includes a line that tells it not to ignore processes that typically stop shutdown (like background updates).

You might be wondering… “But, what if I ever want to put it to sleep?” Fear not… You can still put the laptop to sleep by typing “Sleep” or “Suspend” into GNOME search, or by pressing the power button (just make sure you set that to trigger suspend in GNOME Settings!). You can safely close the lid when the device is asleep and it will remain in sleep state and resume when opened. Poweroff will only be triggered if the device is awake.

I have some recommendations on apps that you should probably have and are available from Flathub! 1) Resources — A modern system monitor 2) Pika Backup — A backup application using Borg on the backend 3) Apostrophe — A simple yet powerful markdown editor 4) GNOME Weather — Integrates into the notifications center for forecasts 5) GNOME Clocks — If you’re someone who manages things across time zones, setting world clocks lets you see them in the notifications center at any given time

Aside from these, some of the best apps for Linux and GNOME in particular are on the Apps for GNOME website!

The conclusion you’ve all been waiting for!

Look, I’m not going to tell you that there’s only one way to set things up, I’m just going to tell you the best way. (Just kidding… unless…) These are just the steps I’ve taken to have a really clean and suitable install for my needs. Getting Secure Boot working properly was actually the biggest hurdle for me. This laptop does not seem to play nicely with third-party certificates, and thankfully Fedora seems to have been blessed because it works the way it should! Getting just about everything installed as a Flatpak is honestly the way to go. Rely on Toolbox, the built in container system, for software that you need to run that isn’t installed on the core operating system, and limit the number of packages you layer on the core operating system as much as possible. For all things good and true, do not layer Steam, use the dang Flatpak!

Enjoy!

Discuss...

I’m a big fan of Linux-based operating systems and I have been since I first started using Linux on the desktop back in 2015 with Xubuntu. Over the years, I’ve bounced back and forth between various distributions, spending the largest amounts of time with Solus, elementary OS, Fedora, openSUSE, and Ubuntu. In recent years, convenience and lifestyle changes have put a halt on my interests in Linux and open source as a whole. Until now.

Image

About that purple rat… I actually think it may be a raccoon of some sort? Either way, I quite like it! I’ve started using Linux again after spending a short amount of time trying to find a suitable Windows laptop I would be capable of running Overwatch on since it doesn’t run on mac OS due to software compatibility limitations. And as usual, I’ve rediscovered the massively disappointing first-start experience of any Windows machine. Over an hour of setup and reboots just to apply a list of updates that continued to grow instead of shrink with each boot. Uninstalling a plethora of apps and services Microsoft and the OEM (in this case, Dell and HP as I tried a couple of laptops) decided would be in my best interest to have.

I’ve come to the conclusion that my desire to play a single game is far lower than my desire to use an operating system that doesn’t feel like it actually hates me. I quickly shifted my focus from debloating and reinstalling clean versions of Windows, to installing an operating system I have very fond memories of: Ubuntu. Knowing that I wouldn’t be pleased with using a gaming laptop for normal tasks, I ditched the clunky Alienware laptop I had purchased and went down a rabbit hole of attempting to use multiple laptops from multiple OEMs. Not everything went as smoothly as I had hoped, but to some extent, much of this was my fault. Here’s a short and sweet recap that omits a few attempts…

Firstly, the laptop I genuinely wanted the most; a Dell XPS 13 (model DX13260). I was thrilled to have found a really thin and light laptop that was well-built and had a modern Intel processor. I assumed that I would have the smoothest experience with it and Linux, particularly when it comes to features like Secure Boot and TPM-backed encryption. I was wrong. After multiple attempts to get this working by disabling, re-enabling, clearing, restoring the relevant settings in the UEFI, this feature was consistently unavailable for enablement in the Ubuntu installer. I really wanted this feature to be available and functional, so despite loving the hardware, I ditched the XPS and moved on to an HP laptop.

I applied the same logic with this attempt, opting for a high-end HP laptop (model D3KN6U) that was relatively standard and featured an Intel processor. In the past, I’ve had the most seamless experiences with Intel processors running Linux. Again, swing and a miss! This time, I just could not get it to boot consistently with any Secure Boot features enabled. But what if maybe this model was fine, I just needed to try another processor? So that’s exactly what I did!

Here I go, fresh USB stick, fresh download of the latest Ubuntu release and some hopes that AMD may just be my savior here! I power on my wonderful new HP laptop (model D3KU2UA) and go through the UEFI to configure the proper settings. Clearing, restoring, disabling, enabling all of the relevant keys and settings multiple times to no avail. Nothing worked the way it should! At this point, I was genuinely becoming quite frustrated because I remember this being so much easier when I daily drove Linux in the past. Incidentally, I experienced a quirk where I could boot Ubuntu 26.04.1 just fine, but without Secure Boot ever working or being visible to the OS. and 26.10 wouldn’t boot at all… until I unplugged the laptop? At that point, 26.10 would boot but alas, no Secure Boot.

By then, a new week rolled around and a new set of retail sales were live at my local Best Buy. I figured since I was already this far down the rabbit hole, I may as well try one more! Off I go to make the swap and I brought home a Dell laptop (model DS14265) that I had been eyeing anyway. I wasn’t expecting anything to work at this point, so I just popped in my Ubuntu 26.04.1 install media, went through the UEFI to tweak the appropriate settings as I usually do, and restarted the machine.

Great success! Bingo! Voilà! Presto! (insert any other number of phrases that you see fit…) It worked. Secure Boot was visible to the system. Not only that, the Ubuntu installer also allowed me to select TPM-backed encryption during my installation and gave me absolutely zero trouble! It just worked as it should. No fuss, no muss. Which concludes the “short and sweet” recap of devices I tried (and failed) to use and begins my praise of a wonderful little raccoon I may only be able to describe as “resolute”!

I cannot express enthusiastically enough just how refreshing the Ubuntu first-run experience is, especially after coming from a Windows device. Logging into my system for the first time, I was greeted with a “welcome” application that served me a few important options like whether or not to enable location services, device telemetry, and the option to enroll in Ubuntu Pro (a service that is free for personal use and includes some pretty awesome features). Aside from that, just a quick mention of where to get apps and that’s it! I wasn’t forced to sign in or create an account, nor was I required to have internet access at any point during setup. As with any system, one of the first things you should do is update it. On Windows, this is a process that could take up to an hour to complete. On Ubuntu, it was as simple as opening the software updater and hitting install. The process took less than two minutes and a single reboot. That’s all.

The next thing I did was get my apps installed. What good is a computer without the software you want to use? There was a period of time in the past where Snaps could be a point of friction in regards to the speed of app opening, or fairly common functions breaking due to confinement. Now? I opened up the App Center and installed a bunch of apps I needed like Signal, Discord, Tailscale, Telegram, etc. All of them installed without a hitch and opened exactly the way you’d expect. No awkward pause as an app icon bounces after you click on it… Firefox opened instantly and may I just say is far smoother and more beautiful than it has ever been for me in the past (great work, Firefox folks!). Aside from a few quirks like Taildrop only allowing me to send or push files from within the ~/snap/tailscale/ directory, every one of my apps has been working remarkably.

It has been a remarkable experience to open up my laptop and have it work exactly like it’s supposed to. I haven’t been spammed with advertisements about gaming subscriptions, cloud storage offers, office suite subscriptions, or had “sponsored” apps and games show up in my launcher. The only downside I’ve really experienced is that I have not been able to get my audio output to work at all. I currently have a “Dummy Output”, which I believe is just a placeholder when there isn’t an audio device available. Something I’ll try to work on at some point, but will manage without since I rely on my AirPods for listening anyway. Another thing which as worked wonderfully, by the way. Bluetooth connection and playback via my AirPods has been flawless including volume and playback controls. Even performance controls have worked wonderfully and my battery life has been wonderful. Brightness, keyboard backlight, resolution and scaling are all working perfectly.

These may seem like fairly simple things to get excited about, but mind you, the Linux experience is often claimed to be terminal-first hackery and yet I’ve not had to touch it once. That’s not to say I don’t have some critiques… My desire to use TPM-backed encryption is an oddly specific one, but one that should work reliably for people as it is effectively the new standard for how people use their machines. It’s a far more elegant solution than typing in two passwords with every login and certainly more desirable for the everyday user. There’s clearly work to be done on making sure that gets better moving forward. In the meantime, standard installations pretty much work in most situations. Unencrypted and LUKS encrypted installs worked just fine for me (I had done this on multiple machines just to see if I could at least get that going, even if Secure Boot failed) and would still provide the same, clean experience that puts Windows to shame.

This is the first time I can ever remember choosing to use an LTS version of Ubuntu when a new standard release is available as I typically chase the newest of the new. Now I don’t even feel like I need to. Things have been fast, reliable, and so gosh darn easy. I think if I was in the mood for deep and involved tinkering, I totally would think about getting on the interim release, but that’s for future me to deal with! There’s a reason I’ve chosen to type this all up on my laptop rather than hopping on my Mac to do it. The fact that unlike every piece of commercial software in deployment right now, this operating system is made by a talented group of thousands of contributors from around the world, many of which are unpaid volunteers, and yet they choose to contribute code and testing time to making it all work together. I love my Mac, but I certainly wouldn’t say it excites me in quite the same way, and Windows is in such a state of disrepair that it isn’t even worth considering.

Installing Ubuntu on this laptop has been a real treat. No doubt I’d do it all again if I was starting fresh!

I want to give a massive shoutout to the folks I’ve met and made friends with over the years of me dipping my toes into the Linux world as they’ve been a source of assistance, inspiration, and camaraderie. In every community there is disagreement, but the passion in the open source community has ultimately also been its strength and the glue that has held it together across the globe. Thank you!

Discuss...

Enter your email to subscribe to updates.