Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore.

How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for applications?
How do I keep permissions and my keys for various authentification (e.g. email, SSH, GPG and more)?
What settings could possibly get lost if I changed my username?

bucks Answered question February 18, 2022