So I changed my Ubuntu's username and after that the list of wifi is showing sometimes and sometimes not but the laptop is connecting to the wifi, and it shows the symbol shown when it gets connected to ethernet.
Also after changing the username, whenever I restart my computer, the lock screen does not show the desktop wallpaper but shows the purple screen. However after logging in once, and then logging out, it shows the wallpaper normally.
I did the following steps:
sudo passwd root
usermod -l <newname> -d /home/<newname> -m <oldname>
groupmod -n <newgroup> <oldgroup>
If this doesn't move the home folder, then I moved the home folder too to be over the new name.
UPDATE: There is some more weird behaviour. So consider a wifi network with name iitk. I connect to it. Then I go somewhere with the same wifi network, and it connects. And in connections, it shows one as iitk1, one as iitk2. Why? It didn't do that before.
The problems are not anything major but they are very irksome. So if anyone can provide a solution, it would be very helpful.
