After referring to some conversations online, I found this method to successfully set a custom avatar for brave browser. This is what it looks like,
Steps to replicate the same:
Version 1.47.186 Chromium: 109.0.5414.119 (Official Build) (64-bit)
](https://brave.com/latest/)
OS : Ubuntu 22.04
- Create a profile photo of your choice. I have used emojis ( png files) from nicepng dot com.
- Enable hidden files in your browser and got to this path
~/.config/BraveSoftware/Brave-Browser
-
You can see folders like Default, Profile 1, Profile 2, etc . Drop the png image to profile of your choice, I am going to change Profile 4, so I copied the image to respective folder.
-
In the parent folder look for a file named " Local State ", this is where we are going to specify the instruction to use the custom image as avatar. Open the same in any text editor.
EXIT THE BROWSER BEFORE EDITING THIS FILE
- If you go through the contents, you can find a section for each profiles , add this line with the name of your png file
“gaia_picture_file_name”: “img-name.png”
- Done . Save the file and restart your browser.
PS: Let me know if this works and don’t try to change profile icon from the browser , since it goes back to the default one.