Skip to content

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

License

Notifications You must be signed in to change notification settings

john4smith/gnome-caffeine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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