You are not logged in.

#1 2022-04-17 07:21:35

Minty<3
Member
Registered: 2022-04-17
Posts: 1

I made a stupid mistake and renamed my home directory without thinking

Without thinking I renamed my home dir to include a glyph from nerd fonts, because rice. I changed it back but its broken a few things and I have no idea how to fix it. A couple things I've noticed so far are; alacritty now opens to /home instead of /~, and rofi or dmenu give an error message about locales being missing. I'm sure there's other problems I've caused and just not noticed yet. How the heck do I fix this?
Thanks smile




(this is what I get for ricing at 1am instead of sleeping, isn't it?)

Offline

#2 2022-04-17 07:57:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: I made a stupid mistake and renamed my home directory without thinking

grep $USER /etc/passwd # There's no password in there
echo $HOME
stat $HOME
ls -l /home

Offline

#3 2022-04-17 15:09:23

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: I made a stupid mistake and renamed my home directory without thinking

What have you tried in order to rename it back?

Assuming 'minty' is the part of your homefolder's current name that isn't some weird symbol, you could try.

$ find /home/*minty* -maxdepth 0

Make sure that gives only one result. If it does, it should be safe to do:

mv "$(find /home/*minty* -maxdepth 0)" /home/minty

Last edited by frabjous (2022-04-17 15:10:03)

Offline

Board footer

Powered by FluxBB