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?
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).
It's very simple to access it.
Open up Minecraft. If you haven't logged in yet, then do so, the at a corner of the window press the button that says "Edit Profile".
Then there's a button at the bottom that says "Open Game Dir" which will open the .minecraft folder you're looking for.
That's all there is to it.