How do I stop screen dim/screen energy/sleep mode while watching youtube?

Why not list these bugs in the corresponding thread then, perhaps, so we could discuss it and maybe help you out
https://forum.qubes-os.org/t/kde-changing-the-way-you-use-qubes/