I don't know if you're trying to make a rhetorical point here, by giving a sort of worked example of "how to go about this the wrong way and give useless feedback in the form of a complaint."
If not... Well, wow, I really hope you're not "coding on Linux" for anything important.
What did you do wrong?
> I switched from windows 10 to ubuntu
1. What version of Ubuntu?
2. After installing, did you update?
2a. If so, how? Firefox is a snap; doing an update with the "apt" or "apt-get" commands won't touch it.
3. Did you install graphics drivers? Did you even check if you need them?
4. Did you try Chrome? Youtube is a Google product. Test with the Google browser. It's about 2 clicks to install it.
5.
> my wireless keyboard cant wake it up
Well known issue with some wireless devices (especially Bluetooth). Don't use them if you have an alternative.
6.
> I ask chatgpt about solutions to these problems
It's a predictive text tool. Of course it can't. Don't use LLM bots for search. Better still, don't use them at all.
7.
> In my experience
From what you posted, this is scant and poor.