(tl;dr is below) Hello, I'd say my skill level with Linux is a beginner, but probably closer to intermediate, as I've used Linux in the past and have also dealt with Unix with my job, so I am fairly comfortable with the terminal/console. I've only actively been using Linux since June on my own computers. I decided to try out Artix Linux and I'm specifically using the artix-community-gtk-openrc-20220713-x86_64 version of the distro, which uses MATE as its Desktop Environment by default. I've tried searching for similar posts but not a lot came up (in fact, nothing came up for the caffeine software specifically on this forum's search, a single result where someone mentions "caffeine" as a password for an example ), I tried searching for screensaver related topics, screen dimming, and various others on this page and on various other searches on search engines. For now, my temporary solution was to change it so the Screensaver won't try to activate until 30 minutes of "inactivity", and that should work for most situations, but, I've noticed watching stuff through mpv doesn't cause the screensaver to activate. This is so far the only distro I've experienced this problem with.
I'd seen a few posts mentioning to try using caffeine (specifically https://aur.archlinux.org/packages/caffeine-ng ), I installed all of the listed dependencies, and due to the further below command suggesting it, I changed
from setuptools import find_packages
to from setuptools import find_namespace_packages
another suggestion I saw when trying to run was to change "install" to build or pip, so I changed it to build.
python setup.py build
sudo python setup.py install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
Afterwards I got the error message that
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/usr/lib/python3.10/site-packages/caffeine_ng-0.0.post35+gdecd4e0-py3.10.egg/caffeine/assets/glade/proc.glade”: No such file or directory (4)
which, I can confirm, that file or directory doesn't exist, that path only goes up to assets, and trying to search for glade or proc.glade doesn't yield any specific results or results that have any actual suggested fixes.
The only other post I see specifically mentioning that path and file is a post from the Linux Mint forums from 2014, and no one replied to the user who posted it. I know I can disable the screensaver, or change it to something like to only start the screen saver after an hour or longer. I'm sure I could just turn off the monitor when I'm not actively at my computer, but I was just wondering if there were any other suggestions or solutions that wouldn't just involve disabling the screensaver. I tried doing a lot of searches, and was actually going to post about this several hours ago, but instead spent the time trying to find solutions through searches on here and on various search engines. Nothing specific to my situation came up and even on the AUR link, it doesn't seem anyone there is using MATE for their desktop environment (and frankly I am considering changing to another DE as I'm not a huge fan of MATE so far)
Apologies for the lengthy post, I can't seem to find any forum rules either, so hopefully my post isn't breaking anything. I just know giving as many details as possible is preferred. If I've potentially caused any major issues from the dependencies listed on AUR, this particular install isn't meant to be my daily driver just yet, it's more like I'm testing this hardware on my secondary hard drive for this machine. So there wouldn't be any significant loss if I needed to start over somehow.
tl;dr: Trying Artix, I know I can "resolve" this issue by disabling screensaver entirely or making it so the system takes more time to idle. I saw search results mentioning caffeine to prevent the idling issue while watching YouTube, not having a lot of success installing it and little comes up in regards to a missing file.