/gnome-caffeine

Python3 Indicator to toggle the Screensaver for the Gnome Desktop (Caffeine)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

gnome-caffeine

Python3 Indicator to toggle the Screensaver for the Gnome Desktop (Caffeine) Alt text


Run

  • install the necessary Python Packages for your Linux Distribution (try and error)
  • install one Extension for Gnome appindicator or topicons
python3 gnome-caffeine.py

Install

for Ubuntu 18.04, install the Release deb-File!

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

Setup the Autostarter

Copy the Desktop File to the Autostart Folder:

mkdir -p ~/.config/autostart/
cp /usr/local/share/applications/gnome-caffeine.desktop ~/.config/autostart/.