Load SSH keys via Kwallet

This quick tip was tested on openSUSE Tumbleweed. However, it will probably work for other Linux distributions running KDE Plasma. Install ksshaskpass5Using Zypper, install ksshaskpass5 1 sudo zypper in --details ksshaskpass5 Create the configuration filesCreate the .desktop file that will be automatically parsed at KDE Plasma start-up. Add all the needed keys using ssh-add -q. The “q” here stands for quiet. 1 vim ~/.config/autostart/ssh-add.desktop 1 2 3 4 5 6 [Desktop Entry] Exec=ssh-add -q /home/user_name/.

Raspberry Pi 4 + openSUSE + Samba

IntroductionHello, in this article, I’ll explain how to install openSUSE Tumbleweed (however, these instructions would probably work in openSUSE Leap) in Raspberry Pi 4, plus install and configure a basic Samba server to share files from an external HDD. The first thing to do is install the openSUSE Tumbleweed image on your Raspberry Pi 4. Go to the openSUSE Wiki page for Raspberry Pi 4 and download the image that you like to use.

Backup dotfiles to GitHub

IntroductionThis article is about how to back up dotfiles using Git. I will try to keep it short and straightforward. I’m using Zsh as the shell in the examples, but another shell can be used. The commands below should be executed as a normal user in the /home directory. Set up the repositoryCreate a local Git repository that will be used to track the dotfiles. 1 git init $HOME/.dotfiles Prepare the environmentThe default behaviour of Git commands is to run inside the project folder using information stored at the <project>/.

Vim Cheat Sheet

IntroductionFor a long time, I ran away from Vim because it seemed very tricky and because there is a lot of simpler editors out there to work with. However, as it comes installed in most Linux distributions, I made this cheat sheet to help me understand how things work. I have discovered that is possible to be very productive with Vim 😃. I’ll try to go straight to the point.

Secure GitHub credentials with KWallet

IntroductionHi and welcome to my blog! KWallet is a KDE Plasma tool to store any credentials and secrets safely. It has an interface called KWallet Manager that allows one to manage credentials and secrets easily. In this quick tutorial, I’ll show how to configure your KDE to store your GitHub credentials in KWallet. This guide was tested against openSUSE Tumbleweed but should work for most Linux distributions. First, make sure to have ksshaskpass installed.

Sort Linux partitions correctly

IntroductionHi and welcome to my blog! Here goes a quick tip on how to properly sort partitions number in Linux. Let’s think that we had a disk /dev/sda with 4 partitions: 1 2 3 4 /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 Now, if we have to repartition our disk and delete /dev/sda2 and /dev/sda3 to make /dev/sda1 larger, occasionally you will end up with /dev/sda1 and /dev/sda4 when it should be only /dev/sda1 and /dev/sda2.