hide libvirt-qemu user from the login screen on linux mint 19.1

If you installed KVM on your Linux Mint 19.1 you may notice a new user showing up on your login screen (at lest if you're using Cinnamon DE with LightDM).You can hide it running the following commands:$ printf "[User]\nSystemAccount=true\n" | sudo tee /var/lib/…

Read this article

openssl cheat sheet

This was originally found on bitrot.sh. Since the site appears to be gone, and I had this saved, I'm leaving it here for future reference.Generating CertificatesGenerate RSA Private Key + CSRopenssl req -out newkey.csr -new -newkey rsa:[bits] -nodes -keyout priv.key Generate Self Signed Certificate + Priv Keyopenssl…

Read this article

convert ssh key from putty (ppk) to openssh

Recently I've had to migrate an SSH key generated on a Windows 10 machine to a Debian workstation. You'll just need two commands, probably:sudo apt install putty-tools puttygen your-windows-10-private-key.ppk -O private-openssh -o your-openssh-private-key-name And that's it! This will get your private key on a format that openssh will…

Read this article

use virt-manager without root password on debian 9

After installing virt-manager on debian 9 you'll notice that every time you open it it will ask for your root password.In order to avoid that you'll just need to add your user to the libvirt group:sudo usermod -aG libvirt dferreira Logout and login again. You can now open…

Read this article

fix "dig: command not found" on debian 9

A default debian 9 installation doesn't have the dig command available:dig +short example.com You'll get an error:bash: dig: command not found The solution is simple:sudo apt install dnsutils And it's done!dig +short example.com 93.184.216.34…

Read this article

spotify on fedora 25

Installation is easy:sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-spotify.repo sudo dnf install spotify-client If you are using Wayland you'll notice that when you click "Settings" nothing will happen! As a workaround you can click the arrow in the top right corner and use the arrow keys…

Read this article

login screen with dual monitors in ubuntu 17.10

Login and set up the displays as you please, using the settings control panel. Then, run the following commands on a terminal:sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/ sudo chown gdm.gdm /var/lib/gdm3/.config/monitors.xml And reboot. You’ll have your login screen with…

Read this article

upgrade fedora 25 to fedora 26

Fedora 26 is out! As someone who can’t stop tinkering and breaking things I’ve decided to upgrade my workstation (and see if dnf can handle the process without any major flaw).So without further delay here are the steps I took (your mileage may vary):BACKUP YOUR SYSTEM!…

Read this article

install the pritunl client on fedora 25

Having recently installed a VPN server (Pritunl), I needed it’s client on my workstation. If you look around this page, you’ll see that there is a repository for CentOS 7, which works a treat on Fedora 25.I’ll replicate the steps here just because.sudo tee -a…

Read this article

missing icons on fedora 25 xfce spin

Do you use the Fedora 25 Xfce spin?If so, you may already noticed that some icons are missing on the default theme.That’s easy to fix:sudo dnf install gnome-icon-theme-symbolic gnome-icon-theme-extras gnome-icon-theme-legacy gnome-icon-theme…

Read this article