Can't change username
I feel real dumb for asking, but is there anyway to change your username? I keep trying and it's giving me "there was an error saving changes". Thanks in advance for taking the time to read and respond!
9 Replies
Per Bazzite maintainer Kylegospo:
It is incredibly difficult to change your username…the best course of action is to reinstall and set the username you actually wanted during installYou can change your "pretty name" easily in the DE but I don't believe that changes your
/home/[name]
directoryDoes that mean I'd have to redo all my stuff? all the things I have downloaded?
yes, a full reinstall
big sad
Thank you both for getting back to me
Can you create a new user and migrate your home directory contents? That seems like it would be less work than a reinstall. You can always delete the old user once you've validated everything
I haven't the first clue how to transfer everything
Unless you mean a physical transfer, like through a drive
This assumes you are moving from user foo to user bar and both users exist, and that you have mounted a flash drive or something to /var/mnt/backup-drive:
cp -r /var/home/foo/ /var/mnt/backup-drive
cp -r /var/mnt/backup-drive/ /var/home/bar/
Since your dotfiles point to the old home directory, you’ll have to either update those references or fix programs as you go to use your new home folder. Technically, you can skip mounting a backup drive but I’d keep an off-device copy until the end, just in case.
Whenever you feel confident that everything is working, you can just delete the old user and the backup copy if you don’t need it.
I might just suffer the consequences and keep the Bazzite username
All this stuff kinda scares me to be honest. Bazzite has been such a lovely OS and I'd hate to go borking something by accident
Seriously though, thank you all so much for weighing in
I appreciate it, and I know I'm going to be sticking around
a note on this, IF this is the deck image, it will not work as valve has hardcoded the gamemode user to be UID 1000 meaning the first user