john4smith / gnome-caffeine

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/.

About

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

License:GNU General Public License v3.0


Languages

Language:Python 73.8%Language:Shell 26.2%