Set suspend idle delay time on terminal on Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












How can I set idle delay time on Ubuntu 18.04 suspend on terminal?



enter image description here










share|improve this question



























    up vote
    2
    down vote

    favorite












    How can I set idle delay time on Ubuntu 18.04 suspend on terminal?



    enter image description here










    share|improve this question

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      How can I set idle delay time on Ubuntu 18.04 suspend on terminal?



      enter image description here










      share|improve this question















      How can I set idle delay time on Ubuntu 18.04 suspend on terminal?



      enter image description here







      suspend time idle






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 2 at 13:05









      pomsky

      22.9k77198




      22.9k77198










      asked Apr 2 at 10:45









      crl tzn

      233




      233




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          To set AC time out, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <VALUE>


          In place of <VALUE> put time in seconds, e.g.



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600


          Similarly, to set laptop battery timeout, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <VALUE>





          share|improve this answer




















          • i tried running your suggested command but suspend idle time still not changing.
            – crl tzn
            Apr 3 at 7:12











          • @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
            – pomsky
            Apr 3 at 8:41










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021290%2fset-suspend-idle-delay-time-on-terminal-on-ubuntu-18-04%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote













          To set AC time out, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <VALUE>


          In place of <VALUE> put time in seconds, e.g.



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600


          Similarly, to set laptop battery timeout, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <VALUE>





          share|improve this answer




















          • i tried running your suggested command but suspend idle time still not changing.
            – crl tzn
            Apr 3 at 7:12











          • @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
            – pomsky
            Apr 3 at 8:41














          up vote
          2
          down vote













          To set AC time out, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <VALUE>


          In place of <VALUE> put time in seconds, e.g.



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600


          Similarly, to set laptop battery timeout, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <VALUE>





          share|improve this answer




















          • i tried running your suggested command but suspend idle time still not changing.
            – crl tzn
            Apr 3 at 7:12











          • @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
            – pomsky
            Apr 3 at 8:41












          up vote
          2
          down vote










          up vote
          2
          down vote









          To set AC time out, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <VALUE>


          In place of <VALUE> put time in seconds, e.g.



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600


          Similarly, to set laptop battery timeout, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <VALUE>





          share|improve this answer












          To set AC time out, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <VALUE>


          In place of <VALUE> put time in seconds, e.g.



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600


          Similarly, to set laptop battery timeout, run



          gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <VALUE>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 2 at 13:03









          pomsky

          22.9k77198




          22.9k77198











          • i tried running your suggested command but suspend idle time still not changing.
            – crl tzn
            Apr 3 at 7:12











          • @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
            – pomsky
            Apr 3 at 8:41
















          • i tried running your suggested command but suspend idle time still not changing.
            – crl tzn
            Apr 3 at 7:12











          • @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
            – pomsky
            Apr 3 at 8:41















          i tried running your suggested command but suspend idle time still not changing.
          – crl tzn
          Apr 3 at 7:12





          i tried running your suggested command but suspend idle time still not changing.
          – crl tzn
          Apr 3 at 7:12













          @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
          – pomsky
          Apr 3 at 8:41




          @crltzn 18.04 is still beta, expected that some things will not work. To help the developers fix this issue, you may consider reporting a bug at launchpad.net. Also check whether "suspend" is activated by running gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type (for AC) and gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type (for battery).
          – pomsky
          Apr 3 at 8:41

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021290%2fset-suspend-idle-delay-time-on-terminal-on-ubuntu-18-04%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491