I know it from Windows, if you have a window open (for example Firefox) and you click on the icon again, then the window minimizes.
On Ubuntu this is not the case and I didn’t find anything in the settings.
So, is it possible to set it up so that the window minimizes when I click on the icon (like it is on Windows)?
It is possible to turn this on (at least on my 24.10 system here, but I guess it might have been around in 24.04) by going to the extension manager app, open the settings of “Ubuntu Dock” and under behavior there is a pulldown for “Click Action” (German UI here so i’m translating on the fly, things might be called slightly different) … It defaults to “focus” but you should be able to pick “minimize”
You could also use Lubuntu instead In the default configuration, this works with Openbox. I don’t see it, but I’ve had several other folks say it has a sort of Windows look, so maybe you’d feel more at home.