I cannot find .minecraft folder to install mods

I'm kinda new on this, and need some help. I had MC on my windows with mods, when changing to Ubuntu I got the same version. I tried to install the mods I had on my windows but I cannot make it work, because there's no .minecraft file nor %appdata%. I followed instructions like copying modloader into the .jar file, which didn't work and other stuff Can you help me, please?


Solution 1:

Ubuntu shows folders a bit differently, and organizes them in a different fashion.

Open your home folder. Press Ctrl+H. You should now see it as "dot-folders" are usually hidden. This assumes you have run minecraft as your user previously. If you haven't, run it, doing a few things in it(just to get it to create its config files).