Settings location for Ultimaker Cura Linux AppImage

Where does Ultimaker Cura AppImage store plugins and settings?

There are two locations. One is the $HOME/.config/cura/ directory and the other is %HOME/.local/share/cura/ folder.
For example: The material folder of Ultimaker Cura 4.9 with your custom changes is at $HOME/4.9/materials/.