Welcome to CodinGarret.dev!

Hi! I’m LM. Garret, a Software Engineer and HomeLab enthusiast - this blog reflects both passions!

Bazzite - Post-installation tweaks

Set the correct keyboard for first SDDM start and LUKS decryption prompt Many Fedora Silverblue images use the en_US keyboard layout by default for the disk decryption prompt (LUKS) and the login screen (SDDM). This may not match your keyboard, so we’ll change it to another layout. Find your desired keymap: localectl list-keymaps| grep CH de_CH-latin1 fr_CH fr_CH-latin1 mac-de_CH mac-fr_CH-latin1 Set your keymap (replace fr_CH with your desired keymap): sudo localectl set-keymap fr_CH Verify the changes in /etc/vconsole.conf cat /etc/vconsole.conf  ✔ # Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed # and systemd-vconsole-setup(8). Use localectl(1) to update this file. KEYMAP=fr_CH FONT=eurlatgr XKBLAYOUT=ch XKBMODEL=pc105 XKBVARIANT=fr XKBOPTIONS=terminate:ctrl_alt_bkspand /etc/X11/xorg.conf.d/00-keyboard.conf. ...

LM. Garret

Customizing a SDDM theme

Fedora Silverblue images are great. However, there are sometimes small itches that you need to scratch, and having an immutable distro can get in your way. In this post, I’ll cover a minor itch I wanted to scratch quickly after installing Bazzite: the login screen theme. After booting, you are prompted with a screen to select the user you want to open a session for. This screen is rendered by SDDM. While it looks nice and modern, it may not be exactly to your taste. In my case, I didn’t like the default wallpaper, but this really comes down to personal preference. ...

LM. Garret

Linux battery life on an Asus G14

Context TLDR; Battery life on the G14 has always been a struggle, on Windows or Linux, but we can improve it. I’m using Aurora but this should apply to all modern Linux distros. Hi! After letting my laptop live a long and peaceful Windows-life, I wanted to finally make the switch to Linux for this great machine. I’m already familiar with Linux, having used it for my studies, professionally, my HomeLab.. I used to go for the more familiar Ubuntu/Linux Mint/Debian distros, but this time I wanted to give Fedora a try. ...

LM. Garret

VSCode in Podman devcontainer

I wrote this guide since I installed a Fedora immutable desktop spin (Bazzite) on my desktop and decided to set it up for development as well. Since toolbox and Podman are already installed out of the box, I thought it would be interesting to go all the way in and develop using VSCode attached to a Podman devcontainer created by toolbox. This unfortunately does not work perfectly out of the box, and I intend to keep this guide up-to-date with all the changes I had to perform in order to get my dev environment up and running! ...

LM. Garret