[solved] (at least I hope) Screen dims and brightens apparently randomly

My guess is it’s the automatic screen brightness. If you’re using GNOME you can disable it here: