brightness issue

I have problem with brightness in my msi modern 15 ryzen 5500u. When I install manjaro any desktop environment ( like xfce etc) it’s completely install, But after few time, brightness automatically decrease , also this same problem happens with other Linux distro like ( Kali, Ubuntu, parrot os, Fedora etc) please suggest me solution,

I have the exact same laptop, with the exact same issue. My solution is to change the brightness shortcut to CTRL + Brightness Down, which stopped it from repeating. If you hold control, it still does it, but it worked for me since I rarely hold down control.