Screensaver Inhibit 1.2

UUID: screen-inhibit@mtwebster
Score: 17

Download



 

This is a Cinnamon applet, which Enables or Disables your screensaver with the click of the icon.
 
This currently should work with gnome-screensaver as well as xscreensaver.  If there are more you want me to add then specify in the comments.
 
 
Left-clicking the icon will disable the screensaver (and change the icon).  Left-clicking again should restart the process.
 
 
Installation
================
 
1) Unzip, copy the folder "screen-inhibit@mtwebster" to "~/.local/share/cinnamon/applets/".
 
2) Enable the applet in cinnamon settings.
 
Changelog:
 
  • 1.1 - Changed to use dbus to control gnome-session (like old gnome applet)
  • 1.2 - Added right-click option to edit screensaver settings

About The Author

mtwebster

Open-source software tinkerer - Android, Linux, Windows

Cinnamon applets:

  • Internet Search Box
  • Screensaver Inhibitor
  • Places with Terminal
  • CPU Frequency Selector
  • Expo-Button

15 Comments

  1. billynick says:

    hi you dont know how long i have been waiting for this. however it just doesent seem to work for me... i went to system settings > screen and set 'turn off after' to 1 min...but it does turn off after 1 min...even with the red icon. even rebooted to check again and that makes no difference :( secondly the tooltip displays 'screen-saver' when it probably should say 'screensaver' thirdy im not sure i like the red icon..altho it does stand out ill wait until it actually works for me before i give a rating :)

  2. mtwebster says:

    hmm weird - can you try this from a terminal (not root): gnome-screensaver-command --exit and then: ps -A | grep screen and let me know results of both

  3. billynick says:

    gnome-screensaver-command --exit shows no results ps -A | grep screen: no output there either

  4. mtwebster says:

    Strange - what type of linux is this? Mint or something else? I'm wondering what you're using as a screensaver if not gnome or xscreensaver.

  5. billynick says:

    im using mint 12 64 bit. gnome-screensaver is indeed gone from system monitor after running the first command, but that doesent prevent the screen from blanking after 1 minute so i guess its not the gonme-screensaver process that deals with this. looking at a similar applet for gnome-shell it looks like sessionmanager is involved. see the source of that applet here https://github.com/Mystro256/gnome-shell-extension-inhibit-applet/blob/d7dc0aeee2e0e1ad4c0c2470187b521e954eb791/inhibit-applet@alexjnewt.hotmail.com/extension.js - link to the gnome-shell inhibit applet here https://extensions.gnome.org/extension/233/inhibit-applet/

  6. mtwebster says:

    Will take a look, thanks

  7. mtwebster says:

    Try it out now

  8. billynick says:

    dude that works perfectly as far as i can tell. cant test it extensively now as im off to bed but it passed the 1 minute test! gave u 5 stars. if clem & co watching this should be instlaled by default in cinnamon. not neccesarily added to the panel by default but it should be among the default applets you can choose from in the applet selector thing!

  9. gosa says:

    My prayers have been answered! This addition is perfect, and brings Cinnamon 1 step closer to being the perfect DE. Thanks a lot for your work!

  10. bimsebasse says:

    Added to Cinnamon Extras PPA:
    --
    sudo add-apt-repository ppa:bimsebasse/cinnamonextras
    sudo apt-get update && sudo apt-get install cinnamon-applet-screensaverinhibit
    --

  11. webid4me says:

    It would have been nice to have some nice icons. Something like Caffeine: http://is.gd/bTAEJ

  12. javier says:

    It would be nice to include the suspend mode inhibition too. Sometimes we're playing movies connected to a TV and it's quite annoying the notebook entering in suspend mode just in the middle of the best scene.

  13. wilo108 says:

    wait -- this only inhibits the _screensaver_, not the screen powering down or entering susped/hibernate mode?

  14. polarimetric says:

    Works great, thanks! Really needed this. Only thing I've noticed is that it doesn't seem to play nicely with panel edit mode. Moving it on the panel has no effect until Cinnamon is manually restarted. (Cinnamon 1.6.7, Ubuntu 12.10, single panel on top) Minor gripe, though--the core functionality is perfect.

  15. andreas-r says:

    Thanks for the applet! I desperately needed something like this, since the caffeine applet is really buggy in Mint. One question: how can I go about changing the icons? The screen icon doesn't make that much sense on a laptop, and the red icon is a little too "noisy" in my opinion. Thanks again - Andreas!