How to download music from Youtube with yt-dlp (CLI)

Downloading (yt-dlp) You use this command: yt-dlp -f "bestvideo[height=2160]+bestaudio" -x --audio-format flac "VIDEO_URL" In this command, I’m downloading from a 4K video (2160p), and I like my music to be in the .flac file. Feel free to change the quality and filetype into whatever you like. Update metadata (ffmpeg) Since the metadata won’t come with the file by default, you may like to add it manually. To do this, yt-dlp should also work. However, my preferred method is to use ffmpeg, instead: ...

December 19, 2025

How to see differences between files

In the case like this: warning: /etc/bluetooth/main.conf installed as /etc/bluetooth/main.conf.pacnew You may like to know what is the difference between these two, concisely. We use the command diff, a basic utility of Linux An example: diff /etc/bluetooth/main.conf /etc/bluetooth/main.conf.pacnew Output: 264a265,269 > # This enables the GATT client functionally, so it can be disabled in system > # which can only operate as a peripheral. > # Defaults to 'true'. > #Client = true > 311,315d315 < # This enables the GATT client functionally, so it can be disabled in system < # which can only operate as a peripheral. < # Defaults to 'true'. < #Client = true < 362c362 < #AutoEnable=false --- > #AutoEnable=true > indicate what appear in the latter file and < is pointing toward the former file. ...

December 18, 2025

Checking whether media files are (partly) corrupted using ffmpeg

Intro Normally, you wouldn’t need to this kind of check, even in the case of serious corruption, the file just won’t be able to play and that’s it. However, if you self-host and streaming your own music or media like myself, you might notice that some of your music might refuse to play while it plays normally on your music player (and it might even make your PC heats up). ...

December 1, 2025

How do you make a launcher for an AppImage?

Introduction For this purpose you actually have AppImageLauncher for the convenience, or the apps would actually self-generate this for you, but this doesn’t always happen. However, if you do mind the bloatness of said app (300 MB-ish), or the devs just don’t have the launcher ready, then you may consider making the launcher yourself, by hand. AppImage Launcher Template (AppName.desktop) This is my standard template for almost every AppImage: [Desktop Entry] Version=1.0 Type=Application Name=Application Name GenericName=App Type Categories=Utility; Comment=Brief description of the application Exec=/path/to/application.AppImage Icon=/path/to/icon.png Terminal=false StartupNotify=true Explanations (don’t copy this part to your file, please): ...

December 1, 2025