Python3 Indicator to toggle the Screensaver for the Gnome Desktop (Caffeine)
- install the necessary Python Packages for your Linux Distribution (try and error)
- install one Extension for Gnome appindicator or topicons
python3 gnome-caffeine.py
Copy the Script to "/usr/local/src/" and the Desktop File to "/usr/local/share/applications/" with:
sudo install -dm755 /usr/local/src
sudo install -dm755 /usr/local/share/applications
sudo install -m755 gnome-caffeine.py /usr/local/src
sudo install -m644 gnome-caffeine.desktop /usr/local/share/applications
Copy the Desktop File to the Autostart Folder:
mkdir -p ~/.config/autostart/
cp /usr/local/share/applications/gnome-caffeine.desktop ~/.config/autostart/.