Sign up

Diogo Ferreira

Not verified No WebSub updates Supports Webmention Not yet validated

Diogo Ferreira

Generator
Ghost 6.56
Public lists
I ♥ RSS
Fetched

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Grouping hosts from the Ansible nmap dynamic inventory

I use the nmap inventory plugin to build an Ansible inventory of my homelab without maintaining a host list by hand. It scans a subnet and hands you every host it finds.

The part that took me a while was getting those hosts into useful groups. Out of the box

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Lowercase filenames in Paperless-ngx

Another quick tip.

Paperless-ngx lets you decide how documents are stored on disk with PAPERLESS_FILENAME_FORMAT. By default you end up with folders and filenames full of capital letters and spaces, which is annoying the moment you touch them from a terminal.

This is the template I use:

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Edit the Places panel in Dolphin

The Places panel in Dolphin fills up fast. Every removable drive you've ever plugged in, every network share, every folder some application decided you'd want a shortcut to.

Cleaning it up is easy once you know where to look.

Press F9 to open the panel if

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Middle-click paste not working in Ghostty on KDE

I upgraded Ghostty and middle-click paste stopped working. Select some text anywhere, middle-click into the terminal, nothing happens. In Firefox, for example, still works, so it clearly wasn't the primary selection itself being broken.

I hit this on Fedora 44 with KDE Plasma 6 on Wayland,

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Backup Longhorn volumes to a self-hosted Garage server

Longhorn can back up its volumes to any S3-compatible target. Most guides assume you're pointing it at AWS, but it works just as well against a self-hosted Garage instance.

The URL format is the part nobody explains clearly, so here it is.

Create the credentials secret

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Proxmox backups failing for a single VM

I use Proxmox Backup Server for my Proxmox backups.

Every VM on my Proxmox node(s) was backing up fine except one, which failed every single night with the following error:

INFO: starting new backup job: vzdump 100 --node pve03 --notes-template '{{guestname}}' --notification-mode notification-system --storage

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Firefox Sensible Defaults

Here are the some of the Firefox changes I do every time, so I don't forget them in the future. I'll probably update this list if I stumble upon some other useful flags.

Bookmarks

Keep bookmarks menu open

browser.bookmarks.openInTabClosesMenu = false

Open bookmarks in background

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to send Proxmox notifications to ntfy with authentication

I recently configured notifications from my Proxmox cluster to my ntfy self-hosted instance. If you're using ntfy authentication, the process is not immediately obvious, so I'm documenting it here for the future.

Generate the authentication token

This is the critical step.

First, generate the Base64

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to replace vim with neovim in Fedora 41

The right way.

You don't need to have vim installed. Actually, remove it.

Muscle memory is hard to manage. I keep writing vim everywhere, but I want neovim to open instead. A simple alias won't do the trick (running with sudo, for example, is an issue)

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Add repository on Fedora 41 with DNF5

Another quick tip. I was setting up the Hashicorp repository for a vagrant install and noticed that their instructions do not work on Fedora 41.

These are the official instructions:

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to get VirtualBox working on Fedora 41 with KVM installed

If you have KVM (livbvirt) installed on your system, and are running a kernel >= 6.12, you may have noticed that VirtualBox VM's are not starting anymore.
This happens because since that kernel version KVM initializes virtualization on module loading by default. You'll get an

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to include and exclude files and folders from BackupPC using rsync

I'm leaving this here as documentation for my future self. Recently I added a second backup server for some redundancy, but I didn't want to backup everything twice, just some folders.

Well, turns out this was harder then expected, because the BackupPC documentation was not quite

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Samsung Galaxy Wearable app crashing on Android

If you're like me and use a Samsung Galaxy Watch and its companion app on Android, it's likely that you've encountered this issue. A few days ago I noticed that every time I opened the app it would launch then immediately close.

I'

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Logitech mouse scroll suddenly too slow on KDE

This is a good one as well.

I'm currently using Fedora 43 on my desktop, with KDE Plasma 6.6.3, and Kernel version 6.19.10-200. I also use a Logitech G502 X.

Sometimes, without an apparent reason and without any obvious pattern, the scrolling gets

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Remove Ubuntu Pro messages when using APT

This is something that has been bothering me for a while, but it was only today that I decided to take a look at this. On Ubuntu 23.04 (and possibly in previous versions as well), when you use APT to update or install some packages, you often get an

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Bluetooth missing from Windows 11

One of these days I restarted my dual boot desktop to get to my Windows session and game a little, and my Xbox Controller wasn't connecting to it. Upon a small debugging session, I noticed that Bluetooth seemed to be gone from Windows, which is weird since it&

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to restore a single file or folder in Thunar using Déjà Dup

If you are wondering if it's possible to restore a single file or folder using Déjà Dup, it is!

And without using the command line, if that's not your jam. With a fast, one-time configuration, you can have a shortcut in Thunar

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to install Revelation on Ubuntu 20.04

Revelation is a password manager for the GNOME desktop, released under the GNU GPL license. I was trying to install it on my workstation but apparently the package, which is available on Ubuntu 18.04 and Ubuntu 21.04 onward, it's not available on 20.04.

I'

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Como alterar o PIN do cartão Curve em Portugal 🇵🇹

After trying to change the PIN on my Curve Card on two or three ATM's without success, I found out how you can do it easily while in Portugal.

Diogo Ferreira Supports Webmention
• Diogo Ferreira

How to embed GitHub Gists on a Ghost blog

You can embed GitHub gists on your Ghost blog and make it look good by doing the following:

  • On your post editor click the "+" and select "HTML"
  • Then paste then following:
<script src="https://gist.github.com/<YOUR_GITHUB_USERNAME>/<YOUR_

Diogo Ferreira Supports Webmention
• Diogo Ferreira

Remove a host from BackupPC

If you want to remove a host from your BackupPC server you'll need to take the following steps.

  1. First delete the host from the GUI. Go to Edit Hosts and delete the host you want. Click Save.

After that you'll need to login to your server