When firefox is not in a maximized window, the resolution of the window is very
small, and changing the resolution by hand all the time is annoying, so I want
to give it a fixed size. How can I do this?
What’s your desktop environment? It should remember by default. If you are on Plasma, you can do a temporary fix by creating a window rule for firefox and tell it to remember it’s size.