How to set custom lock screen time in Ubuntu 18.04












16















The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in SettingsPowerPower SavingBlank screen.



I'd like to increase this to 30 minutes for my machine at home. How can I do that?










share|improve this question





























    16















    The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in SettingsPowerPower SavingBlank screen.



    I'd like to increase this to 30 minutes for my machine at home. How can I do that?










    share|improve this question



























      16












      16








      16


      9






      The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in SettingsPowerPower SavingBlank screen.



      I'd like to increase this to 30 minutes for my machine at home. How can I do that?










      share|improve this question
















      The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in SettingsPowerPower SavingBlank screen.



      I'd like to increase this to 30 minutes for my machine at home. How can I do that?







      18.04 power-management configuration lock-screen gnome-shell






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 13 '18 at 13:56









      pomsky

      31.4k1194127




      31.4k1194127










      asked Jun 1 '18 at 13:58









      DanielDaniel

      1,45621427




      1,45621427






















          4 Answers
          4






          active

          oldest

          votes


















          11














          Open Terminal and run:



          gsettings set org.gnome.desktop.session idle-delay 1800


          to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds). You can use $((30*60)) to use minutes directly.



          Note: After making the change, in SettingsPowerPower SavingBlank screen it will show "Never" as there is no entry for 30 minutes.



          To lock: The number of seconds after blank screen activation before locking the screen (default: 0)



          gsettings set org.gnome.desktop.screensaver lock-delay 0


          Needed: Set this to TRUE (default) to lock the screen when the blank screen goes active



          gsettings set org.gnome.desktop.screensaver lock-enabled true





          share|improve this answer





















          • 2





            there must be a way to define those picklist choices such that updated list will appear on UI afterwards

            – Scott Stensland
            Jul 16 '18 at 16:22





















          10














          This can already be achieved via GUI.



          When using Ubuntu 18.04 open Settings. There select the Privacy settings tab. Now the Screen Lock option will be visible. When clicked, a modal window with the specific settings will open.



          There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or respectively binding it to the screen turning off via Lock screen after blank for, last but not least Show Notifications lets you decide if notifications should be shown on the lock screen.



          So the path for the option you want to change is:
          Settings → Privacy → Screen Lock → Lock screen after blank for

          There you can select 30 minutes as the lock screen time.



          screenshot






          share|improve this answer





















          • 2





            Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

            – pomsky
            Jun 25 '18 at 13:05






          • 4





            Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

            – Nicolai
            Jun 25 '18 at 15:23











          • There is no Privacy tab or choice in my Settings panel in 18.04.

            – 42-
            Dec 22 '18 at 1:53













          • @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

            – Nicolai
            Dec 22 '18 at 9:36






          • 1





            This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

            – Daniel
            Jan 28 at 10:42



















          3














          There are 2 different settings, one for blank screen and second for locking screen after blank.



          1. Set timeout of "Blank Screen"




          • In GUI: SettingsPowerPower SavingBlank screen


          • In Terminal:



            gsettings set org.gnome.desktop.session idle-delay 1800


            to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds).



            Note: After making the change, in Settings GUI editor it will show "Never" as there is no entry for 30 minutes.




          2. Set timeout of "Lock screen after blank"




          • In GUI: SettingsPrivacyScreen LockLock screen after blank for


          • In Terminal:



            gsettings set org.gnome.desktop.screensaver lock-delay 600


            to set the "Lock screen after blank for" delay to 10 minutes or 600 seconds (or set any value in seconds). Set 0 to lock immediately after blank screen.




          To sum up



          Combining these 2 parameters user is able to achieve for example:




          • Blank screen after 10 minutes but lock after another 10 minutes (20 minutes overall to lock).

          • Blank screen after 5 minutes and lock immediately.

          • Blank screen after 30 minutes and lock after another 1 hour

          • Any other combination depending on user's need.






          share|improve this answer

































            0














            I am running Ubuntu 18.04.1 LTS. (4.15.0-33-generic) My solution was to go settings -> power power-saving and setting Blank screen to never.






            share|improve this answer























              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              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%2f1042641%2fhow-to-set-custom-lock-screen-time-in-ubuntu-18-04%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              11














              Open Terminal and run:



              gsettings set org.gnome.desktop.session idle-delay 1800


              to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds). You can use $((30*60)) to use minutes directly.



              Note: After making the change, in SettingsPowerPower SavingBlank screen it will show "Never" as there is no entry for 30 minutes.



              To lock: The number of seconds after blank screen activation before locking the screen (default: 0)



              gsettings set org.gnome.desktop.screensaver lock-delay 0


              Needed: Set this to TRUE (default) to lock the screen when the blank screen goes active



              gsettings set org.gnome.desktop.screensaver lock-enabled true





              share|improve this answer





















              • 2





                there must be a way to define those picklist choices such that updated list will appear on UI afterwards

                – Scott Stensland
                Jul 16 '18 at 16:22


















              11














              Open Terminal and run:



              gsettings set org.gnome.desktop.session idle-delay 1800


              to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds). You can use $((30*60)) to use minutes directly.



              Note: After making the change, in SettingsPowerPower SavingBlank screen it will show "Never" as there is no entry for 30 minutes.



              To lock: The number of seconds after blank screen activation before locking the screen (default: 0)



              gsettings set org.gnome.desktop.screensaver lock-delay 0


              Needed: Set this to TRUE (default) to lock the screen when the blank screen goes active



              gsettings set org.gnome.desktop.screensaver lock-enabled true





              share|improve this answer





















              • 2





                there must be a way to define those picklist choices such that updated list will appear on UI afterwards

                – Scott Stensland
                Jul 16 '18 at 16:22
















              11












              11








              11







              Open Terminal and run:



              gsettings set org.gnome.desktop.session idle-delay 1800


              to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds). You can use $((30*60)) to use minutes directly.



              Note: After making the change, in SettingsPowerPower SavingBlank screen it will show "Never" as there is no entry for 30 minutes.



              To lock: The number of seconds after blank screen activation before locking the screen (default: 0)



              gsettings set org.gnome.desktop.screensaver lock-delay 0


              Needed: Set this to TRUE (default) to lock the screen when the blank screen goes active



              gsettings set org.gnome.desktop.screensaver lock-enabled true





              share|improve this answer















              Open Terminal and run:



              gsettings set org.gnome.desktop.session idle-delay 1800


              to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds). You can use $((30*60)) to use minutes directly.



              Note: After making the change, in SettingsPowerPower SavingBlank screen it will show "Never" as there is no entry for 30 minutes.



              To lock: The number of seconds after blank screen activation before locking the screen (default: 0)



              gsettings set org.gnome.desktop.screensaver lock-delay 0


              Needed: Set this to TRUE (default) to lock the screen when the blank screen goes active



              gsettings set org.gnome.desktop.screensaver lock-enabled true






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jan 16 at 6:56









              Pablo Bianchi

              2,72821533




              2,72821533










              answered Jun 1 '18 at 15:56









              pomskypomsky

              31.4k1194127




              31.4k1194127








              • 2





                there must be a way to define those picklist choices such that updated list will appear on UI afterwards

                – Scott Stensland
                Jul 16 '18 at 16:22
















              • 2





                there must be a way to define those picklist choices such that updated list will appear on UI afterwards

                – Scott Stensland
                Jul 16 '18 at 16:22










              2




              2





              there must be a way to define those picklist choices such that updated list will appear on UI afterwards

              – Scott Stensland
              Jul 16 '18 at 16:22







              there must be a way to define those picklist choices such that updated list will appear on UI afterwards

              – Scott Stensland
              Jul 16 '18 at 16:22















              10














              This can already be achieved via GUI.



              When using Ubuntu 18.04 open Settings. There select the Privacy settings tab. Now the Screen Lock option will be visible. When clicked, a modal window with the specific settings will open.



              There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or respectively binding it to the screen turning off via Lock screen after blank for, last but not least Show Notifications lets you decide if notifications should be shown on the lock screen.



              So the path for the option you want to change is:
              Settings → Privacy → Screen Lock → Lock screen after blank for

              There you can select 30 minutes as the lock screen time.



              screenshot






              share|improve this answer





















              • 2





                Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

                – pomsky
                Jun 25 '18 at 13:05






              • 4





                Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

                – Nicolai
                Jun 25 '18 at 15:23











              • There is no Privacy tab or choice in my Settings panel in 18.04.

                – 42-
                Dec 22 '18 at 1:53













              • @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

                – Nicolai
                Dec 22 '18 at 9:36






              • 1





                This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

                – Daniel
                Jan 28 at 10:42
















              10














              This can already be achieved via GUI.



              When using Ubuntu 18.04 open Settings. There select the Privacy settings tab. Now the Screen Lock option will be visible. When clicked, a modal window with the specific settings will open.



              There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or respectively binding it to the screen turning off via Lock screen after blank for, last but not least Show Notifications lets you decide if notifications should be shown on the lock screen.



              So the path for the option you want to change is:
              Settings → Privacy → Screen Lock → Lock screen after blank for

              There you can select 30 minutes as the lock screen time.



              screenshot






              share|improve this answer





















              • 2





                Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

                – pomsky
                Jun 25 '18 at 13:05






              • 4





                Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

                – Nicolai
                Jun 25 '18 at 15:23











              • There is no Privacy tab or choice in my Settings panel in 18.04.

                – 42-
                Dec 22 '18 at 1:53













              • @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

                – Nicolai
                Dec 22 '18 at 9:36






              • 1





                This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

                – Daniel
                Jan 28 at 10:42














              10












              10








              10







              This can already be achieved via GUI.



              When using Ubuntu 18.04 open Settings. There select the Privacy settings tab. Now the Screen Lock option will be visible. When clicked, a modal window with the specific settings will open.



              There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or respectively binding it to the screen turning off via Lock screen after blank for, last but not least Show Notifications lets you decide if notifications should be shown on the lock screen.



              So the path for the option you want to change is:
              Settings → Privacy → Screen Lock → Lock screen after blank for

              There you can select 30 minutes as the lock screen time.



              screenshot






              share|improve this answer















              This can already be achieved via GUI.



              When using Ubuntu 18.04 open Settings. There select the Privacy settings tab. Now the Screen Lock option will be visible. When clicked, a modal window with the specific settings will open.



              There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or respectively binding it to the screen turning off via Lock screen after blank for, last but not least Show Notifications lets you decide if notifications should be shown on the lock screen.



              So the path for the option you want to change is:
              Settings → Privacy → Screen Lock → Lock screen after blank for

              There you can select 30 minutes as the lock screen time.



              screenshot







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jan 16 at 7:01









              Pablo Bianchi

              2,72821533




              2,72821533










              answered Jun 16 '18 at 10:09









              NicolaiNicolai

              20516




              20516








              • 2





                Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

                – pomsky
                Jun 25 '18 at 13:05






              • 4





                Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

                – Nicolai
                Jun 25 '18 at 15:23











              • There is no Privacy tab or choice in my Settings panel in 18.04.

                – 42-
                Dec 22 '18 at 1:53













              • @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

                – Nicolai
                Dec 22 '18 at 9:36






              • 1





                This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

                – Daniel
                Jan 28 at 10:42














              • 2





                Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

                – pomsky
                Jun 25 '18 at 13:05






              • 4





                Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

                – Nicolai
                Jun 25 '18 at 15:23











              • There is no Privacy tab or choice in my Settings panel in 18.04.

                – 42-
                Dec 22 '18 at 1:53













              • @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

                – Nicolai
                Dec 22 '18 at 9:36






              • 1





                This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

                – Daniel
                Jan 28 at 10:42








              2




              2





              Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

              – pomsky
              Jun 25 '18 at 13:05





              Hmm... not sure whether it's the same thing. OP is asking for an option to change Blank screen delay, i.e. duration of inactivity that will turn screen off, whereas the settings you have mentioned is for "Lock screen after blank for" which I reckon means after the screen is off, how long the system will wait before locking the screen so that you'll have to provide your password on waking up.

              – pomsky
              Jun 25 '18 at 13:05




              4




              4





              Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

              – Nicolai
              Jun 25 '18 at 15:23





              Well he said maximum lock time, which can be set to more then 15 minutes via GUI. That's all I pointed out, if not for the OP, it might be helpful to somebody. @pomsky

              – Nicolai
              Jun 25 '18 at 15:23













              There is no Privacy tab or choice in my Settings panel in 18.04.

              – 42-
              Dec 22 '18 at 1:53







              There is no Privacy tab or choice in my Settings panel in 18.04.

              – 42-
              Dec 22 '18 at 1:53















              @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

              – Nicolai
              Dec 22 '18 at 9:36





              @42- It is there for me, so I don't know what to say. Might be called privacy settings or so, I'm not running it in English. Take a look at the documentation.

              – Nicolai
              Dec 22 '18 at 9:36




              1




              1





              This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

              – Daniel
              Jan 28 at 10:42





              This answer is useful but what I was looking for is to immediately lock screen after blank – lock-delay 0 – and keep screen on for 30 minutes, or some other time, before the blank screen – idle-delay 1800; basically @pomsky 's answer. (This allows me to read from the screen during those 30 minutes.)

              – Daniel
              Jan 28 at 10:42











              3














              There are 2 different settings, one for blank screen and second for locking screen after blank.



              1. Set timeout of "Blank Screen"




              • In GUI: SettingsPowerPower SavingBlank screen


              • In Terminal:



                gsettings set org.gnome.desktop.session idle-delay 1800


                to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds).



                Note: After making the change, in Settings GUI editor it will show "Never" as there is no entry for 30 minutes.




              2. Set timeout of "Lock screen after blank"




              • In GUI: SettingsPrivacyScreen LockLock screen after blank for


              • In Terminal:



                gsettings set org.gnome.desktop.screensaver lock-delay 600


                to set the "Lock screen after blank for" delay to 10 minutes or 600 seconds (or set any value in seconds). Set 0 to lock immediately after blank screen.




              To sum up



              Combining these 2 parameters user is able to achieve for example:




              • Blank screen after 10 minutes but lock after another 10 minutes (20 minutes overall to lock).

              • Blank screen after 5 minutes and lock immediately.

              • Blank screen after 30 minutes and lock after another 1 hour

              • Any other combination depending on user's need.






              share|improve this answer






























                3














                There are 2 different settings, one for blank screen and second for locking screen after blank.



                1. Set timeout of "Blank Screen"




                • In GUI: SettingsPowerPower SavingBlank screen


                • In Terminal:



                  gsettings set org.gnome.desktop.session idle-delay 1800


                  to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds).



                  Note: After making the change, in Settings GUI editor it will show "Never" as there is no entry for 30 minutes.




                2. Set timeout of "Lock screen after blank"




                • In GUI: SettingsPrivacyScreen LockLock screen after blank for


                • In Terminal:



                  gsettings set org.gnome.desktop.screensaver lock-delay 600


                  to set the "Lock screen after blank for" delay to 10 minutes or 600 seconds (or set any value in seconds). Set 0 to lock immediately after blank screen.




                To sum up



                Combining these 2 parameters user is able to achieve for example:




                • Blank screen after 10 minutes but lock after another 10 minutes (20 minutes overall to lock).

                • Blank screen after 5 minutes and lock immediately.

                • Blank screen after 30 minutes and lock after another 1 hour

                • Any other combination depending on user's need.






                share|improve this answer




























                  3












                  3








                  3







                  There are 2 different settings, one for blank screen and second for locking screen after blank.



                  1. Set timeout of "Blank Screen"




                  • In GUI: SettingsPowerPower SavingBlank screen


                  • In Terminal:



                    gsettings set org.gnome.desktop.session idle-delay 1800


                    to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds).



                    Note: After making the change, in Settings GUI editor it will show "Never" as there is no entry for 30 minutes.




                  2. Set timeout of "Lock screen after blank"




                  • In GUI: SettingsPrivacyScreen LockLock screen after blank for


                  • In Terminal:



                    gsettings set org.gnome.desktop.screensaver lock-delay 600


                    to set the "Lock screen after blank for" delay to 10 minutes or 600 seconds (or set any value in seconds). Set 0 to lock immediately after blank screen.




                  To sum up



                  Combining these 2 parameters user is able to achieve for example:




                  • Blank screen after 10 minutes but lock after another 10 minutes (20 minutes overall to lock).

                  • Blank screen after 5 minutes and lock immediately.

                  • Blank screen after 30 minutes and lock after another 1 hour

                  • Any other combination depending on user's need.






                  share|improve this answer















                  There are 2 different settings, one for blank screen and second for locking screen after blank.



                  1. Set timeout of "Blank Screen"




                  • In GUI: SettingsPowerPower SavingBlank screen


                  • In Terminal:



                    gsettings set org.gnome.desktop.session idle-delay 1800


                    to set the "Blank screen" delay to 30 minutes or 1800 seconds (or set any value in seconds).



                    Note: After making the change, in Settings GUI editor it will show "Never" as there is no entry for 30 minutes.




                  2. Set timeout of "Lock screen after blank"




                  • In GUI: SettingsPrivacyScreen LockLock screen after blank for


                  • In Terminal:



                    gsettings set org.gnome.desktop.screensaver lock-delay 600


                    to set the "Lock screen after blank for" delay to 10 minutes or 600 seconds (or set any value in seconds). Set 0 to lock immediately after blank screen.




                  To sum up



                  Combining these 2 parameters user is able to achieve for example:




                  • Blank screen after 10 minutes but lock after another 10 minutes (20 minutes overall to lock).

                  • Blank screen after 5 minutes and lock immediately.

                  • Blank screen after 30 minutes and lock after another 1 hour

                  • Any other combination depending on user's need.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 16 at 6:15









                  Pablo Bianchi

                  2,72821533




                  2,72821533










                  answered Oct 23 '18 at 18:05









                  wiktor.2200wiktor.2200

                  334




                  334























                      0














                      I am running Ubuntu 18.04.1 LTS. (4.15.0-33-generic) My solution was to go settings -> power power-saving and setting Blank screen to never.






                      share|improve this answer




























                        0














                        I am running Ubuntu 18.04.1 LTS. (4.15.0-33-generic) My solution was to go settings -> power power-saving and setting Blank screen to never.






                        share|improve this answer


























                          0












                          0








                          0







                          I am running Ubuntu 18.04.1 LTS. (4.15.0-33-generic) My solution was to go settings -> power power-saving and setting Blank screen to never.






                          share|improve this answer













                          I am running Ubuntu 18.04.1 LTS. (4.15.0-33-generic) My solution was to go settings -> power power-saving and setting Blank screen to never.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Sep 5 '18 at 18:55









                          user286231user286231

                          1111




                          1111






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042641%2fhow-to-set-custom-lock-screen-time-in-ubuntu-18-04%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to send String Array data to Server using php in android

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                              Is anime1.com a legal site for watching anime?