Lock screen without blank in 18.04












7















I'm running Ubuntu 18.04 on a laptop. When I lock the computer, I want the screen to remain on indefinitely. I do want the computer to lock automatically when it is idle (but still, the screen should remain on).



First I tried in Settings -> Power to set Blank Screen to never, but that did not work. I have tried the suggestions from others who asked the same question here, but they are for different versions of Ubuntu and none of them worked for me.



Does anyone know how to fix this problem in 18.04?










share|improve this question



























    7















    I'm running Ubuntu 18.04 on a laptop. When I lock the computer, I want the screen to remain on indefinitely. I do want the computer to lock automatically when it is idle (but still, the screen should remain on).



    First I tried in Settings -> Power to set Blank Screen to never, but that did not work. I have tried the suggestions from others who asked the same question here, but they are for different versions of Ubuntu and none of them worked for me.



    Does anyone know how to fix this problem in 18.04?










    share|improve this question

























      7












      7








      7


      4






      I'm running Ubuntu 18.04 on a laptop. When I lock the computer, I want the screen to remain on indefinitely. I do want the computer to lock automatically when it is idle (but still, the screen should remain on).



      First I tried in Settings -> Power to set Blank Screen to never, but that did not work. I have tried the suggestions from others who asked the same question here, but they are for different versions of Ubuntu and none of them worked for me.



      Does anyone know how to fix this problem in 18.04?










      share|improve this question














      I'm running Ubuntu 18.04 on a laptop. When I lock the computer, I want the screen to remain on indefinitely. I do want the computer to lock automatically when it is idle (but still, the screen should remain on).



      First I tried in Settings -> Power to set Blank Screen to never, but that did not work. I have tried the suggestions from others who asked the same question here, but they are for different versions of Ubuntu and none of them worked for me.



      Does anyone know how to fix this problem in 18.04?







      18.04 lock-screen






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 18 '18 at 12:20









      MTV DNAMTV DNA

      4515




      4515






















          3 Answers
          3






          active

          oldest

          votes


















          7














          I was looking for a way around this, and I think I've finally got it!



          Gnome Extension



          I looked through the bug that was referenced here to find the link to that extension.






          share|improve this answer





















          • 1





            This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

            – MTV DNA
            Jul 20 '18 at 9:21













          • In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

            – fquinner
            Sep 10 '18 at 13:25



















          8














          When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
          It blanks after the time interval you set at Settings > Power > Blank Screen.



          Edit:
          I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.






          share|improve this answer


























          • long hold Super + L worked on desktop as well.

            – 4myle
            Jan 17 at 15:27





















          0














          Check the current setting using:



          gsettings get org.gnome.desktop.screensaver idle-activation-enabled


          If the result is true turn it off using:



          gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


          Second option to try is:



          gsettings set org.gnome.settings-daemon.plugins.power idle-dim false


          Gnome bug



          There is a four year old Gnome bug addressing the issue of screen blanking immediately after lock here.






          share|improve this answer


























          • Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

            – MTV DNA
            May 18 '18 at 13:45











          • Which desktop are you using in 18.04? Gnome, Unity, etc.

            – WinEunuuchs2Unix
            May 18 '18 at 13:48











          • I am using the default desktop (Gnome 3.28.1).

            – MTV DNA
            May 18 '18 at 14:10













          • I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

            – WinEunuuchs2Unix
            May 18 '18 at 14:12











          • I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

            – MTV DNA
            May 23 '18 at 11:50











          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%2f1037740%2flock-screen-without-blank-in-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          3 Answers
          3






          active

          oldest

          votes








          3 Answers
          3






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          7














          I was looking for a way around this, and I think I've finally got it!



          Gnome Extension



          I looked through the bug that was referenced here to find the link to that extension.






          share|improve this answer





















          • 1





            This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

            – MTV DNA
            Jul 20 '18 at 9:21













          • In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

            – fquinner
            Sep 10 '18 at 13:25
















          7














          I was looking for a way around this, and I think I've finally got it!



          Gnome Extension



          I looked through the bug that was referenced here to find the link to that extension.






          share|improve this answer





















          • 1





            This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

            – MTV DNA
            Jul 20 '18 at 9:21













          • In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

            – fquinner
            Sep 10 '18 at 13:25














          7












          7








          7







          I was looking for a way around this, and I think I've finally got it!



          Gnome Extension



          I looked through the bug that was referenced here to find the link to that extension.






          share|improve this answer















          I was looking for a way around this, and I think I've finally got it!



          Gnome Extension



          I looked through the bug that was referenced here to find the link to that extension.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 19 '18 at 7:46









          Stephen Rauch

          1,1546716




          1,1546716










          answered Jul 19 '18 at 2:15









          JamesJames

          8614




          8614








          • 1





            This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

            – MTV DNA
            Jul 20 '18 at 9:21













          • In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

            – fquinner
            Sep 10 '18 at 13:25














          • 1





            This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

            – MTV DNA
            Jul 20 '18 at 9:21













          • In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

            – fquinner
            Sep 10 '18 at 13:25








          1




          1





          This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

          – MTV DNA
          Jul 20 '18 at 9:21







          This works perfectly for me. I find it easier than the other solution, because sometimes if you hold the key too long you will go to the login screen, and you need to log in and lock the screen again. This is much easier, so I accepted it as the answer. Thanks!

          – MTV DNA
          Jul 20 '18 at 9:21















          In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

          – fquinner
          Sep 10 '18 at 13:25





          In my machine for some reason this only happened when locking with Super+L - it didn't happen when I locked the screen via the session menu.

          – fquinner
          Sep 10 '18 at 13:25













          8














          When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
          It blanks after the time interval you set at Settings > Power > Blank Screen.



          Edit:
          I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.






          share|improve this answer


























          • long hold Super + L worked on desktop as well.

            – 4myle
            Jan 17 at 15:27


















          8














          When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
          It blanks after the time interval you set at Settings > Power > Blank Screen.



          Edit:
          I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.






          share|improve this answer


























          • long hold Super + L worked on desktop as well.

            – 4myle
            Jan 17 at 15:27
















          8












          8








          8







          When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
          It blanks after the time interval you set at Settings > Power > Blank Screen.



          Edit:
          I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.






          share|improve this answer















          When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
          It blanks after the time interval you set at Settings > Power > Blank Screen.



          Edit:
          I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 22 '18 at 7:33

























          answered May 21 '18 at 12:58









          fgkfgk

          815




          815













          • long hold Super + L worked on desktop as well.

            – 4myle
            Jan 17 at 15:27





















          • long hold Super + L worked on desktop as well.

            – 4myle
            Jan 17 at 15:27



















          long hold Super + L worked on desktop as well.

          – 4myle
          Jan 17 at 15:27







          long hold Super + L worked on desktop as well.

          – 4myle
          Jan 17 at 15:27













          0














          Check the current setting using:



          gsettings get org.gnome.desktop.screensaver idle-activation-enabled


          If the result is true turn it off using:



          gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


          Second option to try is:



          gsettings set org.gnome.settings-daemon.plugins.power idle-dim false


          Gnome bug



          There is a four year old Gnome bug addressing the issue of screen blanking immediately after lock here.






          share|improve this answer


























          • Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

            – MTV DNA
            May 18 '18 at 13:45











          • Which desktop are you using in 18.04? Gnome, Unity, etc.

            – WinEunuuchs2Unix
            May 18 '18 at 13:48











          • I am using the default desktop (Gnome 3.28.1).

            – MTV DNA
            May 18 '18 at 14:10













          • I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

            – WinEunuuchs2Unix
            May 18 '18 at 14:12











          • I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

            – MTV DNA
            May 23 '18 at 11:50
















          0














          Check the current setting using:



          gsettings get org.gnome.desktop.screensaver idle-activation-enabled


          If the result is true turn it off using:



          gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


          Second option to try is:



          gsettings set org.gnome.settings-daemon.plugins.power idle-dim false


          Gnome bug



          There is a four year old Gnome bug addressing the issue of screen blanking immediately after lock here.






          share|improve this answer


























          • Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

            – MTV DNA
            May 18 '18 at 13:45











          • Which desktop are you using in 18.04? Gnome, Unity, etc.

            – WinEunuuchs2Unix
            May 18 '18 at 13:48











          • I am using the default desktop (Gnome 3.28.1).

            – MTV DNA
            May 18 '18 at 14:10













          • I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

            – WinEunuuchs2Unix
            May 18 '18 at 14:12











          • I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

            – MTV DNA
            May 23 '18 at 11:50














          0












          0








          0







          Check the current setting using:



          gsettings get org.gnome.desktop.screensaver idle-activation-enabled


          If the result is true turn it off using:



          gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


          Second option to try is:



          gsettings set org.gnome.settings-daemon.plugins.power idle-dim false


          Gnome bug



          There is a four year old Gnome bug addressing the issue of screen blanking immediately after lock here.






          share|improve this answer















          Check the current setting using:



          gsettings get org.gnome.desktop.screensaver idle-activation-enabled


          If the result is true turn it off using:



          gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


          Second option to try is:



          gsettings set org.gnome.settings-daemon.plugins.power idle-dim false


          Gnome bug



          There is a four year old Gnome bug addressing the issue of screen blanking immediately after lock here.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 19 '18 at 18:41

























          answered May 18 '18 at 12:54









          WinEunuuchs2UnixWinEunuuchs2Unix

          45.8k1089179




          45.8k1089179













          • Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

            – MTV DNA
            May 18 '18 at 13:45











          • Which desktop are you using in 18.04? Gnome, Unity, etc.

            – WinEunuuchs2Unix
            May 18 '18 at 13:48











          • I am using the default desktop (Gnome 3.28.1).

            – MTV DNA
            May 18 '18 at 14:10













          • I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

            – WinEunuuchs2Unix
            May 18 '18 at 14:12











          • I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

            – MTV DNA
            May 23 '18 at 11:50



















          • Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

            – MTV DNA
            May 18 '18 at 13:45











          • Which desktop are you using in 18.04? Gnome, Unity, etc.

            – WinEunuuchs2Unix
            May 18 '18 at 13:48











          • I am using the default desktop (Gnome 3.28.1).

            – MTV DNA
            May 18 '18 at 14:10













          • I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

            – WinEunuuchs2Unix
            May 18 '18 at 14:12











          • I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

            – MTV DNA
            May 23 '18 at 11:50

















          Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

          – MTV DNA
          May 18 '18 at 13:45





          Thanks for your answer. I tried it, but unfortunately this does not work. Immediately after I lock my pc the screen goes blank.

          – MTV DNA
          May 18 '18 at 13:45













          Which desktop are you using in 18.04? Gnome, Unity, etc.

          – WinEunuuchs2Unix
          May 18 '18 at 13:48





          Which desktop are you using in 18.04? Gnome, Unity, etc.

          – WinEunuuchs2Unix
          May 18 '18 at 13:48













          I am using the default desktop (Gnome 3.28.1).

          – MTV DNA
          May 18 '18 at 14:10







          I am using the default desktop (Gnome 3.28.1).

          – MTV DNA
          May 18 '18 at 14:10















          I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

          – WinEunuuchs2Unix
          May 18 '18 at 14:12





          I'm using Unity. I'll try to remember to test 18.04 gnome this weekend.

          – WinEunuuchs2Unix
          May 18 '18 at 14:12













          I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

          – MTV DNA
          May 23 '18 at 11:50





          I looked at the bug you posted, but I have nu idea what to do with the patches posted there. Anyways, the solution posted above works for me. Thanks for your help regardless!

          – MTV DNA
          May 23 '18 at 11:50


















          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%2f1037740%2flock-screen-without-blank-in-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

          Questions related to Moebius Transform of Characteristic Function of the Primes

          List of scandals in India

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?