Announcement

Collapse
No announcement yet.

Energy Saving | suspend after xscreensaver

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Energy Saving | suspend after xscreensaver

    I stopped using KDE's screensaver for XScreenSaver, because it's more universal and people just simply seem to prefer it as more code I find is catered towards xscreensaver (lightsOn).

    So I want to know a way to suspend session after x amount of xscreensaver runtime. I find that KDE's 'Suspend Session' won't work if xscreensaver is up.

    xscreensaver - blank screen ~10 min - suspend after ~12 min.

    #2
    xset ?

    The xset - man xset:

    Code:
    NAME
           xset - user preference utility for X
    
    SYNOPSIS
           xset [-display display]
    ...
           [+dpms] [-dpms]
                [dpms standby [ suspend [ off]]]      [dpms force {standby|suspend|off|on}]
    ...
    
           -dpms   The -dpms option disables DPMS (Energy Star) features.
    
           +dpms   The +dpms option enables DPMS (Energy Star) features.
    
           dpms flags...
                   The  dpms  option  allows  the DPMS (Energy Star) parameters to be set.  The option can take up to three
                   numerical values, or the `force' flag followed by a DPMS state.  The `force' flags forces the server  to
                   immediately  switch  to  the  DPMS  state specified.  The DPMS state can be one of `standby', `suspend',
                   `off', or `on'.  When numerical values are given, they set the inactivity period (in units  of  seconds)
                   before  the  three  modes are activated.  The first value given is for the `standby' mode, the second is
                   for the `suspend' mode, and the third is for the `off' mode.  Setting these  values  implicitly  enables
                   the DPMS features.  A value of zero disables a particular mode.

    More from the Archlinux - Display Power Management Signaling: https://wiki.archlinux.org/index.php...ment_Signaling
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      ~somewhat SOLVED (if xscreensaver is active e.g. blank screen; then, KDE can only sleep if xscreensaver powermanagement is disabled)

      @Rog132

      I understand your suggestion, edit some file under the 'ServerLayout' section:
      Code:
      Option "StandbyTime" "10"
      Option "SuspendTime" "20"
      Option "OffTime" "30"
      Yes i'm aware that this is the equivelent to KDE's "Energy Saving - KDE Control Module" setting. So this isn't really any help if the settings are parallel to both sides of configuring those settings (let me break it down):

      Here's what I found out.... since i'm using xscreensaver and I enable Power Management (advanced tab) it interferes with KDE's suspend session. The funny thing is that this only handles the monitor. So by disabling it I have my xscreensaver set to blankscreen@10min and KDE's suspendsession@20min, will only then my PC be able to actually respond to the suspend session.


      Overview:

      1. xscreensaver > (advanced) > check 'Power Management Enabled'
        1. settings for standby,suspend,off monitor

      2. KDE Energy Saving > check 'Suspend Session' (I chose sleep)
        1. will not work if xscreensaver's Power Management is enabled



      In a Nutshell:

      My Kubuntu 14.04 will not go to sleep if xscreensaver's Power Management is enabled.
      My settings are:

      xscreensaver-blankscreen@10min
      kde-suspendsession_sleep@20min

      Comment

      Working...
      X